|
GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4MarkerPainter.h>
Inheritance diagram for TGo4MarkerPainter:Public Member Functions | |
| TGo4MarkerPainter () | |
| TGo4MarkerPainter (const char *name, const char *title="Go4 MarkerPainter") | |
| virtual | ~TGo4MarkerPainter () |
| void | DisplayToFront (Option_t *opt="") override |
| pop all components to the front of the pad | |
| void | PaintConnector (Option_t *opt="") |
| void | PaintLabel (Option_t *opt="") override |
| Display coordinate label for this marker. | |
| virtual void | SetMarker (TGo4Marker *mark) |
| void | UnPaintConnector (Option_t *opt="") |
| void | UnPaintLabel (Option_t *opt="") override |
| Erase the label. | |
Public Member Functions inherited from TGo4LabelPainter | |
| TGo4LabelPainter () | |
| TGo4LabelPainter (const char *name, const char *title=nullptr) | |
| virtual | ~TGo4LabelPainter () |
| void | AddToLabel (const char *txt) |
| Double_t | GetLabelXlo () |
| Reference coordinate x of label box (lower left corner) | |
| Double_t | GetLabelXup () |
| Reference coordinate x of label box (upper right corner) | |
| Double_t | GetLabelYlo () |
| Reference coordinate y of label box (lower left corner) | |
| Double_t | GetLabelYup () |
| Reference coordinate y of label box (upper right corner) | |
| void | InitAttributes () |
| Initialize the label attributes. | |
| virtual void | RePaintLabel (Option_t *opt="") |
| refresh painting of label with current attributes | |
| void | SetCaption (const char *txt) |
| void | SetHeight (Double_t h=0.) |
| void | SetWidth (Double_t w=0.) |
| void | SetX0 (Double_t x=0.) |
| void | SetY0 (Double_t y=0.) |
Protected Member Functions | |
| Bool_t | CheckConnector () |
| Check if connector is still existing. | |
Protected Attributes | |
| TGo4LabelConnector * | fxConnector {nullptr} |
| Connection line between marker and label. | |
| TGo4Marker * | fxMarker {nullptr} |
| Marker to be painted. | |
Private Attributes | |
| Bool_t | fbIsConStreamed {kFALSE} |
| Flag to handle streamed connector from file correctly. | |
Definition at line 21 of file TGo4MarkerPainter.h.
| TGo4MarkerPainter::TGo4MarkerPainter | ( | ) |
Definition at line 22 of file TGo4MarkerPainter.cxx.
References TGo4LabelPainter::TGo4LabelPainter(), and fbIsConStreamed.
| TGo4MarkerPainter::TGo4MarkerPainter | ( | const char * | name, |
| const char * | title = "Go4 MarkerPainter" ) |
Definition at line 28 of file TGo4MarkerPainter.cxx.
References TGo4LabelPainter::TGo4LabelPainter(), and fbIsConStreamed.
|
virtual |
Definition at line 34 of file TGo4MarkerPainter.cxx.
References fxConnector.
|
protected |
Check if connector is still existing.
Uses root list of cleanups.
Definition at line 103 of file TGo4MarkerPainter.cxx.
References fbIsConStreamed, fxConnector, and TGo4LabelConnector::fxLastDeleted.
Referenced by PaintConnector(), and UnPaintConnector().
|
overridevirtual |
pop all components to the front of the pad
Reimplemented from TGo4LabelPainter.
Definition at line 226 of file TGo4MarkerPainter.cxx.
References TGo4LabelPainter::DisplayToFront(), fxMarker, PaintConnector(), and UnPaintConnector().
| void TGo4MarkerPainter::PaintConnector | ( | Option_t * | opt = "" | ) |
Definition at line 121 of file TGo4MarkerPainter.cxx.
References CheckConnector(), fxConnector, fxMarker, TGo4LabelPainter::GetLabelXlo(), TGo4LabelPainter::GetLabelXup(), TGo4LabelPainter::GetLabelYlo(), TGo4LabelPainter::GetLabelYup(), and UnPaintConnector().
Referenced by DisplayToFront(), and PaintLabel().
|
overridevirtual |
Display coordinate label for this marker.
Reimplemented from TGo4LabelPainter.
Definition at line 43 of file TGo4MarkerPainter.cxx.
References TGo4LabelPainter::AddToLabel(), fxMarker, PaintConnector(), TGo4LabelPainter::PaintLabel(), TGo4LabelPainter::RePaintLabel(), TGo4LabelPainter::SetCaption(), TGo4LabelPainter::SetX0(), TGo4LabelPainter::SetY0(), and UnPaintLabel().
|
inlinevirtual |
Definition at line 34 of file TGo4MarkerPainter.h.
References fxMarker.
| void TGo4MarkerPainter::UnPaintConnector | ( | Option_t * | opt = "" | ) |
Definition at line 214 of file TGo4MarkerPainter.cxx.
References CheckConnector(), and fxConnector.
Referenced by DisplayToFront(), PaintConnector(), and UnPaintLabel().
|
overridevirtual |
Erase the label.
Reimplemented from TGo4LabelPainter.
Definition at line 95 of file TGo4MarkerPainter.cxx.
References UnPaintConnector(), and TGo4LabelPainter::UnPaintLabel().
Referenced by PaintLabel().
|
private |
Flag to handle streamed connector from file correctly.
Definition at line 49 of file TGo4MarkerPainter.h.
Referenced by TGo4MarkerPainter(), TGo4MarkerPainter(), and CheckConnector().
|
protected |
Connection line between marker and label.
Definition at line 45 of file TGo4MarkerPainter.h.
Referenced by ~TGo4MarkerPainter(), CheckConnector(), PaintConnector(), and UnPaintConnector().
|
protected |
Marker to be painted.
Definition at line 42 of file TGo4MarkerPainter.h.
Referenced by DisplayToFront(), PaintConnector(), PaintLabel(), and SetMarker().