GSI Object Oriented Online Offline (Go4)
GO4-5.3.2
|
#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) |
Public Member Functions inherited from TGo4LabelPainter | |
TGo4LabelPainter () | |
TGo4LabelPainter (const char *name, const char *title=0) | |
virtual | ~TGo4LabelPainter () |
virtual void | RePaintLabel (Option_t *opt="") |
void | SetCaption (const char *txt) |
void | SetX0 (Double_t x=0) |
void | SetY0 (Double_t y=0) |
void | SetWidth (Double_t w=0) |
void | SetHeight (Double_t h=0) |
void | AddToLabel (const char *txt) |
void | InitAttributes () |
Double_t | GetLabelXlo () |
Double_t | GetLabelYlo () |
Double_t | GetLabelXup () |
Double_t | GetLabelYup () |
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.
|
virtual |
Definition at line 40 of file TGo4MarkerPainter.cxx.
References fxConnector.
|
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().
|
virtual |
pop all components to the front of the pad
Reimplemented from TGo4LabelPainter.
Definition at line 250 of file TGo4MarkerPainter.cxx.
References TGo4LabelPainter::DisplayToFront(), 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().
|
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::PaintLabel(), TGo4LabelPainter::RePaintLabel(), TGo4LabelPainter::SetCaption(), TGo4LabelPainter::SetX0(), TGo4LabelPainter::SetY0(), and UnPaintLabel().
Referenced by TGo4Marker::Paint(), and TGo4Marker::ResetLabel().
|
inlinevirtual |
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().
|
virtual |
Erase the label
Reimplemented from TGo4LabelPainter.
Definition at line 98 of file TGo4MarkerPainter.cxx.
References UnPaintConnector(), and TGo4LabelPainter::UnPaintLabel().
Referenced by PaintLabel(), TGo4Marker::ResetLabel(), and TGo4Marker::UnDraw().
|
private |
Flag to handle streamed connector from file correctly
Definition at line 50 of file TGo4MarkerPainter.h.
Referenced by CheckConnector().
|
protected |
Connection line between marker and label
Definition at line 46 of file TGo4MarkerPainter.h.
Referenced by CheckConnector(), PaintConnector(), UnPaintConnector(), and ~TGo4MarkerPainter().
|
protected |
Marker to be painted.
Definition at line 43 of file TGo4MarkerPainter.h.
Referenced by DisplayToFront(), PaintConnector(), PaintLabel(), and SetMarker().