#include <scan_object_data.h>
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 |
: 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.
|
Definition at line 54 of file scan_object_data.h. |
|
Definition at line 70 of file scan_object_data.h. |
|
Definition at line 54 of file scan_object_data.h. |
|
Definition at line 70 of file scan_object_data.h. |
|
dump: Dumps object information to stdout. Definition at line 83 of file scan_object_data.h. |
|
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(). |
|
get_id: Get the objects id. Returns: object id. Definition at line 169 of file scan_object_data.h. |
|
get_id: Get the objects id. Returns: object id. Definition at line 169 of file scan_object_data.h. Referenced by Scan::add_object(). |
|
get_name: Get the objects name. Returns: pointer to name, do not modifiy! Definition at line 142 of file scan_object_data.h. |
|
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(). |
|
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. |
|
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(). |
|
get_text: Get the objects text. Returns: pointer to text, do not modifiy! Definition at line 151 of file scan_object_data.h. |
|
get_text: Get the objects text. Returns: pointer to text, do not modifiy! Definition at line 151 of file scan_object_data.h. |
|
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. |
|
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(). |
|
Definition at line 131 of file scan_object_data.h. |
|
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(). |
|
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. |
|
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. |
|
Definition at line 169 of file scan_object_data.h. |
|
Definition at line 177 of file scan_object_data.h. |
|
Definition at line 177 of file scan_object_data.h. Referenced by scan_object_data(). |
|
Definition at line 173 of file scan_object_data.h. |
|
Definition at line 173 of file scan_object_data.h. |
|
Definition at line 175 of file scan_object_data.h. Referenced by scan_object_data(). |
|
Definition at line 174 of file scan_object_data.h. |
|
Definition at line 174 of file scan_object_data.h. |
|
Definition at line 176 of file scan_object_data.h. |
|
Definition at line 176 of file scan_object_data.h. Referenced by scan_object_data(). |