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

#include <TGo4WinCondPainter.h>

+ Inheritance diagram for TGo4WinCondPainter:

Public Member Functions

 TGo4WinCondPainter ()
 
 TGo4WinCondPainter (const char *name, const char *title="Go4 window condition")
 
virtual ~TGo4WinCondPainter ()
 
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 UnPaintCondition (Option_t *opt="") override
 Erase condition view.
 
- Public Member Functions inherited from TGo4ConditionPainter
 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.
 
virtual void SetCondition (TGo4Condition *con)
 Not inline, because we overwrite this for polygon condition.
 
- 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.)
 
virtual void UnPaintLabel (Option_t *opt="")
 Erase the label.
 

Private Attributes

TGo4WinCondViewfxBox {nullptr}
 Window marker box.
 

Additional Inherited Members

- Protected Attributes inherited from TGo4ConditionPainter
TGo4ConditionfxCondition {nullptr}
 Condition to be painted.
 

Detailed Description

Definition at line 21 of file TGo4WinCondPainter.h.

Constructor & Destructor Documentation

◆ TGo4WinCondPainter() [1/2]

TGo4WinCondPainter::TGo4WinCondPainter ( )

Definition at line 22 of file TGo4WinCondPainter.cxx.

References TGo4ConditionPainter::TGo4ConditionPainter(), and fxBox.

◆ TGo4WinCondPainter() [2/2]

TGo4WinCondPainter::TGo4WinCondPainter ( const char * name,
const char * title = "Go4 window condition" )

Definition at line 28 of file TGo4WinCondPainter.cxx.

References TGo4ConditionPainter::TGo4ConditionPainter(), and fxBox.

◆ ~TGo4WinCondPainter()

TGo4WinCondPainter::~TGo4WinCondPainter ( )
virtual

Definition at line 34 of file TGo4WinCondPainter.cxx.

References fxBox, and UnPaintCondition().

Member Function Documentation

◆ DisplayToFront()

void TGo4WinCondPainter::DisplayToFront ( Option_t * opt = "")
overridevirtual

pop all components to the front of the pad

Reimplemented from TGo4LabelPainter.

Definition at line 134 of file TGo4WinCondPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), and fxBox.

◆ PaintCondition()

void TGo4WinCondPainter::PaintCondition ( Option_t * opt = "")
overridevirtual

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented from TGo4ConditionPainter.

Definition at line 44 of file TGo4WinCondPainter.cxx.

References fxBox, TGo4ConditionPainter::fxCondition, TGo4Condition::GetDimension(), TGo4WinCond::GetValues(), TGo4Condition::IsVisible(), TGo4WinCond::SetValues(), and UnPaintCondition().

◆ UnPaintCondition()

void TGo4WinCondPainter::UnPaintCondition ( Option_t * opt = "")
overridevirtual

Erase condition view.

Reimplemented from TGo4ConditionPainter.

Definition at line 121 of file TGo4WinCondPainter.cxx.

References fxBox.

Referenced by ~TGo4WinCondPainter(), and PaintCondition().

Field Documentation

◆ fxBox

TGo4WinCondView* TGo4WinCondPainter::fxBox {nullptr}
private

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