GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4ConditionPainter Class Reference

#include <TGo4ConditionPainter.h>

+ Inheritance diagram for TGo4ConditionPainter:

Public Member Functions

 TGo4ConditionPainter ()
 
 TGo4ConditionPainter (const char *name, const char *title=nullptr)
 
virtual ~TGo4ConditionPainter ()
 
virtual void PaintCondition (Option_t *opt="")
 Display condition with plain root canvas and in go4 viewpanel.
 
void PaintLabel (Option_t *opt="") override
 Display statistics label for this condition with respect to working histogram.
 
virtual void SetCondition (TGo4Condition *con)
 Not inline, because we overwrite this for polygon condition.
 
virtual void UnPaintCondition (Option_t *opt="")
 Display condition with plain root canvas and in go4 viewpanel.
 
- Public Member Functions inherited from TGo4LabelPainter
 TGo4LabelPainter ()
 
 TGo4LabelPainter (const char *name, const char *title=nullptr)
 
virtual ~TGo4LabelPainter ()
 
void AddToLabel (const char *txt)
 
virtual void DisplayToFront (Option_t *opt="")
 pop all components to the front of the pad
 
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.
 

Protected Attributes

TGo4ConditionfxCondition {nullptr}
 Condition to be painted.
 

Detailed Description

Definition at line 21 of file TGo4ConditionPainter.h.

Constructor & Destructor Documentation

◆ TGo4ConditionPainter() [1/2]

◆ TGo4ConditionPainter() [2/2]

TGo4ConditionPainter::TGo4ConditionPainter ( const char * name,
const char * title = nullptr )

Definition at line 28 of file TGo4ConditionPainter.cxx.

References TGo4LabelPainter::TGo4LabelPainter(), and fxCondition.

◆ ~TGo4ConditionPainter()

TGo4ConditionPainter::~TGo4ConditionPainter ( )
virtual

Definition at line 33 of file TGo4ConditionPainter.cxx.

References UnPaintCondition().

Member Function Documentation

◆ PaintCondition()

void TGo4ConditionPainter::PaintCondition ( Option_t * opt = "")
virtual

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented in TGo4CondArrayPainter, TGo4PolyCondPainter, and TGo4WinCondPainter.

Definition at line 38 of file TGo4ConditionPainter.cxx.

◆ PaintLabel()

void TGo4ConditionPainter::PaintLabel ( Option_t * opt = "")
overridevirtual

◆ SetCondition()

void TGo4ConditionPainter::SetCondition ( TGo4Condition * con)
virtual

Not inline, because we overwrite this for polygon condition.

Reimplemented in TGo4PolyCondPainter.

Definition at line 144 of file TGo4ConditionPainter.cxx.

References fxCondition.

Referenced by TGo4PolyCond::CreatePainter().

◆ UnPaintCondition()

void TGo4ConditionPainter::UnPaintCondition ( Option_t * opt = "")
virtual

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented in TGo4CondArrayPainter, TGo4PolyCondPainter, and TGo4WinCondPainter.

Definition at line 42 of file TGo4ConditionPainter.cxx.

Referenced by ~TGo4ConditionPainter().

Field Documentation

◆ fxCondition


The documentation for this class was generated from the following files: