#include <TGo4MarkerPainter.h>
Public Member Functions | |
TGo4MarkerPainter () | |
TGo4MarkerPainter (const char *name, const char *title="Go4 MarkerPainter") | |
virtual | ~TGo4MarkerPainter () |
virtual void | PaintLabel (Option_t *opt="") |
virtual void | UnPaintLabel (Option_t *opt="") |
void | PaintConnector (Option_t *opt="") |
void | UnPaintConnector (Option_t *opt="") |
virtual void | DisplayToFront (Option_t *opt="") |
virtual void | SetMarker (TGo4Marker *mark) |
Protected Member Functions | |
Bool_t | CheckConnector () |
Protected Attributes | |
TGo4Marker * | fxMarker |
TGo4LabelConnector * | fxConnector |
Private Attributes | |
Bool_t | fbIsConStreamed |
Definition at line 21 of file TGo4MarkerPainter.h.
TGo4MarkerPainter::TGo4MarkerPainter | ( | ) |
Definition at line 24 of file TGo4MarkerPainter.cxx.
TGo4MarkerPainter::TGo4MarkerPainter | ( | const char * | name, | |
const char * | title = "Go4 MarkerPainter" | |||
) |
Definition at line 32 of file TGo4MarkerPainter.cxx.
TGo4MarkerPainter::~TGo4MarkerPainter | ( | ) | [virtual] |
Definition at line 40 of file TGo4MarkerPainter.cxx.
References fxConnector.
Bool_t TGo4MarkerPainter::CheckConnector | ( | ) | [protected] |
Check if connector is still existing. Uses root list of cleanups.
Definition at line 106 of file TGo4MarkerPainter.cxx.
References fbIsConStreamed, fxConnector, TGo4LabelConnector::fxLastDeleted, and TGo4LabelConnector::SetOwner().
Referenced by PaintConnector(), and UnPaintConnector().
void TGo4MarkerPainter::DisplayToFront | ( | Option_t * | opt = "" |
) | [virtual] |
pop all components to the front of the pad
Reimplemented from TGo4LabelPainter.
Definition at line 250 of file TGo4MarkerPainter.cxx.
References fxMarker, PaintConnector(), and UnPaintConnector().
Referenced by TGo4Marker::ExecuteEvent(), and TGo4Marker::Pop().
void TGo4MarkerPainter::PaintConnector | ( | Option_t * | opt = "" |
) |
Definition at line 126 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::PaintLabel | ( | Option_t * | opt = "" |
) | [virtual] |
Display coordinate label for this marker.
Reimplemented from TGo4LabelPainter.
Definition at line 50 of file TGo4MarkerPainter.cxx.
References TGo4LabelPainter::AddToLabel(), fxMarker, TGo4Marker::GetCont(), TGo4Marker::GetHistogram(), TGo4Marker::GetLabelX(), TGo4Marker::GetLabelY(), TGo4Marker::GetName(), TGo4Marker::GetNumFormat(), TGo4Marker::GetXbin(), TGo4Marker::GetYbin(), TGo4Marker::HasLabel(), TGo4Marker::IsContDraw(), TGo4Marker::IsXbinDraw(), TGo4Marker::IsXDraw(), TGo4Marker::IsYbinDraw(), TGo4Marker::IsYDraw(), PaintConnector(), TGo4LabelPainter::RePaintLabel(), TGo4LabelPainter::SetCaption(), TGo4LabelPainter::SetX0(), TGo4LabelPainter::SetY0(), and UnPaintLabel().
Referenced by TGo4Marker::Paint(), and TGo4Marker::ResetLabel().
virtual void TGo4MarkerPainter::SetMarker | ( | TGo4Marker * | mark | ) | [inline, virtual] |
Definition at line 35 of file TGo4MarkerPainter.h.
References fxMarker.
Referenced by TGo4Marker::CreatePainter().
void TGo4MarkerPainter::UnPaintConnector | ( | Option_t * | opt = "" |
) |
Definition at line 238 of file TGo4MarkerPainter.cxx.
References CheckConnector(), and fxConnector.
Referenced by DisplayToFront(), PaintConnector(), and UnPaintLabel().
void TGo4MarkerPainter::UnPaintLabel | ( | Option_t * | opt = "" |
) | [virtual] |
Erase the label
Reimplemented from TGo4LabelPainter.
Definition at line 98 of file TGo4MarkerPainter.cxx.
References UnPaintConnector().
Referenced by PaintLabel(), TGo4Marker::ResetLabel(), and TGo4Marker::UnDraw().
Bool_t TGo4MarkerPainter::fbIsConStreamed [private] |
Flag to handle streamed connector from file correctly
Definition at line 50 of file TGo4MarkerPainter.h.
Referenced by CheckConnector().
TGo4LabelConnector* TGo4MarkerPainter::fxConnector [protected] |
Connection line between marker and label
Definition at line 46 of file TGo4MarkerPainter.h.
Referenced by CheckConnector(), PaintConnector(), UnPaintConnector(), and ~TGo4MarkerPainter().
TGo4Marker* TGo4MarkerPainter::fxMarker [protected] |
Marker to be painted.
Definition at line 43 of file TGo4MarkerPainter.h.
Referenced by DisplayToFront(), PaintConnector(), PaintLabel(), and SetMarker().