]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/RGeoNodeEditors.h
Missing initialization; fiddle with the track marker-style a bit more.
[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=0, Int_t width=170, Int_t height=30,
35                      UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
36   virtual ~GeoNodeRnrElEditor() {}
37
38   virtual void SetModel(TObject* obj);
39
40   void DoVizNode();
41   void DoVizNodeDaughters();
42   void DoVizVolume();
43   void DoVizVolumeDaughters();
44
45   void DoTransparency();
46
47   ClassDef(GeoNodeRnrElEditor, 1);
48 };
49
50 /**************************************************************************/
51
52 class GeoTopNodeRnrElEditor : public TGedFrame
53 {
54   GeoTopNodeRnrElEditor(const GeoTopNodeRnrElEditor&);            // Not implemented
55   GeoTopNodeRnrElEditor& operator=(const GeoTopNodeRnrElEditor&); // Not implemented
56
57 protected:
58   GeoTopNodeRnrEl*   fTopNodeRE;
59
60   TGNumberEntry*     fVisOption;
61   TGNumberEntry*     fVisLevel;
62
63 public:
64   GeoTopNodeRnrElEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
65                         UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
66   virtual ~GeoTopNodeRnrElEditor() {}
67
68   virtual void SetModel(TObject* obj);
69
70   void DoVisOption();
71   void DoVisLevel();
72
73   ClassDef(GeoTopNodeRnrElEditor, 1);
74 };
75
76 }
77
78 #endif