Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

GfxBase Class Reference

The base class for things drawn into EVD's main views. More...

#include <GfxBase.h>

Inheritance diagram for GfxBase:

GfxDigitList GfxDigitList GfxMCVecList GfxShowerList GfxStripList GfxStripList GfxTrackList GfxTrackList List of all members.

Public Member Functions

 GfxBase ()
virtual ~GfxBase ()
virtual void Init (PageDisplay &, EVD &)
virtual void Configure (Mint &)
virtual GfxCfgGetCfg ()=0
GraphicsView::GraphicsView_t GetGraphicsView (void)
 Tell the Gfx which view it is displaying.
void SetGraphicsView (GraphicsView::GraphicsView_t view)
PlaneView::PlaneView_t GetPlaneView (void)
void SetPlaneView (PlaneView::PlaneView_t view)
ViewStateGetViewState ()
const ViewStateGetViewState () const
void SetViewState (ViewState *vs)
ZoomPadGetPad ()
void SetPad (ZoomPad *pd)
 GfxBase ()
virtual ~GfxBase ()
virtual void Init (PageDisplay &, MultiPage &)
virtual void Configure (Mint &)
virtual GfxCfgGetCfg ()=0
PlaneView::PlaneView_t GetPlaneView (void)
 Tell the Gfx which view it is displaying.
void SetPlaneView (PlaneView::PlaneView_t view)
ViewStateGetViewState ()
const ViewStateGetViewState () const
void SetViewState (ViewState *vs)

Public Attributes

SigC::Signal1< void, const
char * > 
text_info
SigC::Signal0< void > destroyed
 TObject methods to override:.
SigC::Signal1< void, const
char * > 
text_info
SigC::Signal0< void > destroyed
 TObject methods to override:.

Private Attributes

GraphicsView::GraphicsView_t fGraphicsView
PlaneView::PlaneView_t fPlaneView
ViewStatefViewState
ZoomPadfPad
ViewStatefViewState

Detailed Description

The base class for things drawn into EVD's main views.

Id
GfxBase.h,v 1.4 2005/07/21 20:32:48 bv Exp

EVD

Contact: bv@bnl.gov

Created on: Mon Oct 7 10:38:02 2002

Definition at line 34 of file EventDisplay/GfxBase.h.


Constructor & Destructor Documentation

GfxBase::GfxBase  )  [inline]
 

Definition at line 39 of file EventDisplay/GfxBase.h.

00039 {}

virtual GfxBase::~GfxBase  )  [inline, virtual]
 

Definition at line 40 of file EventDisplay/GfxBase.h.

References destroyed.

00040 { destroyed.emit(); }

GfxBase::GfxBase  )  [inline]
 

Definition at line 39 of file Midad/MultiPage/GfxBase.h.

00039 {}

virtual GfxBase::~GfxBase  )  [inline, virtual]
 

Definition at line 40 of file Midad/MultiPage/GfxBase.h.

References destroyed.

00040 { destroyed.emit(); }


Member Function Documentation

virtual void GfxBase::Configure Mint  )  [inline, virtual]
 

This is called every time the Mint object changes. The Gfx object should pull data from Mint to configure itself. Mint will exist for the lifetime of the Gfx object.

Reimplemented in GfxDigitList, GfxMCVecList, GfxShowerList, GfxStripList, GfxTrackList, GfxDigitList, GfxStripList, and GfxTrackList.

Definition at line 51 of file Midad/MultiPage/GfxBase.h.

00051 {}

virtual void GfxBase::Configure Mint  )  [inline, virtual]
 

This is called every time the Mint object changes. The Gfx object should pull data from Mint to configure itself. Mint will exist for the lifetime of the Gfx object.

Reimplemented in GfxDigitList, GfxMCVecList, GfxShowerList, GfxStripList, GfxTrackList, GfxDigitList, GfxStripList, and GfxTrackList.

Definition at line 51 of file EventDisplay/GfxBase.h.

