ProfileElement Class Reference

#include <app_profile.h>

List of all members.

Public Member Functions

 ProfileElement (Scan *sc, ProfileControl *pc, gchar *color=NULL, int Yy=0)
 ProfileElement (ProfileElement *pe, gchar *color=NULL, int Yy=0)
 ~ProfileElement ()
int GetNy ()
void SetY (int Yy=0)
void SetLastY ()
void SetMode (long Mode)
void SetOptions (long Flg)
void calc (int ymode=0)
void draw (GtkWidget *canvas)
void GetCurXYc (double *x, double *y, int i)
int GetCurX (double *x, double *y)
gchar * GetInfo (int i, int ymode=0)
double GetValue (int i)
int nextMax (int i, int dir, double eps=1.)
int nextMin (int i, int dir, double eps=1.)
gchar * GetDeltaInfo (int i, int j, int ymode=0)
 ProfileElement (Scan *sc, ProfileControl *pc, gchar *color=NULL, int Yy=0)
 ProfileElement (ProfileElement *pe, gchar *color=NULL, int Yy=0)
 ~ProfileElement ()
int GetNy ()
void SetY (int Yy=0)
void SetLastY ()
void SetMode (long Mode)
void SetOptions (long Flg)
void calc (int ymode=0)
void draw (GtkWidget *canvas)
void GetCurXYc (double *x, double *y, int i)
int GetCurX (double *x, double *y)
gchar * GetInfo (int i, int ymode=0)
double GetValue (int i)
int nextMax (int i, int dir, double eps=1.)
int nextMin (int i, int dir, double eps=1.)
gchar * GetDeltaInfo (int i, int j, int ymode=0)

Public Attributes

double ylocmin
double ylocmax
double xlocmin
double xlocmax

Private Attributes

int n
int yy
ProfileControlpctrl
GnomeCanvasPoints * pn
GnomeCanvasItem * pathitem
Scanscan
Scanpsd_scan
gchar * color
long flg
long mode
ProfileControlpctrl
GnomeCanvasPoints * pn
GnomeCanvasItem * pathitem
Scanscan
Scanpsd_scan
gchar * color


Detailed Description

Definition at line 62 of file app_profile.h.


Constructor & Destructor Documentation

ProfileElement::ProfileElement Scan sc,
ProfileControl pc,
gchar *  color = NULL,
int  Yy = 0
 

Definition at line 63 of file app_profile.C.

References color, DBG_L2, pathitem, pctrl, pn, psd_scan, scan, XSM_DEBUG, and yy.

ProfileElement::ProfileElement ProfileElement pe,
gchar *  color = NULL,
int  Yy = 0
 

Definition at line 80 of file app_profile.C.

References color, DBG_L2, pathitem, pctrl, pn, psd_scan, scan, XSM_DEBUG, and yy.

ProfileElement::~ProfileElement  ) 
 

Definition at line 97 of file app_profile.C.

References color, DBG_L2, pathitem, pn, and XSM_DEBUG.

ProfileElement::ProfileElement Scan sc,
ProfileControl pc,
gchar *  color = NULL,
int  Yy = 0
 

ProfileElement::ProfileElement ProfileElement pe,
gchar *  color = NULL,
int  Yy = 0
 

ProfileElement::~ProfileElement  ) 
 


Member Function Documentation

void ProfileElement::calc int  ymode = 0  ) 
 

void ProfileElement::calc int  ymode = 0  ) 
 

Definition at line 114 of file app_profile.C.

References UnitObj::Base2Usr(), Mem2d::data, Scan::data, Scan_Param::dz, F1D_LogPowerSpec(), Mem2d::GetDataPktLineReg(), Mem2d::GetNx(), ZData::GetXLookup(), Scan::mem2d, n, pn, PROFILE_MODE_YLINREG, PROFILE_MODE_YPSD, XSMRESOURCES::ProfileLogLimit, psd_scan, SCAN_DATA::s, scan, xsmres, SCAN_DATA::Xunit, ylocmax, ylocmin, yy, and SCAN_DATA::Zunit.

Referenced by ProfileControl::draw_elem().

void ProfileElement::draw GtkWidget *  canvas  ) 
 

void ProfileElement::draw GtkWidget *  canvas  ) 
 

Definition at line 188 of file app_profile.C.

References color, pathitem, pctrl, pn, and ProfileControl::scan2canvas().

Referenced by ProfileControl::draw_elem().

int ProfileElement::GetCurX double *  x,
double *  y
[inline]
 

