Grey2D Class Reference

#include <view.h>

Inheritance diagram for Grey2D:

View View List of all members.

Public Member Functions

 Grey2D ()
 Grey2D (Scan *sc, int ChNo)
virtual ~Grey2D ()
virtual void hide ()
virtual int draw (int zoomoverride=FALSE)
virtual int update (int y1, int y2)
virtual void add_object (int type, gpointer data)
virtual void setup_data_transformation ()
virtual void ZoomIn ()
virtual void ZoomOut ()
virtual void show_tip ()
virtual void hide_tip ()
virtual void show_trace ()
virtual void hide_trace ()
virtual void update_trace ()
virtual void update_events ()
virtual void remove_events ()
virtual void update_event_info (ScanEvent *se)
 Grey2D ()
 Grey2D (Scan *sc, int ChNo)
virtual ~Grey2D ()
virtual void hide ()
virtual int draw (int zoomoverride=FALSE)
virtual int update (int y1, int y2)
virtual void add_object (int type, gpointer data)
virtual void setup_data_transformation ()
virtual void ZoomIn ()
virtual void ZoomOut ()
virtual void show_tip ()
virtual void hide_tip ()
virtual void show_trace ()
virtual void hide_trace ()
virtual void update_trace ()
virtual void update_events ()
virtual void remove_events ()
virtual void update_event_info (ScanEvent *se)

Static Public Member Functions

static int SetZF (int zf, int qf, Grey2D *p)
static int SetZF (int zf, int qf, Grey2D *p)

Private Attributes

int MaxColor
int XPM_x
int XPM_y
int oXPMx
int oXPMy
int oZ
int oQ
int oMC
int oVm
int userzoom
ViewControlviewcontrol
ShmImage2DXImg
ViewControlviewcontrol
ShmImage2DXImg

Detailed Description

Definition at line 142 of file view.h.


Constructor & Destructor Documentation

Grey2D::Grey2D  ) 
 

Definition at line 244 of file view.C.

References FALSE, oMC, oQ, oVm, oXPMx, oXPMy, oZ, userzoom, viewcontrol, and XImg.

Grey2D::Grey2D Scan sc,
int  ChNo
 

Definition at line 236 of file view.C.

References DBG_L2, FALSE, oMC, oQ, oVm, oXPMx, oXPMy, oZ, userzoom, viewcontrol, XImg, and XSM_DEBUG.

Grey2D::~Grey2D  )  [virtual]
 

Definition at line 251 of file view.C.

References DBG_L2, hide(), and XSM_DEBUG.

Grey2D::Grey2D  ) 
 

Grey2D::Grey2D Scan sc,
int  ChNo
 

virtual Grey2D::~Grey2D  )  [virtual]
 


Member Function Documentation

virtual void Grey2D::add_object int  type,
gpointer  data
[virtual]
 

Reimplemented from View.

void Grey2D::add_object int  type,
gpointer  data
[virtual]
 

Reimplemented from View.

Definition at line 302 of file view.C.

References FALSE, ViewControl::GetCanvas(), Scan::Pkt2d, View::scan, viewcontrol, and VOBJ_COORD_ABSOLUT.

virtual int Grey2D::draw int  zoomoverride = FALSE  )  [virtual]
 

Reimplemented from View.

int Grey2D::draw int  zoomoverride = FALSE  )  [virtual]
 

Reimplemented from View.

Definition at line 367 of file view.C.

References Surface::ActiveChannel, BenchStart, BenchStop, View::ChanNo, View::data, DBG_L2, DBG_L5, FALSE, gapp, Mem2d::GetEname(), Mem2d::GetLayer(), ShmImage2D::GetMaxCol(), Mem2d::GetNx(), Mem2d::GetNy(), ViewControl::GetXImg(), MaxColor, View::mem2d, ShmImage2D::MkPalette(), Scan_UserInfo::name, oMC, oQ, Scan_UserInfo::originalname, oVm, oXPMx, oXPMy, oZ, XSMRESOURCES::Palette, View::QuenchFac, ViewControl::Resize(), View::scan, ViewControl::SetActive(), ViewControl::SetTitle(), SetZF(), ViewControl::SetZoomQFkt(), AppBase::show(), TRUE, SCAN_DATA::ui, update(), userzoom, VIEW_INFO, VIEW_PALETTE, VIEW_Z400, VIEW_Z600, VIEW_ZOOM, viewcontrol, XImg, XPM_x, XPM_y, XSHMIMG_MAXZOOM, App::xsm, XSM_DEBUG, xsmres, View::ZoomFac, and Xsm::ZoomFlg.

Referenced by SetZF(), ZoomIn(), and ZoomOut().

virtual void Grey2D::hide  )  [virtual]
 

Reimplemented from View.

void Grey2D::hide  )  [virtual]
 

Reimplemented from View.

Definition at line 256 of file view.C.

References DBG_L2, viewcontrol, XImg, and XSM_DEBUG.

Referenced by ~Grey2D().

virtual void Grey2D::hide_tip  )  [virtual]
 

Reimplemented from View.

void Grey2D::hide_tip  )  [virtual]
 

Reimplemented from View.

Definition at line 469 of file view.C.

virtual void Grey2D::hide_trace  )  [virtual]
 

Reimplemented from View.

void Grey2D::hide_trace  )  [virtual]
 

Reimplemented from View.

Definition at line 477 of file view.C.

References ViewControl::remove_trace(), and viewcontrol.

virtual void Grey2D::remove_events  )  [virtual]
 

Reimplemented from View.

