]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/RGeoNodeEditors.h
Fix effc++ warnings.
[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   GeoNodeRnrElEditor(const GeoNodeRnrElEditor&);            // Not implemented
21   GeoNodeRnrElEditor& operator=(const GeoNodeRnrElEditor&); // Not implemented
22
23 protected:
24   GeoNodeRnrEl*   fNodeRE;
25
26   TGCheckButton*  fVizNode;
27   TGCheckButton*  fVizNodeDaughters;
28   TGCheckButton*  fVizVolume;
29   TGCheckButton*  fVizVolumeDaughters;
30
31   TGNumberEntry*  fTransparency;
32
33 public:
34   GeoNodeRnrElEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
35   virtual ~GeoNodeRnrElEditor() {}
36
37   virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
38
39   void DoVizNode();
40   void DoVizNodeDaughters();
41   void DoVizVolume();
42   void DoVizVolumeDaughters();
43
44   void DoTransparency();
45
46   ClassDef(GeoNodeRnrElEditor, 1);
47 };
48
49 /**************************************************************************/
50
51 class GeoTopNodeRnrElEditor : public TGedFrame
52 {
53   GeoTopNodeRnrElEditor(const GeoTopNodeRnrElEditor&);            // Not implemented
54   GeoTopNodeRnrElEditor& operator=(const GeoTopNodeRnrElEditor&); // Not implemented
55
56 protected:
57   GeoTopNodeRnrEl*   fTopNodeRE;
58
59   TGNumberEntry*     fVisOption;
60   TGNumberEntry*     fVisLevel;
61
62 public:
63   GeoTopNodeRnrElEditor(const TGWindow* p, Int_t id, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame, Pixel_t back = GetDefaultFrameBackground());
64   virtual ~GeoTopNodeRnrElEditor() {}
65
66   virtual void SetModel(TVirtualPad* pad, TObject* obj, Int_t event);
67
68   void DoVisOption();
69   void DoVisLevel();
70
71   ClassDef(GeoTopNodeRnrElEditor, 1);
72 };
73
74 }
75
76 #endif