]>
Commit | Line | Data |
---|---|---|
f0f9d9a8 | 1 | // $Header$ |
2 | ||
32e219c2 | 3 | #ifndef REVE_GeoNodeEditor_H |
4 | #define REVE_GeoNodeEditor_H | |
f0f9d9a8 | 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 | ||
32e219c2 | 17 | class RGValuator; |
f0f9d9a8 | 18 | |
19 | class GeoNodeRnrElEditor : public TGedFrame | |
20 | { | |
21 | GeoNodeRnrElEditor(const GeoNodeRnrElEditor&); // Not implemented | |
22 | GeoNodeRnrElEditor& operator=(const GeoNodeRnrElEditor&); // Not implemented | |
23 | ||
24 | protected: | |
25 | GeoNodeRnrEl* fNodeRE; | |
26 | ||
27 | TGCheckButton* fVizNode; | |
28 | TGCheckButton* fVizNodeDaughters; | |
29 | TGCheckButton* fVizVolume; | |
30 | TGCheckButton* fVizVolumeDaughters; | |
31 | ||
32 | TGNumberEntry* fTransparency; | |
33 | ||
34 | public: | |
35 | GeoNodeRnrElEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
36 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
37 | virtual ~GeoNodeRnrElEditor() {} | |
38 | ||
39 | virtual void SetModel(TObject* obj); | |
40 | ||
41 | void DoVizNode(); | |
42 | void DoVizNodeDaughters(); | |
43 | void DoVizVolume(); | |
44 | void DoVizVolumeDaughters(); | |
45 | ||
46 | void DoTransparency(); | |
47 | ||
48 | ClassDef(GeoNodeRnrElEditor, 1); | |
49 | }; | |
50 | ||
51 | /**************************************************************************/ | |
52 | ||
53 | class GeoTopNodeRnrElEditor : public TGedFrame | |
54 | { | |
55 | GeoTopNodeRnrElEditor(const GeoTopNodeRnrElEditor&); // Not implemented | |
56 | GeoTopNodeRnrElEditor& operator=(const GeoTopNodeRnrElEditor&); // Not implemented | |
57 | ||
58 | protected: | |
59 | GeoTopNodeRnrEl* fTopNodeRE; | |
60 | ||
32e219c2 | 61 | Reve::RGValuator* fVisOption; |
62 | Reve::RGValuator* fVisLevel; | |
f0f9d9a8 | 63 | |
64 | public: | |
65 | GeoTopNodeRnrElEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
66 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
67 | virtual ~GeoTopNodeRnrElEditor() {} | |
68 | ||
69 | virtual void SetModel(TObject* obj); | |
70 | ||
71 | void DoVisOption(); | |
72 | void DoVisLevel(); | |
73 | ||
74 | ClassDef(GeoTopNodeRnrElEditor, 1); | |
75 | }; | |
76 | ||
77 | } | |
78 | ||
79 | #endif |