00051 {}

virtual GfxCfg& GfxBase::GetCfg  )  [pure virtual]
 

Return the configurable associated with this Gfx. Some things may be set which are meaningless for a particular Gfx. The sub class MUST implement this because there is no way to create the base class CfgConfigurable.

Implemented in GfxDigitList, GfxMCVecList, GfxShowerList, GfxStripList, GfxTrackList, GfxDigitList, GfxStripList, and GfxTrackList.

virtual GfxCfg& GfxBase::GetCfg  )  [pure virtual]
 

Return the configurable associated with this Gfx. Some things may be set which are meaningless for a particular Gfx. The sub class MUST implement this because there is no way to create the base class CfgConfigurable.

Implemented in GfxDigitList, GfxMCVecList, GfxShowerList, GfxStripList, GfxTrackList, GfxDigitList, GfxStripList, and GfxTrackList.

Referenced by MultiPage::AddGfx().

GraphicsView::GraphicsView_t GfxBase::GetGraphicsView void   )  [inline]
 

Tell the Gfx which view it is displaying.

Definition at line 64 of file EventDisplay/GfxBase.h.

Referenced by GfxTrack::BuildDiscreteImp(), GfxShower::BuildDiscreteImp(), GfxMCVec::BuildDiscreteImp(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), GfxMCVec::BuildRealImp(), GfxDigitList::Configure(), GfxDigit::Configure(), GfxShower::GetCandShowerData(), GfxTrack::GetCandTrackData(), GfxDigitList::HideDigits(), GfxShowerList::HideShowers(), GfxStripList::HideStrips(), GfxTrackList::HideTracks(), and GfxMCVecList::HideVecs().

00064 { return fGraphicsView; }

ZoomPad* GfxBase::GetPad  )  [inline]
 

Definition at line 72 of file EventDisplay/GfxBase.h.

00072 {return fPad;}

PlaneView::PlaneView_t GfxBase::GetPlaneView void   )  [inline]
 

Tell the Gfx which view it is displaying.

Definition at line 64 of file Midad/MultiPage/GfxBase.h.

00064 { return fPlaneView; }

PlaneView::PlaneView_t GfxBase::GetPlaneView void   )  [inline]
 

Definition at line 66 of file EventDisplay/GfxBase.h.

Referenced by GfxTrack::BuildDiscreteImp(), GfxShower::BuildDiscreteImp(), GfxTrack::BuildRealImp(), GfxShower::BuildRealImp(), GfxShower::GetCandShowerData(), and GfxTrack::GetCandTrackData().

00066 { return fPlaneView; }

const ViewState* GfxBase::GetViewState  )  const [inline]
 

Definition at line 68 of file Midad/MultiPage/GfxBase.h.

00068 { return fViewState; }

ViewState* GfxBase::GetViewState  )  [inline]
 

Definition at line 67 of file Midad/MultiPage/GfxBase.h.

00067 { return fViewState; }

const ViewState* GfxBase::GetViewState  )  const [inline]
 

Definition at line 70 of file EventDisplay/GfxBase.h.

00070 { return fViewState; }

ViewState* GfxBase::GetViewState  )  [inline]
 

Definition at line 69 of file EventDisplay/GfxBase.h.

Referenced by GfxTrack::Configure(), GfxStrip::Configure(), GfxShower::Configure(), GfxMCVec::Configure(), GfxDigitList::Configure(), GfxDigit::Configure(), GfxDigitList::DigitMasked(), GfxDigitList::GetDigitColor(), GfxStripList::GetStripColor(), GfxTrackList::Init(), GfxStripList::Init(), GfxShowerList::Init(), GfxMCVecList::Init(), GfxDigitList::Init(), and GfxStripList::StripMasked().

00069 { return fViewState; }

virtual void GfxBase::Init PageDisplay ,
MultiPage
[inline, virtual]
 

Reimplemented in GfxDigitList, GfxStripList, and GfxTrackList.

