]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/RGeoNodeEditors.h
Removed code for gled-like object editors (obsolete, somewhat decayed); fix effc...
[u/mrichter/AliRoot.git] / EVE / Reve / RGeoNodeEditors.h
1 // $Header$
2
3 #ifndef REVE_RGeoNodeEditors_H
4 #define REVE_RGeoNodeEditors_H
5
6 #include <TGedFrame.h>
7
8 class TGCheckButton;
9 class TGNumberEntry;
10 class TGColorSelect;
11
12 namespace Reve {
13
14 class GeoNodeRnrEl;
15 class GeoTopNodeRnrEl;
16
17
18 class GeoNodeRnrElEditor : public TGedFrame
19 {
20 protected:
21   GeoNodeRnrEl*   fNodeRE;
22
23   TGCheckButton*  fVizNode;
24   TGCheckButton*  fVizNodeDaughters;
25   TGCheckButton*  fVizVolume;
26   TGCheckButton*  fVizVolumeDaughters;
27
28   TGNumberEntry*  fTransparency;
29
30 public:
31   GeoNodeRnrElEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
32   virtual ~GeoNodeRnrElEditor() {}
33
34   virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
35
36   void DoVizNode();
37   void DoVizNodeDaughters();
38   void DoVizVolume();
39   void DoVizVolumeDaughters();
40
41   void DoTransparency();
42
43   ClassDef(GeoNodeRnrElEditor, 1);
44 };
45
46 /**************************************************************************/
47
48 class GeoTopNodeRnrElEditor : public TGedFrame
49 {
50 protected:
51   GeoTopNodeRnrEl*   fTopNodeRE;
52
53   TGNumberEntry*     fVisOption;
54   TGNumberEntry*     fVisLevel;
55
56 public:
57   GeoTopNodeRnrElEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
58   virtual ~GeoTopNodeRnrElEditor() {}
59
60   virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
61
62   void DoVisOption();
63   void DoVisLevel();
64
65   ClassDef(GeoTopNodeRnrElEditor, 1);
66 };
67
68 }
69
70 #endif