SCAN_DATA Class Reference

#include <xsmtypes.h>

List of all members.

Public Member Functions

 SCAN_DATA ()
virtual ~SCAN_DATA ()
void UpdateUnits ()
void CpUnits (SCAN_DATA &src)
void SetXUnit (UnitObj *u)
void SetYUnit (UnitObj *u)
void SetVUnit (UnitObj *u)
void SetZUnit (UnitObj *u)
void GetScan_Param (SCAN_DATA &src)
void GetUser_Info (SCAN_DATA &src)
void GetDisplay_Param (SCAN_DATA &src)
void SaveValues (gchar *SetName=NULL)
void LoadValues (XSM_Instrument *Inst, XSM_Hardware *hardware, gchar *SetName=NULL)
 SCAN_DATA ()
virtual ~SCAN_DATA ()
void UpdateUnits ()
void CpUnits (SCAN_DATA &src)
void SetXUnit (UnitObj *u)
void SetYUnit (UnitObj *u)
void SetVUnit (UnitObj *u)
void SetZUnit (UnitObj *u)
void GetScan_Param (SCAN_DATA &src)
void GetUser_Info (SCAN_DATA &src)
void GetDisplay_Param (SCAN_DATA &src)
void SaveValues (gchar *SetName=NULL)
void LoadValues (XSM_Instrument *Inst, XSM_Hardware *hardware, gchar *SetName=NULL)

Public Attributes

SCAN_ORIGIN orgmode
SCAN_MODE scan_mode
SCAN_REPEAT_MODE scan_repeat_mode
SCAN_TYPE scan_type
int UnitsAlloc
UnitObjXunit
UnitObjYunit
UnitObjZunit
UnitObjVunit
UnitObjCurrentUnit
UnitObjVoltUnit
UnitObjTimeUnit
UnitObjTimeUnitms
UnitObjCPSUnit
UnitObjEnergyUnit
Scan_Param s
Scan_UserInfo ui
Display_Param display
UnitObjXunit
UnitObjCurrentUnit
UnitObjCPSUnit

Private Attributes

int cnt


Detailed Description

Definition at line 387 of file xsmtypes.h.


Constructor & Destructor Documentation

SCAN_DATA::SCAN_DATA  ) 
 

Definition at line 355 of file xsm.C.

References cnt, UnitObj::Copy(), CPSUnit, CurrentUnit, DBG_L2, EnergyUnit, orgmode, scan_mode, SCAN_MODE_SINGLE_DSPSET, SCAN_ORG_CENTER, SCAN_ORG_MIDDLETOP, scan_repeat_mode, SCAN_REPEAT_MODE_UNIDIR, scan_type, SCAN_TYPE_NORMAL, scandatacount, XSMRESOURCES::ScanOrgCenter, TimeUnit, TimeUnitms, TRUE, UnitsAlloc, VoltUnit, Vunit, XSM_DEBUG, xsmres, Xunit, Yunit, and Zunit.

SCAN_DATA::~SCAN_DATA  )  [virtual]
 

Definition at line 384 of file xsm.C.

References CPSUnit, CurrentUnit, DBG_L2, EnergyUnit, scandatacount, TimeUnit, TimeUnitms, UnitsAlloc, VoltUnit, Vunit, XSM_DEBUG, Xunit, Yunit, and Zunit.

SCAN_DATA::SCAN_DATA  ) 
 

virtual SCAN_DATA::~SCAN_DATA  )  [virtual]
 


Member Function Documentation

void SCAN_DATA::CpUnits SCAN_DATA src  ) 
 

void SCAN_DATA::CpUnits SCAN_DATA src  ) 
 

Definition at line 421 of file xsm.C.

References cnt, CPSUnit, CurrentUnit, DBG_L2, EnergyUnit, src, TimeUnit, TimeUnitms, TRUE, UnitsAlloc, VoltUnit, Vunit, XSM_DEBUG, Xunit, Yunit, and Zunit.

Referenced by Scan::Scan(), and LineProfile1D::SetData().

void SCAN_DATA::GetDisplay_Param SCAN_DATA src  )  [inline]
 

Definition at line 441 of file xsmtypes.h.

References Display_Param::copy(), display, and src.

void SCAN_DATA::GetDisplay_Param SCAN_DATA src  )  [inline]
 

Definition at line 441 of file xsmtypes.h.

References Display_Param::copy(), display, and src.

Referenced by Scan::AutoDisplay(), Scan::CpyDataSet(), Scan::create(), Scan::GetDataSet(), PNG_ImExportFile::import_data(), Gdat_ImExportFile::import_data(), and Scan::SetVM().

void SCAN_DATA::GetScan_Param SCAN_DATA src  )  [inline]
 

Definition at line 416 of file xsmtypes.h.

References s, scan_mode, scan_repeat_mode, and src.

void SCAN_DATA::GetScan_Param SCAN_DATA src  )  [inline]
 

Definition at line 416 of file xsmtypes.h.

References s, scan_mode, scan_repeat_mode, and src.

Referenced by Scan::CpyDataSet(), Scan::create(), Scan::GetDataSet(), PNG_ImExportFile::import_data(), and Gdat_ImExportFile::import_data().

void SCAN_DATA::GetUser_Info SCAN_DATA src  )  [inline]
 

Definition at line 428 of file xsmtypes.h.

References Scan_UserInfo::copy(), src, and ui.

void SCAN_DATA::GetUser_Info SCAN_DATA src  )  [inline]
 

Definition at line 428 of file xsmtypes.h.

References Scan_UserInfo::copy(), src, and ui.

Referenced by Scan::CpyDataSet(), Scan::CpyUserEntries(), Scan::create(), Scan::GetDataSet(), PNG_ImExportFile::import_data(), and Gdat_ImExportFile::import_data().

void SCAN_DATA::LoadValues XSM_Instrument Inst,
XSM_Hardware hardware,
gchar *  SetName = NULL
 

void SCAN_DATA::LoadValues XSM_Instrument Inst,
XSM_Hardware hardware,
gchar *  SetName = NULL
 

Definition at line 531 of file xsm.C.

References Scan_Param::alpha, Scan_Param::Bias, Display_Param::bright, Display_Param::contrast, Display_Param::cpshigh, Display_Param::cpslow, Scan_Param::Current, display, Scan_Param::dl, Scan_Param::dx, Scan_Param::dy, Scan_Param::dz, Scan_Param::Energy, Scan_Param::GateTime, XsmRescourceManager::Get(), XSM_Hardware::GetMaxPointsPerLine(), MIN, Scan_Param::ntimes, Scan_Param::nvalues, Scan_Param::nx, Scan_Param::ny, R2INT, Scan_Param::rx, Scan_Param::ry, Scan_Param::rz, s, SCAN_V_QUICK, Scan_Param::SetPoint, Scan_Param::SPA_OrgX, Scan_Param::SPA_OrgY, Display_Param::vframe, Display_Param::ViewFlg, Display_Param::vlayer, Display_Param::voffset_z, Display_Param::vrange_z, Scan_Param::x0, XSM_Instrument::XResolution(), Scan_Param::y0, and XSM_Instrument::YResolution().

Referenced by App::options_load_values_callback(), PeakFindScan::PeakFindScan(), ProbeScan::ProbeScan(), and NanoScopeFile::Read().

void SCAN_DATA::SaveValues gchar *  SetName = NULL  ) 
 

void SCAN_DATA::SaveValues gchar *  SetName = NULL  ) 
 

Definition at line 490 of file xsm.C.

