GSI Object Oriented Online Offline (Go4) GO4-6.4.0
|
#include <TGo4PolyCondPainter.h>
Public Member Functions | |
TGo4PolyCondPainter () | |
TGo4PolyCondPainter (const char *name, const char *title="Go4 polygon condition") | |
virtual | ~TGo4PolyCondPainter () |
void | DisplayToFront (Option_t *opt="") override |
pop all components to the front of the pad | |
void | PaintCondition (Option_t *opt="") override |
Display condition with plain root canvas and in go4 viewpanel. | |
void | SetCondition (TGo4Condition *con) override |
Not inline, because we overwrite this for polygon condition. | |
void | UnPaintCondition (Option_t *opt="") override |
Erase condition view. | |
![]() | |
TGo4ConditionPainter () | |
TGo4ConditionPainter (const char *name, const char *title=nullptr) | |
virtual | ~TGo4ConditionPainter () |
void | PaintLabel (Option_t *opt="") override |
Display statistics label for this condition with respect to working histogram. | |
![]() | |
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.) |
virtual void | UnPaintLabel (Option_t *opt="") |
Erase the label. | |
Private Attributes | |
TGo4PolyCondView * | fxCutView {nullptr} |
Cut used for polygon display. | |
Additional Inherited Members | |
![]() | |
TGo4Condition * | fxCondition {nullptr} |
Condition to be painted. | |
Definition at line 22 of file TGo4PolyCondPainter.h.
TGo4PolyCondPainter::TGo4PolyCondPainter | ( | ) |
Definition at line 21 of file TGo4PolyCondPainter.cxx.
References TGo4ConditionPainter::TGo4ConditionPainter(), and fxCutView.
TGo4PolyCondPainter::TGo4PolyCondPainter | ( | const char * | name, |
const char * | title = "Go4 polygon condition" ) |
Definition at line 27 of file TGo4PolyCondPainter.cxx.
References TGo4ConditionPainter::TGo4ConditionPainter(), and fxCutView.
|
virtual |
Definition at line 33 of file TGo4PolyCondPainter.cxx.
References fxCutView, and UnPaintCondition().
|
overridevirtual |
pop all components to the front of the pad
Reimplemented from TGo4LabelPainter.
Definition at line 104 of file TGo4PolyCondPainter.cxx.
References TGo4LabelPainter::DisplayToFront(), and fxCutView.
|
overridevirtual |
Display condition with plain root canvas and in go4 viewpanel.
Reimplemented from TGo4ConditionPainter.
Definition at line 43 of file TGo4PolyCondPainter.cxx.
References TGo4ConditionPainter::fxCondition, fxCutView, TGo4PolyCond::GetCut(), TGo4Condition::IsVisible(), and UnPaintCondition().
|
overridevirtual |
Not inline, because we overwrite this for polygon condition.
Reimplemented from TGo4ConditionPainter.
Definition at line 110 of file TGo4PolyCondPainter.cxx.
References TGo4ConditionPainter::fxCondition, and fxCutView.
|
overridevirtual |
Erase condition view.
Reimplemented from TGo4ConditionPainter.
Definition at line 92 of file TGo4PolyCondPainter.cxx.
References fxCutView.
Referenced by ~TGo4PolyCondPainter(), and PaintCondition().
|
private |
Cut used for polygon display.
This is buffered copy of condition cutg
Definition at line 41 of file TGo4PolyCondPainter.h.
Referenced by TGo4PolyCondPainter(), TGo4PolyCondPainter(), ~TGo4PolyCondPainter(), DisplayToFront(), PaintCondition(), SetCondition(), and UnPaintCondition().