16#include "TVirtualPad.h"
46 TObject *cutinpad = gPad->GetListOfPrimitives()->FindObject(
fxCutView);
55 TCutG *cutg = pconny->
GetCut(kFALSE);
64 fxCutView->SetLineWidth(pconny->GetLineWidth());
65 fxCutView->SetLineColor(pconny->GetLineColor());
66 fxCutView->SetLineStyle(pconny->GetLineStyle());
67 fxCutView->SetFillColor(pconny->GetFillColor());
68 fxCutView->SetFillStyle(pconny->GetFillStyle());
75 if(!strcmp(opt,
"fixstyle")) {
78 fxCutView->SetLineWidth(pconny->GetLineWidth());
79 fxCutView->SetLineColor(pconny->GetLineColor());
80 fxCutView->SetLineStyle(pconny->GetLineStyle());
81 fxCutView->SetFillColor(pconny->GetFillColor());
82 fxCutView->SetFillStyle(pconny->GetFillStyle());
95 gROOT->GetListOfCanvases()->RecursiveRemove(
fxCutView);
98 if(option.Contains(
"reset")) {
TGo4Condition * fxCondition
Condition to be painted.
virtual Bool_t IsVisible() const
Visibility property for gui display in editor.
virtual void DisplayToFront(Option_t *opt="")
pop all components to the front of the pad
void UnPaintCondition(Option_t *opt="") override
Erase condition view.
void SetCondition(TGo4Condition *con) override
Not inline, because we overwrite this for polygon condition.
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.
virtual ~TGo4PolyCondPainter()
TGo4PolyCondView * fxCutView
Cut used for polygon display.
TCutG * GetCut(Bool_t changeowner) override
Used to return the cut pointer of a TGo4PolyCond.