• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Member Functions | Static Public Member Functions | List of all members
cgmath Class Reference

#include <gmath.h>

Public Member Functions

 cgmath ()
 
virtual ~cgmath ()
 
bool calc_and_set_reticle (double start_x, double start_y, double end_x, double end_y)
 
bool calc_and_set_reticle2 (double start_ra_x, double start_ra_y, double end_ra_x, double end_ra_y, double start_dec_x, double start_dec_y, double end_dec_x, double end_dec_y)
 
double calc_phi (double start_x, double start_y, double end_x, double end_y) const
 
void do_processing (void)
 
float * get_data_buffer (int *width, int *height, int *length, int *size)
 
void get_guider_params (double *ccd_pix_wd, double *ccd_pix_ht, double *guider_aperture, double *guider_focal)
 
FITSView * get_image ()
 
cproc_in_params * get_in_params (void)
 
info_params_t get_info_params (void) const
 
const cproc_out_params * get_out_params (void) const
 
bool get_reticle_params (double *x, double *y, double *ang) const
 
int get_square_algorithm_index (void) const
 
int get_square_index (void) const
 
void get_star_drift (double *dx, double *dy) const
 
void get_star_screen_pos (double *dx, double *dy) const
 
uint32_t get_ticks (void) const
 
bool is_lost_star (void) const
 
bool is_suspended (void) const
 
void move_square (double newx, double newy)
 
ovr_params_t * prepare_overlays (void)
 
bool reset (void)
 
void resize_square (int size_idx)
 
void set_buffer (float *buffer)
 
bool set_guider_params (double ccd_pix_wd, double ccd_pix_ht, double guider_aperture, double guider_focal)
 
void set_image (FITSView *image)
 
void set_in_params (const cproc_in_params *v)
 
void set_lost_star (bool is_lost)
 
bool set_reticle_params (double x, double y, double ang)
 
void set_square_algorithm (int alg_idx)
 
bool set_video_params (int vid_wd, int vid_ht)
 
void start (void)
 
void stop (void)
 
void suspend (bool mode)
 

Static Public Member Functions

static double precalc_proportional_gain (double g_rate)
 

Detailed Description

Definition at line 116 of file gmath.h.

Constructor & Destructor Documentation

cgmath::cgmath ( )

Definition at line 45 of file gmath.cpp.

cgmath::~cgmath ( )
virtual

Definition at line 98 of file gmath.cpp.

Member Function Documentation

bool cgmath::calc_and_set_reticle ( double  start_x,
double  start_y,
double  end_x,
double  end_y 
)

Definition at line 426 of file gmath.cpp.

bool cgmath::calc_and_set_reticle2 ( double  start_ra_x,
double  start_ra_y,
double  end_ra_x,
double  end_ra_y,
double  start_dec_x,
double  start_dec_y,
double  end_dec_x,
double  end_dec_y 
)

Definition at line 442 of file gmath.cpp.

double cgmath::calc_phi ( double  start_x,
double  start_y,
double  end_x,
double  end_y 
) const

Definition at line 497 of file gmath.cpp.

void cgmath::do_processing ( void  )

Definition at line 889 of file gmath.cpp.

float * cgmath::get_data_buffer ( int *  width,
int *  height,
int *  length,
int *  size 
)

Definition at line 135 of file gmath.cpp.

void cgmath::get_guider_params ( double *  ccd_pix_wd,
double *  ccd_pix_ht,
double *  guider_aperture,
double *  guider_focal 
)

Definition at line 167 of file gmath.cpp.

FITSView* cgmath::get_image ( )
inline

Definition at line 142 of file gmath.h.

cproc_in_params * cgmath::get_in_params ( void  )

Definition at line 248 of file gmath.cpp.

info_params_t cgmath::get_info_params ( void  ) const

Definition at line 283 of file gmath.cpp.

const cproc_out_params * cgmath::get_out_params ( void  ) const

Definition at line 277 of file gmath.cpp.

bool cgmath::get_reticle_params ( double *  x,
double *  y,
double *  ang 
) const

Definition at line 224 of file gmath.cpp.

int cgmath::get_square_algorithm_index ( void  ) const

Definition at line 241 of file gmath.cpp.

int cgmath::get_square_index ( void  ) const

Definition at line 235 of file gmath.cpp.

void cgmath::get_star_drift ( double *  dx,
double *  dy 
) const

Definition at line 307 of file gmath.cpp.

void cgmath::get_star_screen_pos ( double *  dx,
double *  dy 
) const

Definition at line 314 of file gmath.cpp.

uint32_t cgmath::get_ticks ( void  ) const

Definition at line 301 of file gmath.cpp.

bool cgmath::is_lost_star ( void  ) const

Definition at line 580 of file gmath.cpp.

bool cgmath::is_suspended ( void  ) const

Definition at line 575 of file gmath.cpp.

void cgmath::move_square ( double  newx,
double  newy 
)

Definition at line 339 of file gmath.cpp.

double cgmath::precalc_proportional_gain ( double  g_rate)
static

Definition at line 417 of file gmath.cpp.

ovr_params_t * cgmath::prepare_overlays ( void  )

Definition at line 390 of file gmath.cpp.

bool cgmath::reset ( void  )

Definition at line 321 of file gmath.cpp.

void cgmath::resize_square ( int  size_idx)

Definition at line 362 of file gmath.cpp.

void cgmath::set_buffer ( float *  buffer)

Definition at line 120 of file gmath.cpp.

bool cgmath::set_guider_params ( double  ccd_pix_wd,
double  ccd_pix_ht,
double  guider_aperture,
double  guider_focal 
)

Definition at line 150 of file gmath.cpp.

void cgmath::set_image ( FITSView *  image)

Definition at line 125 of file gmath.cpp.

void cgmath::set_in_params ( const cproc_in_params *  v)

Definition at line 254 of file gmath.cpp.

void cgmath::set_lost_star ( bool  is_lost)

Definition at line 585 of file gmath.cpp.

bool cgmath::set_reticle_params ( double  x,
double  y,
double  ang 
)

Definition at line 176 of file gmath.cpp.

void cgmath::set_square_algorithm ( int  alg_idx)

Definition at line 379 of file gmath.cpp.

bool cgmath::set_video_params ( int  vid_wd,
int  vid_ht 
)

Definition at line 107 of file gmath.cpp.

void cgmath::start ( void  )

Definition at line 544 of file gmath.cpp.

void cgmath::stop ( void  )

Definition at line 563 of file gmath.cpp.

void cgmath::suspend ( bool  mode)

Definition at line 569 of file gmath.cpp.


The documentation for this class was generated from the following files:
  • gmath.h
  • gmath.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal