GfxBase Class Reference

#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
 Tell the Gfx which metric is should use.

Private Attributes

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

Detailed Description

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

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


Constructor & Destructor Documentation

GfxBase::GfxBase (  )  [inline]

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

00039 {}

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

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

References destroyed.

00040 { destroyed.emit(); }

GfxBase::GfxBase (  )  [inline]

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

00039 {}

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

Definition at line 40 of file Midad/HEAD/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/HEAD/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/HEAD/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]
ZoomPad* GfxBase::GetPad (  )  [inline]

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

References fPad.

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/HEAD/MultiPage/GfxBase.h.

References fPlaneView.

00064 { return fPlaneView; }

PlaneView::PlaneView_t GfxBase::GetPlaneView ( void   )  [inline]
const ViewState* GfxBase::GetViewState (  )  const [inline]

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

References fViewState.

00068 { return fViewState; }

ViewState* GfxBase::GetViewState (  )  [inline]

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

References fViewState.

00067 { return fViewState; }

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

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

References fViewState.

00070 { return fViewState; }

ViewState* GfxBase::GetViewState (  )  [inline]
virtual void GfxBase::Init ( PageDisplay ,
MultiPage  
) [inline, virtual]

Reimplemented in GfxDigitList, GfxStripList, and GfxTrackList.

Definition at line 46 of file Midad/HEAD/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/HEAD/GfxBase.h.

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

00046 {}

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

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

References fGraphicsView.

Referenced by EVD::AddGfx().

00065 { fGraphicsView = view; }

void GfxBase::SetPad ( ZoomPad pd  )  [inline]

Definition at line 73 of file EventDisplay/HEAD/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/HEAD/MultiPage/GfxBase.h.

References fPlaneView.

00065 { fPlaneView = view; }

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

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

References fPlaneView.

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

00067 { fPlaneView = view; }

void GfxBase::SetViewState ( ViewState vs  )  [inline]

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

References fViewState.

00069 { fViewState = vs; }

void GfxBase::SetViewState ( ViewState vs  )  [inline]

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

References fViewState.

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

00071 { fViewState = vs; }


Member Data Documentation

SigC::Signal0< void > GfxBase::destroyed

Tell the Gfx which metric is should use.

TObject methods to override: Called when object added to pad. virtual void Draw(Option_t* opt); Called when object should actually draw oneself virtual void Paint(Option_t* opt); Called when pointer interacts with object void ExecuteEvent(int event, int px, int py); 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/HEAD/GfxBase.h.

Referenced by ~GfxBase().

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

Referenced by GetGraphicsView(), and SetGraphicsView().

ZoomPad* GfxBase::fPad [private]

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

Referenced by GetPad(), and SetPad().

Definition at line 99 of file EventDisplay/HEAD/GfxBase.h.

Referenced by GetPlaneView(), and SetPlaneView().

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

Referenced by GetViewState(), and SetViewState().

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

The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1