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

#include <TGo4PolyCondPainter.h>

Inheritance diagram for TGo4PolyCondPainter:

Public Member Functions

 TGo4PolyCondPainter ()
 TGo4PolyCondPainter ()
 TGo4PolyCondPainter (const char *name, const char *title="Go4 polygon condition")
 TGo4PolyCondPainter (const char *name, const char *title="Go4 polygon condition")
virtual ~TGo4PolyCondPainter ()
virtual ~TGo4PolyCondPainter ()
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 SetCondition (TGo4Condition *con) override
 Not inline, because we overwrite this for polygon condition.
void SetCondition (TGo4Condition *con) override
 Not inline, because we overwrite this for polygon condition.
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.
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

TGo4PolyCondViewfxCutView {nullptr}
 Cut used for polygon display.

Additional Inherited Members

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

Detailed Description

Definition at line 22 of file TGo4PolyCondPainter.h.

Constructor & Destructor Documentation

◆ TGo4PolyCondPainter() [1/4]

TGo4PolyCondPainter::TGo4PolyCondPainter ( )

◆ TGo4PolyCondPainter() [2/4]

TGo4PolyCondPainter::TGo4PolyCondPainter ( const char * name,
const char * title = "Go4 polygon condition" )

◆ ~TGo4PolyCondPainter() [1/2]

TGo4PolyCondPainter::~TGo4PolyCondPainter ( )
virtual

Definition at line 33 of file TGo4PolyCondPainter.cxx.

References fxCutView, and UnPaintCondition().

◆ TGo4PolyCondPainter() [3/4]

TGo4PolyCondPainter::TGo4PolyCondPainter ( )

◆ TGo4PolyCondPainter() [4/4]

TGo4PolyCondPainter::TGo4PolyCondPainter ( const char * name,
const char * title = "Go4 polygon condition" )

◆ ~TGo4PolyCondPainter() [2/2]

virtual TGo4PolyCondPainter::~TGo4PolyCondPainter ( )
virtual

Member Function Documentation

◆ DisplayToFront() [1/2]

void TGo4PolyCondPainter::DisplayToFront ( Option_t * opt = "")
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.

◆ DisplayToFront() [2/2]

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

pop all components to the front of the pad

Reimplemented from TGo4LabelPainter.

◆ PaintCondition() [1/2]

void TGo4PolyCondPainter::PaintCondition ( Option_t * opt = "")
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().

◆ PaintCondition() [2/2]

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

Display condition with plain root canvas and in go4 viewpanel.

Reimplemented from TGo4ConditionPainter.

◆ SetCondition() [1/2]

void TGo4PolyCondPainter::SetCondition ( TGo4Condition * con)
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.

◆ SetCondition() [2/2]

void TGo4PolyCondPainter::SetCondition ( TGo4Condition * con)
overridevirtual

Not inline, because we overwrite this for polygon condition.

Reimplemented from TGo4ConditionPainter.

References fxCutView.

◆ UnPaintCondition() [1/2]

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

Erase condition view.

Reimplemented from TGo4ConditionPainter.

Definition at line 92 of file TGo4PolyCondPainter.cxx.

References fxCutView.

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

◆ UnPaintCondition() [2/2]

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

Erase condition view.

Reimplemented from TGo4ConditionPainter.

Field Documentation

◆ fxCutView

TGo4PolyCondView * TGo4PolyCondPainter::fxCutView {nullptr}
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().


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