Public Member Functions | Private Attributes

TGo4PolyCondPainter Class Reference

#include <TGo4PolyCondPainter.h>

Inheritance diagram for TGo4PolyCondPainter:
TGo4ConditionPainter TGo4LabelPainter

List of all members.

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)

Private Attributes

TGo4PolyCondViewfxCutView

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 94 of file TGo4PolyCondPainter.cxx.

References fxCutView.

void TGo4PolyCondPainter::PaintCondition ( Option_t *  opt = ""  )  [virtual]

Display condition with plain root canvas and in go4 viewpanel

Reimplemented from TGo4ConditionPainter.

Definition at line 45 of file TGo4PolyCondPainter.cxx.

References TGo4ConditionPainter::fxCondition, fxCutView, TGo4PolyCond::GetCut(), TGo4Condition::IsVisible(), TGo4PolyCondView::SetCondition(), TGo4PolyCondView::SetCut(), and UnPaintCondition().

void TGo4PolyCondPainter::SetCondition ( TGo4Condition con  )  [virtual]

Not inline, because we overwrite this for polygon condition.

Reimplemented from TGo4ConditionPainter.

Definition at line 102 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 83 of file TGo4PolyCondPainter.cxx.

References fxCutView.

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


Member Data Documentation

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines