scan_object_data Class Reference

#include <scan_object_data.h>

List of all members.

Public Member Functions

 scan_object_data (int _id, const gchar *_name, const gchar *_text, int _np, scan_object_ixy_func f_ixy)
 ~scan_object_data ()
void dump ()
void update (const gchar *_name, const gchar *_text, scan_object_ixy_func f_ixy)
void get_xy (int i, double &x, double &y)
void get_xy_pixel (int i, double &x, double &y)
gchar * get_name ()
gchar * get_text ()
int get_num_points ()
int get_id ()
 scan_object_data (int _id, const gchar *_name, const gchar *_text, int _np, scan_object_ixy_func f_ixy)
 ~scan_object_data ()
void dump ()
void update (const gchar *_name, const gchar *_text, scan_object_ixy_func f_ixy)
void get_xy (int i, double &x, double &y)
void get_xy_pixel (int i, double &x, double &y)
gchar * get_name ()
gchar * get_text ()
int get_num_points ()
int get_id ()

Private Attributes

int id
gchar * name
gchar * text
int np
double * xy
double * ixy
gchar * name
gchar * text
double * xy
double * ixy


Detailed Description

scan_object_data:

: object id. : object name. : object text. : number of points used by this object - can not be changed later. : Pointer to function scan_object_ixy_func, which provides access to the object coodrinates.

Constructor of class scan_object_data.

Definition at line 52 of file scan_object_data.h.


Constructor & Destructor Documentation

scan_object_data::scan_object_data int  _id,
const gchar *  _name,
const gchar *  _text,
int  _np,
scan_object_ixy_func  f_ixy
[inline]
 

Definition at line 54 of file scan_object_data.h.

References ixy, np, and xy.

scan_object_data::~scan_object_data  )  [inline]
 

Definition at line 70 of file scan_object_data.h.

scan_object_data::scan_object_data int  _id,
const gchar *  _name,
const gchar *  _text,
int  _np,
scan_object_ixy_func  f_ixy
[inline]
 

Definition at line 54 of file scan_object_data.h.

References ixy, np, and xy.

scan_object_data::~scan_object_data  )  [inline]
 

Definition at line 70 of file scan_object_data.h.


Member Function Documentation

void scan_object_data::dump  )  [inline]
 

dump:

Dumps object information to stdout.

Definition at line 83 of file scan_object_data.h.

References DBG_L2, and XSM_DEBUG.

void scan_object_data::dump  )  [inline]
 

dump:

Dumps object information to stdout.

Definition at line 83 of file scan_object_data.h.

References DBG_L2, and XSM_DEBUG.

Referenced by spectrocut_run().

int scan_object_data::get_id  )  [inline]
 

get_id:

Get the objects id.

Returns: object id.

Definition at line 169 of file scan_object_data.h.

int scan_object_data::get_id  )  [inline]
 

get_id:

Get the objects id.

Returns: object id.

Definition at line 169 of file scan_object_data.h.

Referenced by Scan::add_object().

gchar* scan_object_data::get_name  )  [inline]
 

get_name:

Get the objects name.

Returns: pointer to name, do not modifiy!

Definition at line 142 of file scan_object_data.h.

gchar* scan_object_data::get_name  )  [inline]
 

get_name:

Get the objects name.

Returns: pointer to name, do not modifiy!

Definition at line 142 of file scan_object_data.h.

Referenced by autocorrelation_run(), pass_cc_run(), PIPrintPS(), plane3pkt_run(), Scan::SetVM(), stop_ccr_run(), View::update_mxyz_from_points(), and Z_limiter_run().

int scan_object_data::get_num_points  )  [inline]
 

get_num_points:

Get the number of points, used by this object.

Returns: number of points.

Definition at line 160 of file scan_object_data.h.

int scan_object_data::get_num_points  )  [inline]
 

get_num_points:

Get the number of points, used by this object.

Returns: number of points.

Definition at line 160 of file scan_object_data.h.

Referenced by autocorrelation_run(), pass_cc_run(), plane3pkt_run(), Scan::SetVM(), stop_ccr_run(), View::update_mxyz_from_points(), and Z_limiter_run().

gchar* scan_object_data::get_text  )  [inline]
 

get_text:

Get the objects text.

Returns: pointer to text, do not modifiy!

Definition at line 151 of file scan_object_data.h.

gchar* scan_object_data::get_text  )  [inline]
 

get_text:

Get the objects text.

Returns: pointer to text, do not modifiy!

Definition at line 151 of file scan_object_data.h.

void scan_object_data::get_xy int  i,
double &  x,
double &  y
[inline]
 

get_xy: : index of coordinates to get (in Ang). : variable x to get. : variable y to get.

Gets the coordinates of the -th point.

Definition at line 127 of file scan_object_data.h.

void scan_object_data::get_xy int  i,
double &  x,
double &  y
[inline]
 

get_xy: : index of coordinates to get (in Ang). : variable x to get. : variable y to get.

Gets the coordinates of the -th point.

Definition at line 127 of file scan_object_data.h.

Referenced by pass_cc_run(), PIPrintPS(), and stop_ccr_run().

void scan_object_data::get_xy_pixel int  i,
double &  x,
double &  y
[inline]
 

Definition at line 131 of file scan_object_data.h.

void scan_object_data::get_xy_pixel int  i,
double &  x,
double &  y
[inline]
 

Definition at line 131 of file scan_object_data.h.

Referenced by autocorrelation_run(), plane3pkt_run(), Scan::SetVM(), View::update_mxyz_from_points(), and Z_limiter_run().

void scan_object_data::update const gchar *  _name,
const gchar *  _text,
scan_object_ixy_func  f_ixy
[inline]
 

update: : new object name. : new object text. : coordinate update function.

Updates the object data set.

Definition at line 106 of file scan_object_data.h.

void scan_object_data::update const gchar *  _name,
const gchar *  _text,
scan_object_ixy_func  f_ixy
[inline]
 

update: : new object name. : new object text. : coordinate update function.

Updates the object data set.

Definition at line 106 of file scan_object_data.h.


Member Data Documentation

int scan_object_data::id [private]
 

Definition at line 169 of file scan_object_data.h.

double* scan_object_data::ixy [private]
 

Definition at line 177 of file scan_object_data.h.

double* scan_object_data::ixy [private]
 

Definition at line 177 of file scan_object_data.h.

Referenced by scan_object_data().

gchar* scan_object_data::name [private]
 

Definition at line 173 of file scan_object_data.h.

gchar* scan_object_data::name [private]
 

Definition at line 173 of file scan_object_data.h.

int scan_object_data::np [private]
 

Definition at line 175 of file scan_object_data.h.

Referenced by scan_object_data().

gchar* scan_object_data::text [private]
 

Definition at line 174 of file scan_object_data.h.

gchar* scan_object_data::text [private]
 

Definition at line 174 of file scan_object_data.h.

double* scan_object_data::xy [private]
 

Definition at line 176 of file scan_object_data.h.

double* scan_object_data::xy [private]
 

Definition at line 176 of file scan_object_data.h.

Referenced by scan_object_data().


The documentation for this class was generated from the following files:
Generated on Sat Apr 1 09:06:15 2006 for GXSM by  doxygen 1.4.6