Definition at line 84 of file app_profile.h.

References n, and pn.

int ProfileElement::GetCurX double *  x,
double *  y
[inline]
 

Definition at line 84 of file app_profile.h.

References n, and pn.

Referenced by ProfileControl::moveCur().

void ProfileElement::GetCurXYc double *  x,
double *  y,
int  i
[inline]
 

Definition at line 78 of file app_profile.h.

References pn.

void ProfileElement::GetCurXYc double *  x,
double *  y,
int  i
[inline]
 

Definition at line 78 of file app_profile.h.

References pn.

Referenced by GetInfo(), ProfileControl::moveCur(), and ProfileControl::showCur().

gchar* ProfileElement::GetDeltaInfo int  i,
int  j,
int  ymode = 0
[inline]
 

Definition at line 158 of file app_profile.h.

References atan(), Scan::data, Mem2d::data, Scan_Param::dz, Mem2d::GetDataPkt(), Mem2d::GetDataPktLineReg(), ZData::GetXLookup(), Scan::mem2d, PROFILE_MODE_YLINREG, PROFILE_MODE_YPSD, SCAN_DATA::s, UnitObj::UsrString(), UTF8_DEGREE, SCAN_DATA::Xunit, and SCAN_DATA::Zunit.

gchar* ProfileElement::GetDeltaInfo int  i,
int  j,
int  ymode = 0
[inline]
 

Definition at line 158 of file app_profile.h.

References atan(), Scan::data, Mem2d::data, Scan_Param::dz, Mem2d::GetDataPkt(), Mem2d::GetDataPktLineReg(), ZData::GetXLookup(), Scan::mem2d, PROFILE_MODE_YLINREG, PROFILE_MODE_YPSD, SCAN_DATA::s, UnitObj::UsrString(), UTF8_DEGREE, SCAN_DATA::Xunit, and SCAN_DATA::Zunit.

Referenced by ProfileControl::moveCur().

gchar* ProfileElement::GetInfo int  i,
int  ymode = 0
[inline]
 

Definition at line 96 of file app_profile.h.

References Scan::data, Mem2d::data, Scan_Param::dz, GetCurXYc(), Mem2d::GetDataPkt(), Mem2d::GetDataPktLineReg(), ZData::GetXLookup(), Scan::mem2d, PROFILE_MODE_YLINREG, PROFILE_MODE_YPSD, psd_scan, SCAN_DATA::s, scan, UnitObj::UsrString(), SCAN_DATA::Xunit, yy, and SCAN_DATA::Zunit.

gchar* ProfileElement::GetInfo int  i,
int  ymode = 0
[inline]
 

Definition at line 96 of file app_profile.h.

References Scan::data, Mem2d::data, Scan_Param::dz, GetCurXYc(), Mem2d::GetDataPkt(), Mem2d::GetDataPktLineReg(), ZData::GetXLookup(), Scan::mem2d, PROFILE_MODE_YLINREG, PROFILE_MODE_YPSD, psd_scan, SCAN_DATA::s, scan, UnitObj::UsrString(), SCAN_DATA::Xunit, yy, and SCAN_DATA::Zunit.

Referenced by ProfileControl::moveCur().

int ProfileElement::GetNy  )  [inline]
 

Definition at line 69 of file app_profile.h.

References Mem2d::GetNy(), Scan::mem2d, and scan.

int ProfileElement::GetNy  )  [inline]
 

Definition at line 69 of file app_profile.h.

References Mem2d::GetNy(), Scan::mem2d, and scan.

Referenced by ProfileControl::sel_all_callback().

double ProfileElement::GetValue int  i  )  [inline]
 

Definition at line 119 of file app_profile.h.

References Scan::data, Scan_Param::dz, Mem2d::GetDataPktLineReg(), Scan::mem2d, SCAN_DATA::s, scan, and yy.

double ProfileElement::GetValue int  i  )  [inline]
 

Definition at line 119 of file app_profile.h.

References Scan::data, Scan_Param::dz, Mem2d::GetDataPktLineReg(), Scan::mem2d, SCAN_DATA::s, scan, and yy.

int ProfileElement::nextMax int  i,
int  dir,
double  eps = 1.
[inline]
 

Definition at line 125 of file app_profile.h.

References Mem2d::GetDataPktLineReg(), Scan::mem2d, n, nextMin(), scan, and yy.

int ProfileElement::nextMax int  i,
int  dir,
double  eps = 1.
[inline]
 

Definition at line 125 of file app_profile.h.

