47 fVizVolumeDaughters(0)
57 "TEveGeoNodeEditor",
this,
"DoVizNode()");
59 fVizNodeDaughters =
new TGCheckButton(
this,
"VizNodeDaughters");
61 fVizNodeDaughters->Connect
63 "TEveGeoNodeEditor",
this,
"DoVizNodeDaughters()");
69 "TEveGeoNodeEditor",
this,
"DoVizVolume()");
71 fVizVolumeDaughters =
new TGCheckButton(
this,
"VizVolumeDaughters");
73 fVizVolumeDaughters->Connect
75 "TEveGeoNodeEditor",
this,
"DoVizVolumeDaughters()");
149 MakeTitle(
"GeoTopNode");
154 fVisOption->SetLabelWidth(labelW);
155 fVisOption->SetShowSlider(
kFALSE);
156 fVisOption->SetNELength(4);
159 fVisOption->SetToolTip(
"Visualization option passed to TGeoPainter.");
160 fVisOption->Connect(
"ValueSet(Double_t)",
"TEveGeoTopNodeEditor",
this,
"DoVisOption()");
164 fVisLevel->SetLabelWidth(labelW);
165 fVisLevel->SetShowSlider(
kFALSE);
166 fVisLevel->SetNELength(4);
169 fVisLevel->SetToolTip(
"Level (depth) to which the geometry is traversed.\nWhen zero, maximum number of nodes to draw can be specified.");
170 fVisLevel->Connect(
"ValueSet(Double_t)",
"TEveGeoTopNodeEditor",
this,
"DoVisLevel()");
174 fMaxVisNodes->SetLabelWidth(labelW);
175 fMaxVisNodes->SetShowSlider(
kFALSE);
176 fMaxVisNodes->SetNELength(6);
177 fMaxVisNodes->Build();
179 fMaxVisNodes->SetToolTip(
"Maximum number of nodes to draw.");
180 fMaxVisNodes->Connect(
"ValueSet(Double_t)",
"TEveGeoTopNodeEditor",
this,
"DoMaxVisNodes()");
virtual void SetModel(TObject *obj)
Set model object.
void DoMaxVisNodes()
Slot for MaxVisNodes.
TGCheckButton * fVizNodeDaughters
Int_t GetVisOption() const
TGeoVolume * GetVolume() const
void DoVisLevel()
Slot for VisLevel.
virtual void SetValue(Float_t v, Bool_t emit=kFALSE)
Set value, optionally emit signal.
TEveGeoTopNode * fTopNodeRE
void DoVisOption()
Slot for VisOption.
ClassImp(TEveGeoNodeEditor) TEveGeoNodeEditor
Constructor.
void VisibleDaughters(Bool_t vis=kTRUE)
set visibility for daughters
Wrapper for TGeoNode that allows it to be shown in GUI and controlled as a TEveElement.
void DoVizVolumeDaughters()
Slot for VizVolumeDaughters.
Composite GUI element for single value selection (supports label, number-entry and slider)...
Bool_t IsVisDaughters() const
virtual void Update()
Update the current pad when an attribute is changed via GUI.
void DoVizNode()
Slot for VizNode.
TEveGValuator * fVisOption
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement...
Int_t GetMaxVisNodes() const
TEveGValuator * fMaxVisNodes
TGCheckButton * fVizVolume
virtual Bool_t SetRnrSelf(Bool_t rnr)
Set render state of this element, i.e.
Int_t GetVisLevel() const
void SetVisLevel(Int_t vl)
virtual void SetVisibility(Bool_t vis=kTRUE)
set visibility of this volume
virtual Bool_t SetRnrChildren(Bool_t rnr)
Set render state of this element's children, i.e.
void SetVisOption(Int_t vo)
void SetMaxVisNodes(Int_t mvn)
Mother of all ROOT objects.
void DoVizNodeDaughters()
Slot for VizNodeDaughters.
Editor for TEveGeoNode class.
virtual void UnmapWindow()
void DoVizVolume()
Slot for VizVolume.
virtual Bool_t IsVisible() const
TGCheckButton * fVizVolumeDaughters
TEveGValuator * fVisLevel
Editor for TEveGeoTopNode class.
virtual void SetModel(TObject *obj)
Set model object.