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=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();
50
51 ClassDef(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=0, Int_t width=170, Int_t height=30,
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
@ kChildFrame
Definition GuiTypes.h:379
ULong_t Pixel_t
Pixel value.
Definition GuiTypes.h:40
#define ClassDef(name, id)
Definition Rtypes.h:325
include TDocParser_001 C image html pict1_TDocParser_001 png width
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 DoVizVolume()
Slot for VizVolume.
TGCheckButton * fVizVolumeDaughters
TEveGeoNodeEditor(const TEveGeoNodeEditor &)
void DoVizNode()
Slot for VizNode.
virtual void SetModel(TObject *obj)
Set model object.
TGCheckButton * fVizVolume
TEveGeoNodeEditor & operator=(const TEveGeoNodeEditor &)
TEveGeoNode * fNodeRE
void DoVizVolumeDaughters()
Slot for VizVolumeDaughters.
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 &)
virtual void SetModel(TObject *obj)
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