#include <scan.h>
Inheritance diagram for Scan:
Public Member Functions | |
Scan (Scan *scanmaster) | |
Scan (int vtype=0, int vflg=0, int ChNo=-1, SCAN_DATA *vd=NULL, ZD_TYPE mtyp=ZD_SHORT) | |
virtual | ~Scan () |
virtual void | hide () |
virtual int | draw (int y1=-1, int y2=-1) |
virtual int | create (gboolean RoundFlg=FALSE, gboolean subgrid=FALSE) |
void | Saved () |
virtual void | start () |
virtual void | stop (int StopFlg=FALSE, int line=0) |
void | inc_refcount () |
void | dec_refcount () |
int | get_refcount () |
void | CpyUserEntries (SCAN_DATA &src) |
void | CpyDataSet (SCAN_DATA &src) |
void | GetDataSet (SCAN_DATA &dst) |
int | SetView (int vtype) |
void | AutoDisplay (double hi=0., double lo=0., int Delta=4) |
int | SetVM (int vflg=0, SCAN_DATA *src=NULL, int Delta=4) |
int | GetVM () |
void | Activate () |
void | realloc_pkt2d (int n) |
int | Pixel2World (int ix, int iy, double &wx, double &wy, SCAN_COORD_MODE scm=SCAN_COORD_ABSOLUTE) |
int | World2Pixel (double wx, double wy, int &ix, int &iy, SCAN_COORD_MODE scm=SCAN_COORD_ABSOLUTE) |
double | GetWorldX (int ix) |
double | GetWorldY (int ix) |
int | add_object (const gchar *name, const gchar *text, int np, void(*f_ixy)(int, double &, double &)) |
void | update_object (int id, const gchar *name, const gchar *text, void(*f_ixy)(int, double &, double &)) |
int | del_object (int id) |
int | find_object (int id) |
void | destroy_all_objects () |
unsigned int | number_of_object () |
scan_object_data * | get_object_data (int i) |
void | dump_object_data (int i) |
void | set_data (int d) |
int | get_data () |
Scan (Scan *scanmaster) | |
Scan (int vtype=0, int vflg=0, int ChNo=-1, SCAN_DATA *vd=NULL, ZD_TYPE mtyp=ZD_SHORT) | |
virtual | ~Scan () |
virtual void | hide () |
virtual int | draw (int y1=-1, int y2=-1) |
virtual int | create (gboolean RoundFlg=FALSE, gboolean subgrid=FALSE) |
void | Saved () |
virtual void | start () |
virtual void | stop (int StopFlg=FALSE, int line=0) |
void | inc_refcount () |
void | dec_refcount () |
int | get_refcount () |
void | CpyUserEntries (SCAN_DATA &src) |
void | CpyDataSet (SCAN_DATA &src) |
void | GetDataSet (SCAN_DATA &dst) |
int | SetView (int vtype) |
void | AutoDisplay (double hi=0., double lo=0., int Delta=4) |
int | SetVM (int vflg=0, SCAN_DATA *src=NULL, int Delta=4) |
int | GetVM () |
void | Activate () |
void | realloc_pkt2d (int n) |
int | Pixel2World (int ix, int iy, double &wx, double &wy, SCAN_COORD_MODE scm=SCAN_COORD_ABSOLUTE) |
int | World2Pixel (double wx, double wy, int &ix, int &iy, SCAN_COORD_MODE scm=SCAN_COORD_ABSOLUTE) |
double | GetWorldX (int ix) |
double | GetWorldY (int ix) |
int | add_object (const gchar *name, const gchar *text, int np, void(*f_ixy)(int, double &, double &)) |
void | update_object (int id, const gchar *name, const gchar *text, void(*f_ixy)(int, double &, double &)) |
int | del_object (int id) |
int | find_object (int id) |
void | destroy_all_objects () |
unsigned int | number_of_object () |
scan_object_data * | get_object_data (int i) |
void | dump_object_data (int i) |
void | set_data (int d) |
int | get_data () |
Public Attributes | |
Mem2d * | mem2d |
View * | view |
SCAN_DATA * | vdata |
SCAN_DATA | data |
Point2D | Pkt2dScanLine [2] |
int | RedLineActive |
Point2D * | Pkt2d |
int | PktVal |
Mem2d * | mem2d |
View * | view |
SCAN_DATA * | vdata |
Point2D * | Pkt2d |
Private Attributes | |
int | VFlg |
int | ChanNo |
int | State |
int | Running |
int | numpkt2d |
int | refcount |
int | tmp_data |
int | objects_id |
GSList * | objects_list |
GSList * | objects_list |
Definition at line 84 of file scan.h.
|
Definition at line 41 of file scan.C. References ChanNo, SCAN_DATA::CpUnits(), data, Mem2d::GetTyp(), IS_FRESH, mem2d, numpkt2d, objects_id, objects_list, Pkt2d, realloc_pkt2d(), refcount, Running, SCAN_DATA::s, State, Scan_Param::tEnd, Scan_Param::tStart, vdata, VFlg, and view. |
|
Definition at line 61 of file scan.C. References ChanNo, SCAN_DATA::CpUnits(), data, IS_FRESH, mem2d, numpkt2d, objects_id, objects_list, Pkt2d, realloc_pkt2d(), refcount, Running, SCAN_DATA::s, SCAN_V_QUICK, SetView(), SetVM(), State, Scan_Param::tEnd, Scan_Param::tStart, vdata, VFlg, and view. |
|
Definition at line 85 of file scan.C. References destroy_all_objects(), mem2d, NOT_SAVED, Pkt2d, State, and view. |
|
|
|
|
|
|
|
|
|
Definition at line 247 of file scan.C. References data, DBG_L2, SCAN_DATA::display, gapp, GetDataSet(), App::spm_update_all(), vdata, VFlg, Display_Param::ViewFlg, and XSM_DEBUG. Referenced by Surface::ActivateChannel(). |
|
|
|
Definition at line 95 of file scan.C. References scan_object_data::get_id(), objects_id, and objects_list. Referenced by ViewControl::AddObject(). |
|
|
|
Definition at line 141 of file scan.C. References Mem2d::AutoDataSkl(), Display_Param::bright, Display_Param::cnttime, Display_Param::contrast, Display_Param::cpshigh, Display_Param::cpslow, data, SCAN_DATA::display, Scan_Param::dz, SCAN_DATA::GetDisplay_Param(), Mem2d::GetZHiLo(), Mem2d::GetZRange(), mem2d, SCAN_DATA::s, Mem2d::SetHiLo(), SetVM(), vdata, Display_Param::voffset_z, and Display_Param::vrange_z. Referenced by Surface::AutoDisplay(). |
|
|
|
Definition at line 378 of file scan.C. References data, SCAN_DATA::GetDisplay_Param(), SCAN_DATA::GetScan_Param(), SCAN_DATA::GetUser_Info(), src, and SCAN_DATA::UpdateUnits(). Referenced by Surface::load(), MkIconsPI(), and LineProfile1D::SetData(). |
|
|
|
Definition at line 373 of file scan.C. References data, SCAN_DATA::GetUser_Info(), and src. |
|
|
|
|
Definition at line 99 of file scan.h. References refcount. |
|
Definition at line 99 of file scan.h. References refcount. |
|
|
|
Definition at line 115 of file scan.C. References objects_list. Referenced by destroy_all_objects(), ViewControl::remove_obj(), and ViewControl::unflag_scan_event_and_remove_obj(). |
|
Definition at line 150 of file scan.h. References del_object(), and objects_id. |
|
Definition at line 150 of file scan.h. References del_object(), and objects_id. Referenced by ~Scan(). |
|
|
|
|
Definition at line 155 of file scan.h. References objects_list. |
|
Definition at line 155 of file scan.h. References objects_list. Referenced by ViewControl::obj_dump_callback(). |
|
|
|
Definition at line 108 of file scan.C. References objects_list. Referenced by ViewControl::obj_dump_callback(), and update_object(). |
|
Definition at line 159 of file scan.h. References tmp_data. |
|
Definition at line 159 of file scan.h. Referenced by LineProfile1D::SetData(). |
|
Definition at line 153 of file scan.h. References objects_list. |
|
Definition at line 153 of file scan.h. References objects_list. Referenced by autocorrelation_run(), pass_cc_run(), PIPrintPS(), plane3pkt_run(), SetVM(), shape_run(), spectrocut_run(), stop_ccr_run(), View::update_mxyz_from_points(), and Z_limiter_run(). |
|
Definition at line 100 of file scan.h. References refcount. |
|
Definition at line 100 of file scan.h. References refcount. |
|
|
|
|
Definition at line 109 of file scan.h. References VFlg. |
|
Definition at line 109 of file scan.h. References VFlg. Referenced by ViewControl::CheckOptions(), and V3dControl::CheckOptions(). |
|
Definition at line 124 of file scan.h. References Pixel2World(), and SCAN_COORD_RELATIVE. |
|
Definition at line 124 of file scan.h. References Pixel2World(), and SCAN_COORD_RELATIVE. Referenced by ViewInfo::makeXinfo(). |
|
Definition at line 129 of file scan.h. References Pixel2World(), and SCAN_COORD_RELATIVE. |
|
Definition at line 129 of file scan.h. References Pixel2World(), and SCAN_COORD_RELATIVE. |
|
|
|
|
|
Definition at line 98 of file scan.h. References refcount. |
|
Definition at line 98 of file scan.h. References refcount. Referenced by start(). |
|
Definition at line 152 of file scan.h. References objects_list. |
|
Definition at line 152 of file scan.h. References objects_list. Referenced by autocorrelation_run(), pass_cc_run(), PIPrintPS(), plane3pkt_run(), SetVM(), shape_run(), spectrocut_run(), stop_ccr_run(), View::update_mxyz_from_points(), and Z_limiter_run(). |
|
|
|
Definition at line 402 of file scan.C. References Scan_Param::alpha, cos(), Mem2d::data, data, ZData::GetXLookup(), ZData::GetYLookup(), mem2d, SCAN_DATA::s, SCAN_COORD_ABSOLUTE, SCAN_COORD_RELATIVE, sin(), Scan_Param::x0, and Scan_Param::y0. Referenced by ViewControl::canvas_event_cb(), GetWorldX(), GetWorldY(), ViewInfo::makeA2info(), ViewInfo::makedXdYinfo(), ViewInfo::makeDXYinfo(), ViewInfo::makeXYinfo(), ViewInfo::makeXYZinfo(), VObject::set_offset(), VObject::SetUpScan(), VObPoint::update_offset(), and ViewInfo::W2Angstroem(). |
|
|
|
Definition at line 129 of file scan.C. References DBG_L2, numpkt2d, Pkt2d, and XSM_DEBUG. Referenced by Scan(), and ViewControl::view_tool_addpolyline(). |
|
|
|
|
|
Definition at line 158 of file scan.h. References tmp_data. |
|
Definition at line 158 of file scan.h. References tmp_data. Referenced by VObEvent::Update(), VObCircle::Update(), VObKsys::Update(), VObLine::Update(), and VObPoint::Update(). |
|
|
|
Definition at line 255 of file scan.C. References ChanNo, draw(), ID_CH_V_GREY, ID_CH_V_NO, ID_CH_V_PROFILE, ID_CH_V_SURFACE, SetVM(), and view. Referenced by PeakFindScan::PFrunI0(), ProbeScan::Probe(), Scan(), and Surface::SetView(). |
|
|
|
|
|
|
Definition at line 345 of file scan.C. References data, gapp, inc_refcount(), Running, SCAN_DATA::s, Scan_UserInfo::SetOriginalName(), Scan_Param::tStart, SCAN_DATA::ui, App::ui_update(), SCAN_DATA::UpdateUnits(), and vdata. Referenced by SPM_ScanControl::call_scan_start(), and rhk_ScanControl::call_scan_start(). |
|
|
|
Definition at line 356 of file scan.C. References data, draw(), Scan_Param::dy, XSM_Hardware::FreeOldData(), gapp, Xsm::hardware, mem2d, Scan_Param::nx, Scan_Param::ny, Mem2d::Resize(), Scan_Param::ry, SCAN_DATA::s, Scan_Param::tEnd, and App::xsm. Referenced by SPM_ScanControl::call_scan_stop(), and rhk_ScanControl::call_scan_stop(). |
|
|
|
Definition at line 102 of file scan.C. References find_object(), and objects_list. Referenced by VObject::Activate(). |
|
|
|
Definition at line 423 of file scan.C. References Scan_Param::alpha, cos(), data, Scan_Param::dx, Scan_Param::dy, Scan_Param::nx, Scan_Param::ny, SCAN_DATA::orgmode, SCAN_DATA::s, SCAN_COORD_ABSOLUTE, SCAN_COORD_RELATIVE, SCAN_ORG_CENTER, sin(), Scan_Param::x0, and Scan_Param::y0. Referenced by ViewInfo::Angstroem2W(), pass_cc_run(), shape_run(), and stop_ccr_run(). |
|
|
|
|
|
|
|
Definition at line 166 of file scan.h. Referenced by realloc_pkt2d(), and Scan(). |
|
Definition at line 170 of file scan.h. Referenced by add_object(), destroy_all_objects(), and Scan(). |
|
|
|
Definition at line 171 of file scan.h. Referenced by add_object(), del_object(), dump_object_data(), find_object(), get_object_data(), number_of_object(), Scan(), and update_object(). |
|
|
|
Definition at line 141 of file scan.h. Referenced by ViewControl::add_event_obj(), Grey2D::add_object(), affine_run(), baseinfo_run(), bg_z_drift_run(), MkIconsPI(), OctoCorr_run(), realloc_pkt2d(), rotate_run(), Scan(), LineProfile1D::SetData(), SetVM(), shiftarea_run(), stepcount_run(), ViewControl::update_trace(), ViewControl::view_file_loadobjects_callback(), ViewControl::view_tool_addparabel(), and ~Scan(). |
|
Definition at line 138 of file scan.h. Referenced by LineProfile1D::SetData(), and Grey2D::update(). |
|
|
Definition at line 139 of file scan.h. Referenced by LineProfile1D::SetData(), ViewControl::view_view_redline_callback(), and ViewControl::ViewControl(). |
|
Definition at line 167 of file scan.h. Referenced by dec_refcount(), get_refcount(), inc_refcount(), and Scan(). |
|
Definition at line 165 of file scan.h. Referenced by create(), GetDataSet(), Scan(), and start(). |
|
|
|
Definition at line 168 of file scan.h. Referenced by get_data(), and set_data(). |
|
|
|
Definition at line 133 of file scan.h. Referenced by Activate(), AutoDisplay(), create(), Scan(), and start(). |
|
Definition at line 159 of file scan.h. Referenced by Activate(), GetVM(), and Scan(). |
|
|
|
Definition at line 117 of file scan.h. Referenced by DSPControl::add_user_event_now(), draw(), PeakFindScan::PFrunI0(), ProbeScan::Probe(), NanoPlottControl::RunPlott(), Scan(), SetView(), SetVM(), VObEvent::Update(), and ~Scan(). |