GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
TGo4PolyCondPainter Class Reference

#include <TGo4PolyCondPainter.h>

+ Inheritance diagram for TGo4PolyCondPainter:

Public Member Functions

 TGo4PolyCondPainter ()
 
 TGo4PolyCondPainter (const char *name, const char *title="Go4 polygon condition")
 
virtual ~TGo4PolyCondPainter ()
 
virtual void PaintCondition (Option_t *opt="")
 
virtual void UnPaintCondition (Option_t *opt="")
 
virtual void DisplayToFront (Option_t *opt="")
 
virtual void SetCondition (TGo4Condition *con)
 
- Public Member Functions inherited from TGo4ConditionPainter
 TGo4ConditionPainter ()
 
 TGo4ConditionPainter (const char *name, const char *title=0)
 
virtual ~TGo4ConditionPainter ()
 
virtual void PaintLabel (Option_t *opt="")
 
- Public Member Functions inherited from TGo4LabelPainter
 TGo4LabelPainter ()
 
 TGo4LabelPainter (const char *name, const char *title=0)
 
virtual ~TGo4LabelPainter ()
 
virtual void UnPaintLabel (Option_t *opt="")
 
virtual void RePaintLabel (Option_t *opt="")
 
void SetCaption (const char *txt)
 
void SetX0 (Double_t x=0)
 
void SetY0 (Double_t y=0)
 
void SetWidth (Double_t w=0)
 
void SetHeight (Double_t h=0)
 
void AddToLabel (const char *txt)
 
void InitAttributes ()
 
Double_t GetLabelXlo ()
 
Double_t GetLabelYlo ()
 
Double_t GetLabelXup ()
 
Double_t GetLabelYup ()
 

Private Attributes

TGo4PolyCondViewfxCutView
 

Additional Inherited Members

- Protected Attributes inherited from TGo4ConditionPainter
TGo4ConditionfxCondition
 

Detailed Description

Definition at line 22 of file TGo4PolyCondPainter.h.

Constructor & Destructor Documentation

TGo4PolyCondPainter::TGo4PolyCondPainter ( )

Definition at line 23 of file TGo4PolyCondPainter.cxx.

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

Definition at line 29 of file TGo4PolyCondPainter.cxx.

TGo4PolyCondPainter::~TGo4PolyCondPainter ( )
virtual

Definition at line 35 of file TGo4PolyCondPainter.cxx.

References fxCutView, and UnPaintCondition().

Member Function Documentation

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

pop all components to the front of the pad

Reimplemented from TGo4LabelPainter.

Definition at line 113 of file TGo4PolyCondPainter.cxx.

References TGo4LabelPainter::DisplayToFront(), and fxCutView.

void TGo4PolyCondPainter::PaintCondition ( Option_t *  opt = "")
virtual
void TGo4PolyCondPainter::SetCondition ( TGo4Condition con)
virtual

Not inline, because we overwrite this for polygon condition.

Reimplemented from TGo4ConditionPainter.

Definition at line 121 of file TGo4PolyCondPainter.cxx.

References TGo4ConditionPainter::fxCondition, fxCutView, and TGo4PolyCondView::SetCondition().

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

Erase condition view

Reimplemented from TGo4ConditionPainter.

Definition at line 99 of file TGo4PolyCondPainter.cxx.

References fxCutView.

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

Member Data Documentation

TGo4PolyCondView* TGo4PolyCondPainter::fxCutView
private

Cut used for polygon display. This is buffered copy of condition cutg

Definition at line 42 of file TGo4PolyCondPainter.h.

Referenced by DisplayToFront(), PaintCondition(), SetCondition(), UnPaintCondition(), and ~TGo4PolyCondPainter().


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