LineProfile1D Class Reference

#include <lineprofile.h>

Inheritance diagram for LineProfile1D:

ProfileControl ProfileControl List of all members.

Public Member Functions

 LineProfile1D ()
 LineProfile1D (int n, UnitObj *ux, UnitObj *uy, double xmin=0., double xmax=1.)
virtual ~LineProfile1D ()
double GetPoint (int n)
void SetPoint (int n, double y)
void SetPoint (int n, double x, double y)
void AddPoint (int n, double a)
void MulPoint (int n, double f)
int SetData (Scan *sc, int line=-1)
int load (gchar *fname)
int save (gchar *fname)
 LineProfile1D ()
 LineProfile1D (int n, UnitObj *ux, UnitObj *uy, double xmin=0., double xmax=1.)
virtual ~LineProfile1D ()
double GetPoint (int n)
void SetPoint (int n, double y)
void SetPoint (int n, double x, double y)
void AddPoint (int n, double a)
void MulPoint (int n, double f)
int SetData (Scan *sc, int line=-1)
int load (gchar *fname)
int save (gchar *fname)

Public Attributes

GSList * ScanList
Scanmasterscan
Scanscan1d
GSList * ScanList
Scanmasterscan
Scanscan1d

Private Attributes

int private_scan
int ChanNo

Detailed Description

Definition at line 44 of file lineprofile.h.


Constructor & Destructor Documentation

LineProfile1D::LineProfile1D  ) 
 

Definition at line 32 of file lineprofile.C.

References masterscan, private_scan, scan1d, and TRUE.

LineProfile1D::LineProfile1D int  n,
UnitObj ux,
UnitObj uy,
double  xmin = 0.,
double  xmax = 1.
 

Definition at line 38 of file lineprofile.C.

References Scan_Param::alpha, Scan::create(), Mem2d::data, Scan::data, Scan_Param::dl, Scan_Param::dx, Scan_Param::dy, Scan_Param::dz, masterscan, Scan::mem2d, ZData::MkXLookup(), Scan_Param::nx, Scan_Param::ny, private_scan, Scan_Param::rx, Scan_Param::ry, Scan_Param::rz, SCAN_DATA::s, scan1d, SCAN_DATA::SetXUnit(), SCAN_DATA::SetYUnit(), SCAN_DATA::SetZUnit(), TRUE, Scan_Param::x0, Scan_Param::y0, and ZD_DOUBLE.

LineProfile1D::~LineProfile1D  )  [virtual]
 

Definition at line 69 of file lineprofile.C.

References private_scan, and scan1d.

LineProfile1D::LineProfile1D  ) 
 

LineProfile1D::LineProfile1D int  n,
UnitObj ux,
UnitObj uy,
double  xmin = 0.,
double  xmax = 1.
 

virtual LineProfile1D::~LineProfile1D  )  [virtual]
 


Member Function Documentation

void LineProfile1D::AddPoint int  n,
double  a
 

void LineProfile1D::AddPoint int  n,
double  a
 

Definition at line 373 of file lineprofile.C.

References Mem2d::data, Scan::mem2d, scan1d, and ZData::Zadd().

Referenced by histogram_run().

double LineProfile1D::GetPoint int  n  ) 
 

double LineProfile1D::GetPoint int  n  ) 
 

Definition at line 362 of file lineprofile.C.

References Mem2d::GetDataPkt(), Scan::mem2d, and scan1d.

int LineProfile1D::load gchar *  fname  ) 
 

int LineProfile1D::load gchar *  fname  ) 
 

Definition at line 77 of file lineprofile.C.

References DBG_L3, and XSM_DEBUG.

Referenced by ProfileControl::ProfileControl().

void LineProfile1D::MulPoint int  n,
double  f
 

void LineProfile1D::MulPoint int  n,
double  f
 

Definition at line 374 of file lineprofile.C.

References Mem2d::data, Scan::mem2d, scan1d, and ZData::Zmul().

int LineProfile1D::save gchar *  fname  ) 
 

int LineProfile1D::save gchar *  fname  ) 
 

Definition at line 256 of file lineprofile.C.

Referenced by ProfileControl::file_print_callback(), ProfileControl::file_save_as_callback(), and ProfileControl::file_save_callback().

int LineProfile1D::SetData Scan sc,
int  line = -1
 

int LineProfile1D::SetData Scan sc,
int  line = -1
 

Definition at line 308 of file lineprofile.C.

References SCAN_DATA::CpUnits(), Scan::CpyDataSet(), Scan::create(), Scan::data, FALSE, Scan::get_data(), Mem2d::GetArcDataLineFrom(), Mem2d::GetDataLineFrom(), Mem2d::GetLayerDataLineFrom(), XSMRESOURCES::LineProfileOrgMode, MCIRC, Scan::mem2d, MPOINT, Scan_Param::ny, Scan::Pkt2d, Scan::Pkt2dScanLine, Scan::PktVal, private_scan, Scan::RedLineActive, SCAN_DATA::s, scan1d, TRUE, and xsmres.

Referenced by ProfileControl::NewData().

void LineProfile1D::SetPoint int  n,
double  x,
double  y
 

void LineProfile1D::SetPoint int  n,
double  y
 

void LineProfile1D::SetPoint int  n,
double  x,
double  y
 

Definition at line 367 of file lineprofile.C.

References Mem2d::data, Scan::mem2d, Mem2d::PutDataPkt(), scan1d, and ZData::SetXLookup().

void LineProfile1D::SetPoint int  n,
double  y
 

Definition at line 366 of file lineprofile.C.

References Scan::mem2d, Mem2d::PutDataPkt(), and scan1d.

Referenced by histogram_run().


Member Data Documentation

int LineProfile1D::ChanNo [private]
 

Definition at line 67 of file lineprofile.h.

Scan* LineProfile1D::masterscan
 

Definition at line 62 of file lineprofile.h.

Scan* LineProfile1D::masterscan
 

Definition at line 62 of file lineprofile.h.

Referenced by LineProfile1D().

int LineProfile1D::private_scan [private]
 

Definition at line 66 of file lineprofile.h.

Referenced by LineProfile1D(), SetData(), and ~LineProfile1D().

Scan* LineProfile1D::scan1d
 

Definition at line 63 of file lineprofile.h.

Scan* LineProfile1D::scan1d
 

Definition at line 63 of file lineprofile.h.

Referenced by AddPoint(), ProfileControl::file_save_as_callback(), ProfileControl::file_save_callback(), GetPoint(), LineProfile1D(), MulPoint(), ProfileControl::NewData(), ProfileControl::ProfileControl(), SetData(), SetPoint(), and ~LineProfile1D().

GSList* LineProfile1D::ScanList
 

Reimplemented in ProfileControl, and ProfileControl.

Definition at line 60 of file lineprofile.h.

GSList* LineProfile1D::ScanList
 

Reimplemented in ProfileControl, and ProfileControl.

Definition at line 60 of file lineprofile.h.


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