#include <surface.h>
Inheritance diagram for Surface:
Public Member Functions | |
Surface () | |
virtual | ~Surface () |
void | hide () |
int | draw () |
int | load (const char *rname=NULL) |
int | save (int auto, char *rname=NULL, int chidx=-1, int forceOverwrite=FALSE) |
int | gnuimport (const char *rname=NULL) |
int | gnuexport (const char *rname=NULL) |
int | SetSDir (int Channel, int choice) |
int | SetView (int Channel, int choice) |
int | SetMode (int Channel, int choice, int force=FALSE) |
void | SetRedraw (int flg=TRUE) |
int | SetVM (int mode=0) |
Scan * | NewScan (int vtype, int vflg, int ChNo, SCAN_DATA *vd) |
int | ActivateFreeChannel () |
int | ActivateChannel (int ActiveChannel) |
int | FindChan (int fid) |
void | AutoDisplay (double hi=0., double lo=0.) |
void | CleanupProfiles () |
int | AddProfile (gchar *filename) |
int | AddProfile (ProfileControl *pc) |
int | RemoveProfile (ProfileControl *pc) |
void | RemoveAllProfiles () |
void | MathOperationNoDest (gboolean(*Op)(MATHOPPARAMSNODEST)) |
void | MathOperation (gboolean(*Op)(MATHOPPARAMS)) |
void | MathOperationX (gboolean(*Op)(MATH2OPPARAMS), int IdScr2, gboolean size_matching=TRUE) |
Scan * | GetActiveScan () |
Surface () | |
virtual | ~Surface () |
void | hide () |
int | draw () |
int | load (const char *rname=NULL) |
int | save (int auto, char *rname=NULL, int chidx=-1, int forceOverwrite=FALSE) |
int | gnuimport (const char *rname=NULL) |
int | gnuexport (const char *rname=NULL) |
int | SetSDir (int Channel, int choice) |
int | SetView (int Channel, int choice) |
int | SetMode (int Channel, int choice, int force=FALSE) |
void | SetRedraw (int flg=TRUE) |
int | SetVM (int mode=0) |
Scan * | NewScan (int vtype, int vflg, int ChNo, SCAN_DATA *vd) |
int | ActivateFreeChannel () |
int | ActivateChannel (int ActiveChannel) |
int | FindChan (int fid) |
void | AutoDisplay (double hi=0., double lo=0.) |
void | CleanupProfiles () |
int | AddProfile (gchar *filename) |
int | AddProfile (ProfileControl *pc) |
int | RemoveProfile (ProfileControl *pc) |
void | RemoveAllProfiles () |
void | MathOperationNoDest (gboolean(*Op)(MATHOPPARAMSNODEST)) |
void | MathOperation (gboolean(*Op)(MATHOPPARAMS)) |
void | MathOperationX (gboolean(*Op)(MATH2OPPARAMS), int IdScr2, gboolean size_matching=TRUE) |
Scan * | GetActiveScan () |
Static Public Member Functions | |
static void | remove_profile (ProfileControl *pc, gpointer data) |
static void | remove_profile (ProfileControl *pc, gpointer data) |
Public Attributes | |
int | ActiveChannel |
int | ChannelMode [MAX_CHANNELS] |
int | ChannelScanMode [MAX_CHANNELS] |
int | ChannelView [MAX_CHANNELS] |
Scan * | scan [MAX_CHANNELS] |
Scan * | ActiveScan |
GSList * | ScanList |
GSList * | ProfileList |
GSList * | DelProfileList |
int | StopScanFlg |
Scan * | scan [MAX_CHANNELS] |
Scan * | ActiveScan |
GSList * | ScanList |
GSList * | ProfileList |
GSList * | DelProfileList |
Private Attributes | |
int | redrawflg |
Definition at line 57 of file surface.h.
|
Definition at line 52 of file surface.C. References ActiveScan, ChannelMode, ChannelScanMode, ChannelView, DelProfileList, ID_CH_M_OFF, ID_CH_V_GREY, MAX_CHANNELS, ProfileList, scan, ScanList, StopScanFlg, and TRUE. |
|
Definition at line 69 of file surface.C. References DBG_L2, MAX_CHANNELS, RemoveAllProfiles(), scan, and XSM_DEBUG. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 97 of file surface.C. References CleanupProfiles(), and ProfileList. |
|
Definition at line 90 of file surface.C. References CleanupProfiles(), and ProfileList. Referenced by average_profile_run(), and load(). |
|
|
|
Definition at line 134 of file surface.C. References ActiveScan, Scan::AutoDisplay(), gapp, XSMRESOURCES::HiLoDelta, SetVM(), App::spm_update_all(), and xsmres. Referenced by ViewControl::AutoDisp_callback(), V3dControl::AutoDisp_callback(), load(), MkIconsPI(), nano_import_filecheck_load_callback(), omicron_io_filecheck_load_callback(), r_autodisp(), and App::view_autodisp_callback(). |
|
|
|
Definition at line 83 of file surface.C. References DelProfileList, and remove_profile(). Referenced by AddProfile(). |
|
|
|
|
|
|
|
Definition at line 303 of file surface.C. References ChannelMode, and MAX_CHANNELS. Referenced by ActivateChannel(), ActivateFreeChannel(), Surf3d::ColorSrc(), GetActiveScan(), SPM_ScanControl::initialize_scan_lists(), rhk_ScanControl::initialize_scan_lists(), load(), MathOperation(), MathOperationX(), MkIconsPI(), converter::readToAct(), save(), and converter::writeFromCh(). |
|
|
|
|
|
|
Definition at line 760 of file surface.C. References ActiveScan, DBG_L2, ERR_NOACTIVESCAN, ERR_SORRY, gapp, HINT_ACTIVATESCAN, Scan::mem2d, App::SignalSaveFileEventToPlugins(), XSM_DEBUG, and XSM_SHOW_ALERT. Referenced by r_gnuexport(), and converter::writeFromCh(). |
|
|
|
Definition at line 744 of file surface.C. References DBG_L2, gapp, GetActiveScan(), App::SignalLoadFileEventToPlugins(), and XSM_DEBUG. Referenced by load(), and converter::readToAct(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 1038 of file surface.C. References ActiveScan, ERR_MATH, ERR_NOACTIVESCAN, ERR_SORRY, HINT_ACTIVATESCANMATH, MathErrString, and XSM_SHOW_ALERT. Referenced by App::math_onearg_nodest_callback(). |
|
|
|
Definition at line 1094 of file surface.C. References ActiveScan, ChannelMode, App::channelselector, ChannelView, Scan::create(), Xsm::data, DBG_L2, SCAN_DATA::display, Scan::draw(), ERR_MATH, ERR_NO2SRC, ERR_NOFREECHAN, ERR_NOMEM, ERR_SIZEDIFF, ERR_SORRY, FindChan(), gapp, Mem2d::GetNx(), Mem2d::GetNy(), Mem2d::GetTyp(), HINT_MAKESRC2, HINT_SIZEEQ, ID_CH_M_MATH, ID_CH_M_OFF, MathErrString, Scan::mem2d, scan, SetMode(), ChannelSelector::SetMode(), TRUE, Display_Param::ViewFlg, XSM_DEBUG, and XSM_SHOW_ALERT. Referenced by App::math_twoarg_callback(), and App::math_twoarg_no_same_size_check_callback(). |
|
|
|
Definition at line 238 of file surface.C. References XSMRESOURCES::InstrumentType, and xsmres. Referenced by ActivateChannel(), MkIconsPI(), SPM_ScanControl::setup_scan(), and rhk_ScanControl::setup_scan(). |
|
|
|
Definition at line 110 of file surface.C. Referenced by CleanupProfiles(), and RemoveAllProfiles(). |
|
|
|
Definition at line 112 of file surface.C. References ProfileList, and remove_profile(). Referenced by ~Surface(). |
|
|
|
Definition at line 103 of file surface.C. References DelProfileList, and ProfileList. Referenced by ProfileControl::file_close_callback(). |
|
|
|
|
|
|
|
Definition at line 72 of file surface.h. References redrawflg. |
|
Definition at line 72 of file surface.h. References redrawflg. Referenced by App::spm_update_all(). |
|
|
|
Definition at line 153 of file surface.C. References ChannelScanMode, DBG_L2, ID_CH_D_2ND_M, ID_CH_D_2ND_P, ID_CH_D_M, ID_CH_D_P, ID_CH_M_2ND_OFFSET, ID_CH_M_OFF, MAX_CHANNELS, and XSM_DEBUG. Referenced by ChannelSelector::choice_ChSDir_callback(). |
|
|
|
Definition at line 120 of file surface.C. References App::channelselector, ChannelView, DBG_L2, gapp, MAX_CHANNELS, scan, ChannelSelector::SetView(), Scan::SetView(), and XSM_DEBUG. Referenced by ChannelSelector::choice_ChView_callback(), r_chview_1d(), r_chview_2d(), r_chview_3d(), and r_chview_no(). |
|
|
|
|
Definition at line 100 of file surface.h. Referenced by ActivateChannel(), Grey2D::draw(), SetMode(), Profiles::update(), and Grey2D::update(). |
|
|
|
|
Definition at line 101 of file surface.h. Referenced by ActivateChannel(), FindChan(), MathOperation(), MathOperationX(), SetMode(), and Surface(). |
|
|
|
Definition at line 103 of file surface.h. Referenced by ActivateChannel(), MathOperation(), MathOperationX(), SPM_ScanControl::setup_scan(), rhk_ScanControl::setup_scan(), SetView(), and Surface(). |
|
|
|
Definition at line 109 of file surface.h. Referenced by CleanupProfiles(), RemoveProfile(), and Surface(). |
|
|
|
Definition at line 108 of file surface.h. Referenced by AddProfile(), RemoveAllProfiles(), RemoveProfile(), and Surface(). |
|
Definition at line 114 of file surface.h. Referenced by SetRedraw(), and SetVM(). |
|
|
|
Definition at line 104 of file surface.h. Referenced by ActivateChannel(), Surf3d::ColorSrc(), SPM_ScanControl::initialize_scan_lists(), rhk_ScanControl::initialize_scan_lists(), MathOperation(), MathOperationX(), SetMode(), SPM_ScanControl::setup_scan(), rhk_ScanControl::setup_scan(), SetView(), Surface(), and ~Surface(). |
|
|
|
Definition at line 107 of file surface.h. Referenced by Surface(). |
|
Definition at line 111 of file surface.h. Referenced by Surface(). |