References Mem2d::GetDataPktLineReg(), Scan::mem2d, n, nextMin(), scan, and yy.

Referenced by ProfileControl::moveCur().

int ProfileElement::nextMin int  i,
int  dir,
double  eps = 1.
[inline]
 

Definition at line 142 of file app_profile.h.

int ProfileElement::nextMin int  i,
int  dir,
double  eps = 1.
[inline]
 

Definition at line 142 of file app_profile.h.

Referenced by ProfileControl::moveCur(), and nextMax().

void ProfileElement::SetLastY  )  [inline]
 

Definition at line 71 of file app_profile.h.

References Mem2d::GetNy(), Scan::mem2d, scan, and yy.

void ProfileElement::SetLastY  )  [inline]
 

Definition at line 71 of file app_profile.h.

References Mem2d::GetNy(), Scan::mem2d, scan, and yy.

Referenced by ProfileControl::sel_last_callback().

void ProfileElement::SetMode long  Mode  ) 
 

void ProfileElement::SetMode long  Mode  ) 
 

Definition at line 106 of file app_profile.C.

References mode.

void ProfileElement::SetOptions long  Flg  ) 
 

void ProfileElement::SetOptions long  Flg  ) 
 

Definition at line 110 of file app_profile.C.

References flg.

void ProfileElement::SetY int  Yy = 0  )  [inline]
 

Definition at line 70 of file app_profile.h.

References yy.

void ProfileElement::SetY int  Yy = 0  )  [inline]
 

Definition at line 70 of file app_profile.h.

References yy.

Referenced by ProfileControl::NewData(), ProfileControl::sel_all_callback(), and ProfileControl::sel_first_callback().


Member Data Documentation

gchar* ProfileElement::color [private]
 

Definition at line 201 of file app_profile.h.

gchar* ProfileElement::color [private]
 

Definition at line 201 of file app_profile.h.

Referenced by draw(), ProfileElement(), and ~ProfileElement().

long ProfileElement::flg [private]
 

Definition at line 202 of file app_profile.h.

Referenced by SetOptions().

long ProfileElement::mode [private]
 

Definition at line 203 of file app_profile.h.

Referenced by SetMode().

int ProfileElement::n [private]
 

Definition at line 192 of file app_profile.h.

Referenced by calc(), GetCurX(), and nextMax().

GnomeCanvasItem* ProfileElement::pathitem [private]
 

Definition at line 197 of file app_profile.h.

GnomeCanvasItem* ProfileElement::pathitem [private]
 

Definition at line 197 of file app_profile.h.

Referenced by draw(), ProfileElement(), and ~ProfileElement().

ProfileControl* ProfileElement::pctrl [private]
 

Definition at line 195 of file app_profile.h.

ProfileControl* ProfileElement::pctrl [private]
 

Definition at line 195 of file app_profile.h.

Referenced by draw(), and ProfileElement().

GnomeCanvasPoints* ProfileElement::pn [private]
 

Definition at line 196 of file app_profile.h.

GnomeCanvasPoints* ProfileElement::pn [private]
 

Definition at line 196 of file app_profile.h.

Referenced by calc(), draw(), GetCurX(), GetCurXYc(), ProfileElement(), and ~ProfileElement().

Scan* ProfileElement::psd_scan [private]
 

Definition at line 200 of file app_profile.h.

Scan* ProfileElement::psd_scan [private]
 

Definition at line 200 of file app_profile.h.

Referenced by calc(), GetInfo(), and ProfileElement().

Scan* ProfileElement::scan [private]
 

Definition at line 199 of file app_profile.h.

Scan* ProfileElement::scan [private]
 

Definition at line 199 of file app_profile.h.

Referenced by calc(), GetInfo(), GetNy(), GetValue(), nextMax(), ProfileElement(), and SetLastY().

double ProfileElement::xlocmax
 

Definition at line 190 of file app_profile.h.

Referenced by ProfileControl::draw_elem().

double ProfileElement::xlocmin
 

Definition at line 190 of file app_profile.h.

Referenced by ProfileControl::draw_elem().

double ProfileElement::ylocmax
 

Definition at line 187 of file app_profile.h.

Referenced by calc(), and ProfileControl::draw_elem().

double ProfileElement::ylocmin
 

Definition at line 187 of file app_profile.h.

Referenced by calc(), and ProfileControl::draw_elem().

int ProfileElement::yy [private]
 

Definition at line 193 of file app_profile.h.

Referenced by calc(), GetInfo(), GetValue(), nextMax(), ProfileElement(), SetLastY(), and SetY().


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