Definition at line 46 of file Midad/MultiPage/GfxBase.h.

00046 {}

virtual void GfxBase::Init PageDisplay ,
EVD
[inline, virtual]
 

Reimplemented in GfxDigitList, GfxMCVecList, GfxShowerList, GfxStripList, and GfxTrackList.

Definition at line 46 of file EventDisplay/GfxBase.h.

Referenced by MultiPage::AddGfx(), and EVD::AddGfx().

00046 {}

void GfxBase::SetGraphicsView GraphicsView::GraphicsView_t  view  )  [inline]
 

Definition at line 65 of file EventDisplay/GfxBase.h.

References fGraphicsView.

Referenced by EVD::AddGfx().

00065 { fGraphicsView = view; }

void GfxBase::SetPad ZoomPad pd  )  [inline]
 

Definition at line 73 of file EventDisplay/GfxBase.h.

References fPad.

Referenced by EVD::AddGfx().

00073 {fPad=pd;}

void GfxBase::SetPlaneView PlaneView::PlaneView_t  view  )  [inline]
 

Definition at line 65 of file Midad/MultiPage/GfxBase.h.

References fPlaneView.

00065 { fPlaneView = view; }

void GfxBase::SetPlaneView PlaneView::PlaneView_t  view  )  [inline]
 

Definition at line 67 of file EventDisplay/GfxBase.h.

References fPlaneView.

Referenced by MultiPage::AddGfx(), and EVD::AddGfx().

00067 { fPlaneView = view; }

void GfxBase::SetViewState ViewState vs  )  [inline]
 

Definition at line 69 of file Midad/MultiPage/GfxBase.h.

References fViewState.

00069 { fViewState = vs; }

void GfxBase::SetViewState ViewState vs  )  [inline]
 

Definition at line 71 of file EventDisplay/GfxBase.h.

References fViewState.

Referenced by MultiPage::AddGfx(), and EVD::AddGfx().

00071 { fViewState = vs; }


Member Data Documentation

SigC::Signal0<void> GfxBase::destroyed
 

TObject methods to override:.

Called for pad to find out where object is in relation to pointer int DistancetoPrimitive(int px, int py);

Definition at line 92 of file Midad/MultiPage/GfxBase.h.

SigC::Signal0<void> GfxBase::destroyed
 

TObject methods to override:.

Called for pad to find out where object is in relation to pointer int DistancetoPrimitive(int px, int py);

Definition at line 95 of file EventDisplay/GfxBase.h.

Referenced by ~GfxBase().

GraphicsView::GraphicsView_t GfxBase::fGraphicsView [private]
 

Definition at line 98 of file EventDisplay/GfxBase.h.

Referenced by SetGraphicsView().

ZoomPad* GfxBase::fPad [private]
 

Definition at line 102 of file EventDisplay/GfxBase.h.

Referenced by SetPad().

PlaneView::PlaneView_t GfxBase::fPlaneView [private]
 

Definition at line 95 of file Midad/MultiPage/GfxBase.h.

Referenced by SetPlaneView().

ViewState* GfxBase::fViewState [private]
 

Definition at line 96 of file Midad/MultiPage/GfxBase.h.

ViewState* GfxBase::fViewState [private]
 

Definition at line 101 of file EventDisplay/GfxBase.h.

Referenced by SetViewState().

SigC::Signal1<void,const char*> GfxBase::text_info
 

Base classes should emit this signal to announce any short textual information

Definition at line 61 of file Midad/MultiPage/GfxBase.h.

SigC::Signal1<void,const char*> GfxBase::text_info
 

Base classes should emit this signal to announce any short textual information

Definition at line 61 of file EventDisplay/GfxBase.h.

Referenced by MultiPage::AddGfx(), and EVD::AddGfx().


The documentation for this class was generated from the following files:
Generated on Thu Nov 1 11:58:22 2007 for loon by  doxygen 1.3.9.1