References Scan_Param::alpha, Scan_Param::Bias, Display_Param::bright, COMPILEDBYNAME, Display_Param::contrast, Display_Param::cpshigh, Display_Param::cpslow, Scan_Param::Current, display, Scan_Param::dl, Scan_Param::dx, Scan_Param::dy, Scan_Param::dz, Scan_Param::Energy, Scan_Param::GateTime, Scan_Param::ntimes, Scan_Param::nvalues, Scan_Param::nx, Scan_Param::ny, PACKAGE, XsmRescourceManager::Put(), Scan_Param::rx, Scan_Param::ry, Scan_Param::rz, s, Scan_Param::SetPoint, Scan_Param::SPA_OrgX, Scan_Param::SPA_OrgY, VERSION, Display_Param::vframe, Display_Param::ViewFlg, Display_Param::vlayer, Display_Param::voffset_z, Display_Param::vrange_z, Scan_Param::x0, and Scan_Param::y0.

Referenced by App::options_save_values_callback(), PeakFindScan::~PeakFindScan(), and ProbeScan::~ProbeScan().

void SCAN_DATA::SetVUnit UnitObj u  ) 
 

void SCAN_DATA::SetVUnit UnitObj u  ) 
 

Definition at line 479 of file xsm.C.

References UnitObj::Copy(), and Vunit.

Referenced by rhk_ScanControl::setup_scan().

void SCAN_DATA::SetXUnit UnitObj u  ) 
 

void SCAN_DATA::SetXUnit UnitObj u  ) 
 

Definition at line 469 of file xsm.C.

References UnitObj::Copy(), and Xunit.

Referenced by Mem2d::GetArcDataLineFrom(), Mem2d::GetLayerDataLineFrom(), LineProfile1D::LineProfile1D(), ProbeScan::Probe(), spasim_run(), and Omicron_SPM_ImExportFile::spmReadPar().

void SCAN_DATA::SetYUnit UnitObj u  ) 
 

void SCAN_DATA::SetYUnit UnitObj u  ) 
 

Definition at line 474 of file xsm.C.

References UnitObj::Copy(), and Yunit.

Referenced by LineProfile1D::LineProfile1D(), spasim_run(), and Omicron_SPM_ImExportFile::spmReadPar().

void SCAN_DATA::SetZUnit UnitObj u  ) 
 

void SCAN_DATA::SetZUnit UnitObj u  ) 
 

Definition at line 484 of file xsm.C.

References UnitObj::Copy(), and Zunit.

Referenced by Scan::GetDataSet(), LineProfile1D::LineProfile1D(), make_test_run(), ProbeScan::Probe(), rhk200_ImExportFile::rhkRead(), SPM_ScanControl::setup_scan(), rhk_ScanControl::setup_scan(), SlopeAbs_run(), SlopeDir_run(), spasim_run(), UK2k_ImExportFile::spmReadPar(), Omicron_SPM_ImExportFile::spmReadPar(), and VacancyLineAnalysis_run().

void SCAN_DATA::UpdateUnits  )  [inline]
 

Definition at line 403 of file xsmtypes.h.

References Display_Param::cnttime, display, Scan_Param::GateTime, and s.

void SCAN_DATA::UpdateUnits  )  [inline]
 

Definition at line 403 of file xsmtypes.h.

References Display_Param::cnttime, display, Scan_Param::GateTime, and s.

Referenced by Scan::CpyDataSet(), Scan::create(), Scan::GetDataSet(), App::spm_update_all(), and Scan::start().


Member Data Documentation

int SCAN_DATA::cnt [private]
 

Definition at line 388 of file xsmtypes.h.

Referenced by CpUnits(), and SCAN_DATA().

UnitObj* SCAN_DATA::CPSUnit
 

Definition at line 401 of file xsmtypes.h.

UnitObj* SCAN_DATA::CPSUnit
 

Definition at line 401 of file xsmtypes.h.

Referenced by CpUnits(), SCAN_DATA(), and ~SCAN_DATA().

UnitObj* SCAN_DATA::CurrentUnit
 

Definition at line 400 of file xsmtypes.h.

UnitObj* SCAN_DATA::CurrentUnit
 

Definition at line 400 of file xsmtypes.h.

Referenced by CpUnits(), SCAN_DATA(), and ~SCAN_DATA().

Display_Param SCAN_DATA::display
 

Definition at line 453 of file xsmtypes.h.

