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

#include <TGo4ConditionPainter.h>

Inheritance diagram for TGo4ConditionPainter:

Public Member Functions

 TGo4ConditionPainter ()
 TGo4ConditionPainter ()
 TGo4ConditionPainter (const char *name, const char *title=nullptr)
 TGo4ConditionPainter (const char *name, const char *title=nullptr)
virtual ~TGo4ConditionPainter ()
virtual ~TGo4ConditionPainter ()
virtual void PaintCondition (Option_t *opt="")
 Display condition with plain root canvas and in go4 viewpanel.
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.
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.
virtual void UnPaintCondition (Option_t *opt="")
 Display condition with plain root canvas and in go4 viewpanel.
virtual void UnPaintCondition (Option_t *opt="")
 Display condition with plain root canvas and in go4 viewpanel.
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)
virtual void DisplayToFront (Option_t *opt="")
 pop all components to the front of the pad
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 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.

Protected Attributes

TGo4ConditionfxCondition {nullptr}
 Condition to be painted.

Detailed Description

Definition at line 21 of file TGo4ConditionPainter.h.

Constructor & Destructor Documentation

◆ TGo4ConditionPainter() [1/4]

◆ TGo4ConditionPainter() [2/4]

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

Definition at line 28 of file TGo4ConditionPainter.cxx.

References TGo4LabelPainter::TGo4LabelPainter(), and fxCondition.

◆ ~TGo4ConditionPainter() [1/2]

TGo4ConditionPainter::~TGo4ConditionPainter ( )
virtual

Definition at line 33 of file TGo4ConditionPainter.cxx.

References UnPaintCondition().

◆ TGo4ConditionPainter() [3/4]

TGo4ConditionPainter::TGo4ConditionPainter ( )

◆ TGo4ConditionPainter() [4/4]

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

◆ ~TGo4ConditionPainter() [2/2]

virtual TGo4ConditionPainter::~TGo4ConditionPainter ( )
virtual

Member Function Documentation

◆ PaintCondition() [1/2]

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

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented in TGo4CondArrayPainter, TGo4CondArrayPainter, TGo4PolyCondPainter, TGo4PolyCondPainter, TGo4WinCondPainter, and TGo4WinCondPainter.

Definition at line 38 of file TGo4ConditionPainter.cxx.

◆ PaintCondition() [2/2]

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

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented in TGo4CondArrayPainter, TGo4CondArrayPainter, TGo4PolyCondPainter, TGo4PolyCondPainter, TGo4WinCondPainter, and TGo4WinCondPainter.

◆ PaintLabel() [1/2]

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

◆ PaintLabel() [2/2]

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

Display statistics label for this condition with respect to working histogram.

Reimplemented from TGo4LabelPainter.

◆ SetCondition() [1/2]

void TGo4ConditionPainter::SetCondition ( TGo4Condition * con)
virtual

Not inline, because we overwrite this for polygon condition.

Reimplemented in TGo4PolyCondPainter, and TGo4PolyCondPainter.

Definition at line 144 of file TGo4ConditionPainter.cxx.

References fxCondition.

Referenced by TGo4PolyCond::CreatePainter().

◆ SetCondition() [2/2]

virtual void TGo4ConditionPainter::SetCondition ( TGo4Condition * con)
virtual

Not inline, because we overwrite this for polygon condition.

Reimplemented in TGo4PolyCondPainter, and TGo4PolyCondPainter.

References fxCondition.

◆ UnPaintCondition() [1/2]

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

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented in TGo4CondArrayPainter, TGo4CondArrayPainter, TGo4PolyCondPainter, TGo4PolyCondPainter, TGo4WinCondPainter, and TGo4WinCondPainter.

Definition at line 42 of file TGo4ConditionPainter.cxx.

Referenced by ~TGo4ConditionPainter().

◆ UnPaintCondition() [2/2]

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

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented in TGo4CondArrayPainter, TGo4CondArrayPainter, TGo4PolyCondPainter, TGo4PolyCondPainter, TGo4WinCondPainter, and TGo4WinCondPainter.

Field Documentation

◆ fxCondition


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