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

#include <TGo4WinCondPainter.h>

Inheritance diagram for TGo4WinCondPainter:

Public Member Functions

 TGo4WinCondPainter ()
 TGo4WinCondPainter ()
 TGo4WinCondPainter (const char *name, const char *title="Go4 window condition")
 TGo4WinCondPainter (const char *name, const char *title="Go4 window condition")
virtual ~TGo4WinCondPainter ()
virtual ~TGo4WinCondPainter ()
void DisplayToFront (Option_t *opt="") override
 pop all components to the front of the pad
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 PaintCondition (Option_t *opt="") override
 Display condition with plain root canvas and in go4 viewpanel.
void UnPaintCondition (Option_t *opt="") override
 Erase condition view.
void UnPaintCondition (Option_t *opt="") override
 Erase condition view.
Public Member Functions inherited from TGo4ConditionPainter
 TGo4ConditionPainter ()
 TGo4ConditionPainter ()
 TGo4ConditionPainter (const char *name, const char *title=nullptr)
 TGo4ConditionPainter (const char *name, const char *title=nullptr)
virtual ~TGo4ConditionPainter ()
virtual ~TGo4ConditionPainter ()
void PaintLabel (Option_t *opt="") override
 Display statistics label for this condition with respect to working histogram.
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 SetCondition (TGo4Condition *con)
 Not inline, because we overwrite this for polygon condition.
Public Member Functions inherited from TGo4LabelPainter
 TGo4LabelPainter ()
 TGo4LabelPainter ()
 TGo4LabelPainter (const char *name, const char *title=nullptr)
 TGo4LabelPainter (const char *name, const char *title=nullptr)
virtual ~TGo4LabelPainter ()
virtual ~TGo4LabelPainter ()
void AddToLabel (const char *txt)
void AddToLabel (const char *txt)
Double_t GetLabelXlo ()
 Reference coordinate x of label box (lower left corner).
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 GetLabelXup ()
 Reference coordinate x of label box (upper right corner).
Double_t GetLabelYlo ()
 Reference coordinate y of label box (lower left 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).
Double_t GetLabelYup ()
 Reference coordinate y of label box (upper right corner).
void InitAttributes ()
 Initialize the label attributes.
void InitAttributes ()
 Initialize the label attributes.
virtual void RePaintLabel (Option_t *opt="")
 refresh painting of label with current attributes
virtual void RePaintLabel (Option_t *opt="")
 refresh painting of label with current attributes
void SetCaption (const char *txt)
void SetCaption (const char *txt)
void SetHeight (Double_t h=0.)
void SetHeight (Double_t h=0.)
void SetWidth (Double_t w=0.)
void SetWidth (Double_t w=0.)
void SetX0 (Double_t x=0.)
void SetX0 (Double_t x=0.)
void SetY0 (Double_t y=0.)
void SetY0 (Double_t y=0.)
virtual void UnPaintLabel (Option_t *opt="")
 Erase the label.
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/4]

TGo4WinCondPainter::TGo4WinCondPainter ( )

Definition at line 22 of file TGo4WinCondPainter.cxx.

References TGo4ConditionPainter::TGo4ConditionPainter(), and fxBox.

◆ TGo4WinCondPainter() [2/4]

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() [1/2]

TGo4WinCondPainter::~TGo4WinCondPainter ( )
virtual

Definition at line 34 of file TGo4WinCondPainter.cxx.

References fxBox, and UnPaintCondition().

◆ TGo4WinCondPainter() [3/4]

TGo4WinCondPainter::TGo4WinCondPainter ( )

◆ TGo4WinCondPainter() [4/4]

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

◆ ~TGo4WinCondPainter() [2/2]

virtual TGo4WinCondPainter::~TGo4WinCondPainter ( )
virtual

Member Function Documentation

◆ DisplayToFront() [1/2]

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.

◆ DisplayToFront() [2/2]

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

pop all components to the front of the pad

Reimplemented from TGo4LabelPainter.

References fxBox.

◆ PaintCondition() [1/2]

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().

◆ PaintCondition() [2/2]

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

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented from TGo4ConditionPainter.

◆ UnPaintCondition() [1/2]

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().

◆ UnPaintCondition() [2/2]

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

Erase condition view.

Reimplemented from TGo4ConditionPainter.

Field Documentation

◆ fxBox

TGo4WinCondView * TGo4WinCondPainter::fxBox {nullptr}
private

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