Referenced by Scan::Activate(), Surface::ActivateChannel(), Scan::AutoDisplay(), App::build_gxsm(), App::create_spa_control(), App::create_spm_control(), PrimitiveImExportFile::d2dRead(), Scan::draw(), GetDisplay_Param(), spa4_ImExportFile::import(), RHK_SPM32_ImportFile::import(), PsiHDF_ImExportFile::import(), gmeyer_ImExportFile::import(), PNG_ImExportFile::import_data(), Gdat_ImExportFile::import_data(), LoadValues(), Surface::MathOperation(), Surface::MathOperationX(), PrimitiveImExportFile::matsRead(), MkIconsPI(), EpsfTools::putsize(), NanoScopeFile::Read(), rhk200_ImExportFile::rhkRead(), SaveValues(), Surf3d::setup_data_transformation(), Grey2D::setup_data_transformation(), SPM_ScanControl::setup_scan(), rhk_ScanControl::setup_scan(), Surface::SetVM(), Scan::SetVM(), App::spa_gate_check(), App::spm_select_layer(), UK2k_ImExportFile::spmReadPar(), Omicron_SPM_ImExportFile::spmReadPar(), Profiles::update(), UpdateUnits(), PsiHDF_ImExportFile::Write(), PrimitiveImExportFile::Write(), and Gdat_ImExportFile::Write().

UnitObj * SCAN_DATA::EnergyUnit
 

Definition at line 401 of file xsmtypes.h.

Referenced by CpUnits(), SCAN_DATA(), and ~SCAN_DATA().

SCAN_ORIGIN SCAN_DATA::orgmode
 

Definition at line 393 of file xsmtypes.h.

Referenced by Scan::create(), spa4_ImExportFile::import(), RHK_SPM32_ImportFile::import(), PNG_ImExportFile::import_data(), PrimitiveImExportFile::matsRead(), SDFFile::Read(), SCAN_DATA(), and Scan::World2Pixel().

Scan_Param SCAN_DATA::s
 

Definition at line 451 of file xsmtypes.h.

Referenced by add_scan_run(), affine_run(), AngularAnalysis_run(), Scan::AutoDisplay(), SPM_ScanControl::autosave_check(), rhk_ScanControl::autosave_check(), bggamma_run(), ProfileElement::calc(), Scan::create(), App::create_spa_control(), App::create_spm_control(), crosscorrelation_run(), PrimitiveImExportFile::d2dRead(), SPM_ScanControl::do_hscapture(), rhk_ScanControl::do_hscapture(), SPM_ScanControl::do_scan(), rhk_ScanControl::do_scan(), rhk_ScanControl::do_scanline(), findlocmax_run(), flip_diagonal_run(), Mem2d::GetArcDataLineFrom(), Mem2d::GetDataLineFrom(), ProfileElement::GetDeltaInfo(), ProfileElement::GetInfo(), Mem2d::GetLayerDataLineFrom(), GetScan_Param(), ProfileElement::GetValue(), histogram_run(), spa4_ImExportFile::import(), RHK_SPM32_ImportFile::import(), PsiHDF_ImExportFile::import(), gmeyer_ImExportFile::import(), PNG_ImExportFile::import_data(), Gdat_ImExportFile::import_data(), layersmooth_run(), LineProfile1D::LineProfile1D(), DSPControl::load_values(), LoadValues(), log_z_run(), make_test_run(), ViewInfo::makeXYZinfo(), PrimitiveImExportFile::matsRead(), max_run(), merge_h_run(), merge_v_run(), MkIconsPI(), mul_scan_run(), PrimitiveImExportFile::nscRead(), OctoCorr_run(), PeakFindScan::PeakFindScan(), DSPPeakFindControl::PFcpyFromM(), DSPPeakFindControl::PFcpyToM(), PeakFindScan::PFrun(), PeakFindScan::PFrunI0(), Scan::Pixel2World(), PolarHist_run(), SPM_ScanControl::prepare_to_start_scan(), rhk_ScanControl::prepare_to_start_scan(), ProbeScan::Probe(), ProbeScan::ProbeScan(), DSPControl::Probing_save_callback(), psdadd_run(), EpsfTools::putbar(), EpsfTools::putcircle(), EpsfTools::putline(), SPA_epsftools::putsize(), EpsfTools::putsize(), EpsfTools::putticks(), quenchscan_run(), SDFFile::Read(), NanoScopeFile::Read(), rhk200_ImExportFile::readspec(), rhk200_ImExportFile::readtopo(), PanView::refresh(), rhk_ScanControl::rhk_ScanControl(), rhk200_ImExportFile::rhkRead(), rotate_run(), SaveValues(), scalescan_run(), Scan::Scan(), VObject::set_offset(), SPM_ScanControl::set_subscan(), rhk_ScanControl::set_subscan(), LineProfile1D::SetData(), SPM_ScanControl::setup_scan(), VObject::SetUpScan(), Scan::SetVM(), shear_x_run(), shear_y_run(), shiftarea_run(), short_to_short_run(), SlopeAbs_run(), SlopeDir_run(), smallconvol_run(), App::spa_energy_check(), App::spa_gate_check(), App::spa_show_scan_time(), spasim_run(), spasimkz_run(), spectrocut_run(), App::spm_offset_check(), App::spm_range_check(), Omicron_SPM_ImExportFile::spmReadDat(), Omicron_SPM_ImExportFile::spmReadGridSpecDat(), UK2k_ImExportFile::spmReadPar(), Omicron_SPM_ImExportFile::spmReadPar(), Scan::start(), Scan::stop(), sub_scan_run(), to_byte_run(), to_complex_run(), to_double_run(), to_float_run(), to_long_run(), to_short_run(), VObPoint::update_offset(), SPM_ScanControl::update_status_info(), rhk_ScanControl::update_status_info(), rhk_ScanControl::updateRHK(), UpdateUnits(), uto_float_run(), VacancyLineAnalysis_run(), View::View(), Scan::World2Pixel(), WSxM_ImExportFile::Write(), PsiHDF_ImExportFile::Write(), PNG_ImExportFile::Write(), gmeyer_ImExportFile::Write(), Gdat_ImExportFile::Write(), NetCDF::Write(), DSPControl::write_dsp_probe(), and WSxM_ImExportFile::WSxMRead().

SCAN_MODE SCAN_DATA::scan_mode
 

Definition at line 394 of file xsmtypes.h.

Referenced by DSPControl::dualmode_callback(), GetScan_Param(), and SCAN_DATA().

SCAN_REPEAT_MODE SCAN_DATA::scan_repeat_mode
 

Definition at line 395 of file xsmtypes.h.

Referenced by GetScan_Param(), and SCAN_DATA().

SCAN_TYPE SCAN_DATA::scan_type
 

Definition at line 396 of file xsmtypes.h.

Referenced by SCAN_DATA().

UnitObj * SCAN_DATA::TimeUnit
 

Definition at line 400 of file xsmtypes.h.

Referenced by CpUnits(), SCAN_DATA(), and ~SCAN_DATA().

UnitObj * SCAN_DATA::TimeUnitms
 

Definition at line 400 of file xsmtypes.h.

Referenced by CpUnits(), SCAN_DATA(), and ~SCAN_DATA().

Scan_UserInfo SCAN_DATA::ui
 

Definition at line 452 of file xsmtypes.h.

