]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/RGeoNodeEditors.h
From Cvetan: new macro to load ITS clusters.
[u/mrichter/AliRoot.git] / EVE / Reve / RGeoNodeEditors.h
CommitLineData
5a5a1232 1// $Header$
2
3#ifndef REVE_RGeoNodeEditors_H
4#define REVE_RGeoNodeEditors_H
5
6#include <TGedFrame.h>
7
8class TGCheckButton;
9class TGNumberEntry;
10class TGColorSelect;
11
12namespace Reve {
13
14class GeoNodeRnrEl;
15class GeoTopNodeRnrEl;
16
17
18class GeoNodeRnrElEditor : public TGedFrame
19{
265ecb21 20 GeoNodeRnrElEditor(const GeoNodeRnrElEditor&); // Not implemented
21 GeoNodeRnrElEditor& operator=(const GeoNodeRnrElEditor&); // Not implemented
22
5a5a1232 23protected:
24 GeoNodeRnrEl* fNodeRE;
25
26 TGCheckButton* fVizNode;
27 TGCheckButton* fVizNodeDaughters;
28 TGCheckButton* fVizVolume;
29 TGCheckButton* fVizVolumeDaughters;
30
31 TGNumberEntry* fTransparency;
32
33public:
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
52class GeoTopNodeRnrElEditor : public TGedFrame
53{
265ecb21 54 GeoTopNodeRnrElEditor(const GeoTopNodeRnrElEditor&); // Not implemented
55 GeoTopNodeRnrElEditor& operator=(const GeoTopNodeRnrElEditor&); // Not implemented
56
5a5a1232 57protected:
58 GeoTopNodeRnrEl* fTopNodeRE;
59
60 TGNumberEntry* fVisOption;
61 TGNumberEntry* fVisLevel;
62
63public:
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