Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TEveGeoNodeEditor.h
Go to the documentation of this file.
1// @(#)root/eve:$Id$
2// Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TEveGeoNodeEditor
13#define ROOT_TEveGeoNodeEditor
14
15#include "TGedFrame.h"
16
17class TGCheckButton;
18class TGNumberEntry;
19class TGColorSelect;
20
21class TEveGeoNode;
22class TEveGeoTopNode;
23
24class TEveGValuator;
25
27{
28 TEveGeoNodeEditor(const TEveGeoNodeEditor&); // Not implemented
29 TEveGeoNodeEditor& operator=(const TEveGeoNodeEditor&); // Not implemented
30
31protected:
33
38
39public:
40 TEveGeoNodeEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
42 ~TEveGeoNodeEditor() override {}
43
44 void SetModel(TObject* obj) override;
45
46 void DoVizNode();
47 void DoVizNodeDaughters();
48 void DoVizVolume();
50
51 ClassDefOverride(TEveGeoNodeEditor, 0); // Editor for TEveGeoNode class.
52};
53
54/******************************************************************************/
55
57{
58 TEveGeoTopNodeEditor(const TEveGeoTopNodeEditor&); // Not implemented
60
61protected:
63
67
68public:
69 TEveGeoTopNodeEditor(const TGWindow *p = nullptr, Int_t width=170, Int_t height=30,
72
73 void SetModel(TObject* obj) override;
74
75 void DoVisOption();
76 void DoVisLevel();
77 void DoMaxVisNodes();
78
79 ClassDefOverride(TEveGeoTopNodeEditor, 0); // Editor for TEveGeoTopNode class.
80};
81
82#endif
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t width
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t height
Composite GUI element for single value selection (supports label, number-entry and slider).
Editor for TEveGeoNode class.
void DoVizNodeDaughters()
Slot for VizNodeDaughters.
TGCheckButton * fVizNode
void SetModel(TObject *obj) override
Set model object.
void DoVizVolume()
Slot for VizVolume.
TGCheckButton * fVizVolumeDaughters
TEveGeoNodeEditor(const TEveGeoNodeEditor &)
void DoVizNode()
Slot for VizNode.
ClassDefOverride(TEveGeoNodeEditor, 0)
TGCheckButton * fVizVolume
TEveGeoNodeEditor & operator=(const TEveGeoNodeEditor &)
TEveGeoNode * fNodeRE
void DoVizVolumeDaughters()
Slot for VizVolumeDaughters.
~TEveGeoNodeEditor() override
TGCheckButton * fVizNodeDaughters
Wrapper for TGeoNode that allows it to be shown in GUI and controlled as a TEveElement.
Definition TEveGeoNode.h:30
Editor for TEveGeoTopNode class.
TEveGValuator * fMaxVisNodes
TEveGeoTopNode * fTopNodeRE
void DoVisLevel()
Slot for VisLevel.
TEveGValuator * fVisLevel
void DoVisOption()
Slot for VisOption.
TEveGeoTopNodeEditor(const TEveGeoTopNodeEditor &)
ClassDefOverride(TEveGeoTopNodeEditor, 0)
void SetModel(TObject *obj) override
Set model object.
void DoMaxVisNodes()
Slot for MaxVisNodes.
TEveGeoTopNodeEditor & operator=(const TEveGeoTopNodeEditor &)
TEveGValuator * fVisOption
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement.
Definition TEveGeoNode.h:90
Selects different options.
Definition TGButton.h:264
Like a checkbutton but instead of the check mark there is color area with a little down arrow.
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition TGFrame.cxx:683
TGNumberEntry is a number entry input widget with up/down buttons.
ROOT GUI Window base class.
Definition TGWindow.h:23
Base frame for implementing GUI - a service class.
Definition TGedFrame.h:27
Mother of all ROOT objects.
Definition TObject.h:41