#include <TGo4PolyCondPainter.h>
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 | |
TGo4PolyCondView * | fxCutView |
Definition at line 22 of file TGo4PolyCondPainter.h.
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().
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().
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().