]>
Commit | Line | Data |
---|---|---|
1 | // $Header$ | |
2 | ||
3 | #ifndef ALIEVE_TPCSectorVizEditor_H | |
4 | #define ALIEVE_TPCSectorVizEditor_H | |
5 | ||
6 | #include <TGedFrame.h> | |
7 | ||
8 | class TGCheckButton; | |
9 | class TGNumberEntry; | |
10 | class TGColorSelect; | |
11 | class TGDoubleHSlider; | |
12 | class TGHSlider; | |
13 | ||
14 | namespace Reve { | |
15 | class RGValuator; | |
16 | class RGDoubleValuator; | |
17 | class ZTransSubEditor; | |
18 | } | |
19 | ||
20 | namespace Alieve { | |
21 | ||
22 | class TPCSectorViz; | |
23 | ||
24 | class TPCSectorVizEditor : public TGedFrame | |
25 | { | |
26 | TPCSectorVizEditor(const TPCSectorVizEditor&); // Not implemented | |
27 | TPCSectorVizEditor& operator=(const TPCSectorVizEditor&); // Not implemented | |
28 | ||
29 | protected: | |
30 | TPCSectorViz* fM; // fModel dynamic-casted to TPCSectorVizEditor | |
31 | ||
32 | Reve::ZTransSubEditor* fHMTrans; | |
33 | ||
34 | Reve::RGValuator* fSectorID; | |
35 | TGCheckButton* fAutoTrans; | |
36 | ||
37 | TGCheckButton* fRnrInn; | |
38 | TGCheckButton* fRnrOut1; | |
39 | TGCheckButton* fRnrOut2; | |
40 | ||
41 | Reve::RGValuator* fThreshold; | |
42 | Reve::RGValuator* fMaxVal; | |
43 | ||
44 | Reve::RGDoubleValuator* fTime; | |
45 | ||
46 | public: | |
47 | TPCSectorVizEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30, | |
48 | UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground()); | |
49 | ~TPCSectorVizEditor(); | |
50 | ||
51 | virtual void SetModel(TObject* obj); | |
52 | ||
53 | void DoSectorID(); | |
54 | void DoAutoTrans(); | |
55 | ||
56 | void DoRnrInn(); | |
57 | void DoRnrOut1(); | |
58 | void DoRnrOut2(); | |
59 | ||
60 | void DoThreshold(); | |
61 | void DoMaxVal(); | |
62 | ||
63 | void DoTime(); | |
64 | ||
65 | ClassDef(TPCSectorVizEditor, 0); // Editor for TPCSectorViz | |
66 | }; // endclass TPCSectorVizEditor | |
67 | ||
68 | } | |
69 | ||
70 | #endif |