void Grey2D::remove_events  )  [virtual]
 

Reimplemented from View.

Definition at line 485 of file view.C.

References Scan::mem2d, ViewControl::RemoveEventObjects(), Mem2d::RemoveScanEvents(), View::scan, and viewcontrol.

virtual void Grey2D::setup_data_transformation  )  [virtual]
 

Reimplemented from View.

void Grey2D::setup_data_transformation  )  [virtual]
 

Reimplemented from View.

Definition at line 355 of file view.C.

References View::data, SCAN_DATA::display, gapp, MaxColor, View::mem2d, Mem2d::SetDataPktMode(), Mem2d::SetDataRange(), View::update_mxyz_from_points(), VIEW_COLOR, Display_Param::ViewFlg, App::xsm, and Xsm::ZoomFlg.

static int Grey2D::SetZF int  zf,
int  qf,
Grey2D p
[static]
 

int Grey2D::SetZF int  zf,
int  qf,
Grey2D p
[static]
 

Definition at line 339 of file view.C.

References draw(), View::QuenchFac, TRUE, userzoom, View::ZoomFac, ZoomIn(), and ZoomOut().

Referenced by draw().

virtual void Grey2D::show_tip  )  [virtual]
 

Reimplemented from View.

void Grey2D::show_tip  )  [virtual]
 

Reimplemented from View.

Definition at line 466 of file view.C.

virtual void Grey2D::show_trace  )  [virtual]
 

Reimplemented from View.

void Grey2D::show_trace  )  [virtual]
 

Reimplemented from View.

Definition at line 473 of file view.C.

References update_trace().

virtual int Grey2D::update int  y1,
int  y2
[virtual]
 

Reimplemented from View.

int Grey2D::update int  y1,
int  y2
[virtual]
 

Reimplemented from View.

Definition at line 264 of file view.C.

References Surface::ActiveChannel, View::ChanNo, FALSE, gapp, Mem2d::GetDataVMode(), Mem2d::GetNx(), View::mem2d, Scan::Pkt2dScanLine, ShmImage2D::PutPixel(), View::QuenchFac, View::scan, ViewControl::SetActive(), ShmImage2D::ShowPic(), ShmImage2D::ShowSubPic(), TRUE, viewcontrol, Point2D::x, XImg, App::xsm, and Point2D::y.

Referenced by draw().

virtual void Grey2D::update_event_info ScanEvent se  )  [virtual]
 

Reimplemented from View.

void Grey2D::update_event_info ScanEvent se  )  [virtual]
 

Reimplemented from View.

Definition at line 317 of file view.C.

References ViewControl::update_event_panel(), and viewcontrol.

virtual void Grey2D::update_events  )  [virtual]
 

Reimplemented from View.

void Grey2D::update_events  )  [virtual]
 

Reimplemented from View.

Definition at line 312 of file view.C.

References ViewControl::events_update(), and viewcontrol.

virtual void Grey2D::update_trace  )  [virtual]
 

Reimplemented from View.

void Grey2D::update_trace  )  [virtual]
 

Reimplemented from View.

Definition at line 481 of file view.C.

Referenced by show_trace().

virtual void Grey2D::ZoomIn  )  [virtual]
 

Reimplemented from View.

void Grey2D::ZoomIn  )  [virtual]
 

Reimplemented from View.

Definition at line 323 of file view.C.

References draw(), View::QuenchFac, TRUE, and View::ZoomFac.

Referenced by SetZF().

virtual void Grey2D::ZoomOut  )  [virtual]
 

Reimplemented from View.

void Grey2D::ZoomOut  )  [virtual]
 

Reimplemented from View.

Definition at line 331 of file view.C.

References draw(), View::QuenchFac, TRUE, and View::ZoomFac.

Referenced by SetZF().


Member Data Documentation

int Grey2D::MaxColor [private]
 

Definition at line 173 of file view.h.

Referenced by draw(), and setup_data_transformation().

int Grey2D::oMC [private]
 

Definition at line 175 of file view.h.

Referenced by draw(), and Grey2D().

int Grey2D::oQ [private]
 

Definition at line 175 of file view.h.

Referenced by draw(), and Grey2D().

int Grey2D::oVm [private]
 

Definition at line 176 of file view.h.

Referenced by draw(), and Grey2D().

int Grey2D::oXPMx [private]
 

Definition at line 175 of file view.h.

Referenced by draw(), and Grey2D().

int Grey2D::oXPMy [private]
 

Definition at line 175 of file view.h.

Referenced by draw(), and Grey2D().

int Grey2D::oZ [private]
 

Definition at line 175 of file view.h.

Referenced by draw(), and Grey2D().

int Grey2D::userzoom [private]
 

Definition at line 177 of file view.h.

Referenced by draw(), Grey2D(), and SetZF().

ViewControl* Grey2D::viewcontrol [private]
 

Definition at line 179 of file view.h.

ViewControl* Grey2D::viewcontrol [private]
 

Definition at line 179 of file view.h.

Referenced by add_object(), draw(), Grey2D(), hide(), hide_trace(), remove_events(), update(), update_event_info(), and update_events().

ShmImage2D* Grey2D::XImg [private]
 

Definition at line 180 of file view.h.

ShmImage2D* Grey2D::XImg [private]
 

Definition at line 180 of file view.h.

Referenced by draw(), Grey2D(), hide(), and update().

int Grey2D::XPM_x [private]
 

Definition at line 174 of file view.h.

Referenced by draw().

int Grey2D::XPM_y [private]
 

Definition at line 174 of file view.h.

Referenced by draw().


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