Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4MarkerPainter Class Reference

#include <TGo4MarkerPainter.h>

Inheritance diagram for TGo4MarkerPainter:

TGo4LabelPainter List of all members.

Public Member Functions

 TGo4MarkerPainter ()
 TGo4MarkerPainter (const char *name, const char *title="Go4 MarkerPainter")
virtual ~TGo4MarkerPainter ()
virtual void PaintLabel (Option_t *opt="")
 Display coordinate label for this marker.
virtual void UnPaintLabel (Option_t *opt="")
 Erase the label.
void PaintConnector (Option_t *opt="")
void UnPaintConnector (Option_t *opt="")
virtual void DisplayToFront (Option_t *opt="")
 pop all components to the front of the pad
virtual void SetMarker (TGo4Marker *mark)

Protected Member Functions

Bool_t CheckConnector ()
 Check if connector is still existing.

Protected Attributes

TGo4MarkerfxMarker
 Marker to be painted.
TGo4LabelConnectorfxConnector
 Connection line between marker and label.

Private Attributes

Bool_t fbIsConStreamed
 Flag to handle streamed connector from file correctly.

Constructor & Destructor Documentation

TGo4MarkerPainter::TGo4MarkerPainter  ) 
 

Definition at line 28 of file TGo4MarkerPainter.cxx.

TGo4MarkerPainter::TGo4MarkerPainter const char *  name,
const char *  title = "Go4 MarkerPainter"
 

Definition at line 37 of file TGo4MarkerPainter.cxx.

TGo4MarkerPainter::~TGo4MarkerPainter  )  [virtual]
 

Definition at line 46 of file TGo4MarkerPainter.cxx.

References fxConnector.


Member Function Documentation

void TGo4MarkerPainter::PaintLabel Option_t *  opt = ""  )  [virtual]
 

Display coordinate label for this marker.

Reimplemented from TGo4LabelPainter.

Definition at line 56 of file TGo4MarkerPainter.cxx.

References TGo4LabelPainter::AddToLabel(), fxMarker, TGo4Marker::GetCont(), TGo4Marker::GetHistogram(), TGo4Marker::GetLabelX(), TGo4Marker::GetLabelY(), TGo4Marker::GetName(), TGo4Marker::GetXbin(), TGo4Marker::GetYbin(), TGo4Marker::HasLabel(), TGo4Marker::IsContDraw(), TGo4Marker::IsXbinDraw(), TGo4Marker::IsXDraw(), TGo4Marker::IsYbinDraw(), TGo4Marker::IsYDraw(), PaintConnector(), TGo4LabelPainter::PaintLabel(), TGo4LabelPainter::RePaintLabel(), TGo4LabelPainter::SetCaption(), TGo4LabelPainter::SetX0(), TGo4LabelPainter::SetY0(), and UnPaintLabel().

Referenced by TGo4Marker::Paint(), and TGo4Marker::ResetLabel().

void TGo4MarkerPainter::UnPaintLabel Option_t *  opt = ""  )  [virtual]
 

Erase the label.

Reimplemented from TGo4LabelPainter.

Definition at line 119 of file TGo4MarkerPainter.cxx.

References UnPaintConnector(), and TGo4LabelPainter::UnPaintLabel().

Referenced by PaintLabel(), TGo4Marker::ResetLabel(), and TGo4Marker::UnDraw().

void TGo4MarkerPainter::PaintConnector Option_t *  opt = ""  ) 
 

Definition at line 147 of file TGo4MarkerPainter.cxx.

References CheckConnector(), fxConnector, fxMarker, TGo4LabelPainter::GetLabelXlo(), TGo4LabelPainter::GetLabelXup(), TGo4LabelPainter::GetLabelYlo(), TGo4LabelPainter::GetLabelYup(), TGo4Marker::HasConnector(), TGo4LabelConnector::SetOwner(), and UnPaintConnector().

Referenced by DisplayToFront(), and PaintLabel().

void TGo4MarkerPainter::UnPaintConnector Option_t *  opt = ""  ) 
 

Definition at line 259 of file TGo4MarkerPainter.cxx.

References CheckConnector(), and fxConnector.

Referenced by DisplayToFront(), PaintConnector(), and UnPaintLabel().

void TGo4MarkerPainter::DisplayToFront Option_t *  opt = ""  )  [virtual]
 

pop all components to the front of the pad

Reimplemented from TGo4LabelPainter.

Definition at line 271 of file TGo4MarkerPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), fxMarker, PaintConnector(), and UnPaintConnector().

Referenced by TGo4Marker::ExecuteEvent(), and TGo4Marker::Pop().

virtual void TGo4MarkerPainter::SetMarker TGo4Marker mark  )  [inline, virtual]
 

Definition at line 37 of file TGo4MarkerPainter.h.

References fxMarker.

Referenced by TGo4Marker::CreatePainter().

Bool_t TGo4MarkerPainter::CheckConnector  )  [protected]
 

Check if connector is still existing.

Uses root list of cleanups.

Definition at line 127 of file TGo4MarkerPainter.cxx.

References fbIsConStreamed, fxConnector, TGo4LabelConnector::fxLastDeleted, and TGo4LabelConnector::SetOwner().

Referenced by PaintConnector(), and UnPaintConnector().


Member Data Documentation

TGo4Marker* TGo4MarkerPainter::fxMarker [protected]
 

Marker to be painted.

Definition at line 45 of file TGo4MarkerPainter.h.

Referenced by DisplayToFront(), PaintConnector(), PaintLabel(), and SetMarker().

TGo4LabelConnector* TGo4MarkerPainter::fxConnector [protected]
 

Connection line between marker and label.

Definition at line 48 of file TGo4MarkerPainter.h.

Referenced by CheckConnector(), PaintConnector(), UnPaintConnector(), and ~TGo4MarkerPainter().

Bool_t TGo4MarkerPainter::fbIsConStreamed [private]
 

Flag to handle streamed connector from file correctly.

Definition at line 52 of file TGo4MarkerPainter.h.

Referenced by CheckConnector().


The documentation for this class was generated from the following files:
Generated on Fri Nov 28 13:01:05 2008 for Go4-v3.04-1 by  doxygen 1.4.2