]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 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 | { | |
265ecb21 | 20 | GeoNodeRnrElEditor(const GeoNodeRnrElEditor&); // Not implemented |
21 | GeoNodeRnrElEditor& operator=(const GeoNodeRnrElEditor&); // Not implemented | |
22 | ||
5a5a1232 | 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: | |
a8600b56 | 34 | GeoNodeRnrElEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, |
35 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
5a5a1232 | 36 | virtual ~GeoNodeRnrElEditor() {} |
37 | ||
a8600b56 | 38 | virtual void SetModel(TObject* obj); |
5a5a1232 | 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 | { | |
265ecb21 | 54 | GeoTopNodeRnrElEditor(const GeoTopNodeRnrElEditor&); // Not implemented |
55 | GeoTopNodeRnrElEditor& operator=(const GeoTopNodeRnrElEditor&); // Not implemented | |
56 | ||
5a5a1232 | 57 | protected: |
58 | GeoTopNodeRnrEl* fTopNodeRE; | |
59 | ||
60 | TGNumberEntry* fVisOption; | |
61 | TGNumberEntry* fVisLevel; | |
62 | ||
63 | public: | |
a8600b56 | 64 | GeoTopNodeRnrElEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, |
65 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
5a5a1232 | 66 | virtual ~GeoTopNodeRnrElEditor() {} |
67 | ||
a8600b56 | 68 | virtual void SetModel(TObject* obj); |
5a5a1232 | 69 | |
70 | void DoVisOption(); | |
71 | void DoVisLevel(); | |
72 | ||
73 | ClassDef(GeoTopNodeRnrElEditor, 1); | |
74 | }; | |
75 | ||
76 | } | |
77 | ||
78 | #endif |