Logo ROOT   6.07/09
Reference Guide
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 
17 class TGCheckButton;
18 class TGNumberEntry;
19 class TGColorSelect;
20 
21 class TEveGeoNode;
22 class TEveGeoTopNode;
23 
24 class TEveGValuator;
25 
27 {
28  TEveGeoNodeEditor(const TEveGeoNodeEditor&); // Not implemented
29  TEveGeoNodeEditor& operator=(const TEveGeoNodeEditor&); // Not implemented
30 
31 protected:
33 
38 
39 public:
40  TEveGeoNodeEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
42  virtual ~TEveGeoNodeEditor() {}
43 
44  virtual void SetModel(TObject* obj);
45 
46  void DoVizNode();
47  void DoVizNodeDaughters();
48  void DoVizVolume();
49  void DoVizVolumeDaughters();
50 
51  ClassDef(TEveGeoNodeEditor, 0); // Editor for TEveGeoNode class.
52 };
53 
54 /******************************************************************************/
55 
57 {
58  TEveGeoTopNodeEditor(const TEveGeoTopNodeEditor&); // Not implemented
59  TEveGeoTopNodeEditor& operator=(const TEveGeoTopNodeEditor&); // Not implemented
60 
61 protected:
63 
67 
68 public:
69  TEveGeoTopNodeEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
71  virtual ~TEveGeoTopNodeEditor() {}
72 
73  virtual void SetModel(TObject* obj);
74 
75  void DoVisOption();
76  void DoVisLevel();
77  void DoMaxVisNodes();
78 
79  ClassDef(TEveGeoTopNodeEditor, 0); // Editor for TEveGeoTopNode class.
80 };
81 
82 #endif
TGCheckButton * fVizNodeDaughters
TEveGeoTopNode * fTopNodeRE
virtual ~TEveGeoNodeEditor()
int Int_t
Definition: RtypesCore.h:41
TGCheckButton * fVizNode
Wrapper for TGeoNode that allows it to be shown in GUI and controlled as a TEveElement.
Definition: TEveGeoNode.h:31
void DoVizVolumeDaughters()
Slot for VizVolumeDaughters.
Composite GUI element for single value selection (supports label, number-entry and slider)...
#define ClassDef(name, id)
Definition: Rtypes.h:254
ULong_t Pixel_t
Definition: GuiTypes.h:41
static Pixel_t GetDefaultFrameBackground()
Get default frame background.
Definition: TGFrame.cxx:665
TEveGeoNodeEditor(const TEveGeoNodeEditor &)
TEveGeoNodeEditor & operator=(const TEveGeoNodeEditor &)
void DoVizNode()
Slot for VizNode.
TEveGValuator * fVisOption
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement...
Definition: TEveGeoNode.h:92
TEveGValuator * fMaxVisNodes
unsigned int UInt_t
Definition: RtypesCore.h:42
TGCheckButton * fVizVolume
Mother of all ROOT objects.
Definition: TObject.h:44
void DoVizNodeDaughters()
Slot for VizNodeDaughters.
Editor for TEveGeoNode class.
void DoVizVolume()
Slot for VizVolume.
TGCheckButton * fVizVolumeDaughters
TEveGeoNode * fNodeRE
TEveGValuator * fVisLevel
Editor for TEveGeoTopNode class.
virtual void SetModel(TObject *obj)
Set model object.