Referenced by App::as_setdata(), App::as_update(), comment_button_callback(), Scan::create(), PrimitiveImExportFile::d2dRead(), Profiles::draw(), Grey2D::draw(), ProfileControl::file_save_as_callback(), ProfileControl::file_save_callback(), EpsfTools::FootLine(), Surf3d::GetSmem(), GetUser_Info(), spa4_ImExportFile::import(), RHK_SPM32_ImportFile::import(), PsiHDF_ImExportFile::import(), gmeyer_ImExportFile::import(), PNG_ImExportFile::import_data(), Gdat_ImExportFile::import_data(), Surface::MathOperation(), PrimitiveImExportFile::matsRead(), MkIconsPI(), PIPrintPSData::PIPrintPSData(), ProbeScan::Probe(), ProbeScan::ProbeScan(), DSPControl::Probing_save_callback(), SPA_epsftools::putmore(), EpsfTools::putmore(), SPA_epsftools::putsize(), EpsfTools::putsize(), SDFFile::Read(), NanoScopeFile::Read(), NetCDF::Read(), rhk_scancontrol_hscapture_callback(), rhk_scancontrol_movie_callback(), rhk_scancontrol_start_callback(), rhk200_ImExportFile::rhkRead(), SPM_ScanControl::setup_scan(), spm_scancontrol_hscapture_callback(), spm_scancontrol_movie_callback(), spm_scancontrol_start_callback(), Omicron_SPM_ImExportFile::spmReadDat(), Omicron_SPM_ImExportFile::spmReadGridSpecDat(), UK2k_ImExportFile::spmReadPar(), Omicron_SPM_ImExportFile::spmReadPar(), Scan::start(), App::ui_setcomment(), App::ui_update(), ViewControl::view_file_getinfo_callback(), ViewControl::view_file_loadobjects_callback(), ViewControl::view_file_saveobjects_callback(), PsiHDF_ImExportFile::Write(), gmeyer_ImExportFile::Write(), Gdat_ImExportFile::Write(), and NetCDF::Write().

int SCAN_DATA::UnitsAlloc
 

Definition at line 398 of file xsmtypes.h.

Referenced by CpUnits(), SCAN_DATA(), and ~SCAN_DATA().

UnitObj * SCAN_DATA::VoltUnit
 

Definition at line 400 of file xsmtypes.h.

Referenced by CpUnits(), SCAN_DATA(), and ~SCAN_DATA().

UnitObj * SCAN_DATA::Vunit
 

Definition at line 399 of file xsmtypes.h.

Referenced by CpUnits(), Mem2d::GetLayerDataLineFrom(), SCAN_DATA(), SetVUnit(), App::spm_select_layer(), and ~SCAN_DATA().

UnitObj* SCAN_DATA::Xunit
 

Definition at line 399 of file xsmtypes.h.

UnitObj* SCAN_DATA::Xunit
 

Definition at line 399 of file xsmtypes.h.

Referenced by average_profile_run(), ProfileElement::calc(), CpUnits(), ProfileElement::GetDeltaInfo(), ProfileElement::GetInfo(), ProfileControl::NewData(), PeakFindScan::PeakFindScan(), ProbeScan::ProbeScan(), ProfileControl::ProfileControl(), EpsfTools::putbar(), SPA_epsftools::putsize(), EpsfTools::putsize(), EpsfTools::putticks(), SCAN_DATA(), SetXUnit(), ViewInfo::Ux(), PeakFindScan::~PeakFindScan(), and ~SCAN_DATA().

UnitObj * SCAN_DATA::Yunit
 

Definition at line 399 of file xsmtypes.h.

Referenced by CpUnits(), ProbeScan::ProbeScan(), SPA_epsftools::putsize(), EpsfTools::putsize(), SCAN_DATA(), SetYUnit(), ViewInfo::Uy(), and ~SCAN_DATA().

UnitObj * SCAN_DATA::Zunit
 

Definition at line 399 of file xsmtypes.h.

Referenced by average_profile_run(), ProfileElement::calc(), CpUnits(), App::create_spa_control(), App::create_spm_control(), ProfileElement::GetDeltaInfo(), ProfileElement::GetInfo(), histogram_run(), ProfileControl::NewData(), PeakFindScan::PeakFindScan(), ProbeScan::ProbeScan(), ProfileControl::ProfileControl(), EpsfTools::putsize(), SCAN_DATA(), SetZUnit(), App::spm_update_all(), ViewInfo::Uz(), PeakFindScan::~PeakFindScan(), and ~SCAN_DATA().


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