Coverity
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveTPCSector3DEditor.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliEveTPCSector3DEditor_H
11 #define AliEveTPCSector3DEditor_H
12
13 #include <TGedFrame.h>
14
15 class TGCheckButton;
16 class TGNumberEntry;
17 class TGColorSelect;
18
19 class TEveGValuator;
20 class TEveGDoubleValuator;
21
22 class AliEveTPCSector3D;
23
24 //------------------------------------------------------------------------------
25 // AliEveTPCSector3DEditor
26 //
27 // Editor for AliEveTPCSector3D.
28 //
29
30 class AliEveTPCSector3DEditor : public TGedFrame
31 {
32
33 public:
34   AliEveTPCSector3DEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
35                     UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
36   virtual ~AliEveTPCSector3DEditor() {}
37
38   virtual void SetModel(TObject* obj);
39
40   void DoRnrFrame();
41   void DoDriftVel();
42
43   void DoPointFrac();
44   void DoPointSize();
45
46 protected:
47   AliEveTPCSector3D   *fM;         // Model object.
48
49   TGCheckButton       *fRnrFrame;  // Check-box for frame rendering.
50   TEveGValuator       *fDriftVel;  // Valuator for drift velocity.
51
52   TEveGValuator       *fPointFrac; // Valuator for signal fraction displayed as points.
53   TEveGValuator       *fPointSize; // Size of point in GL.
54
55 private:
56   AliEveTPCSector3DEditor(const AliEveTPCSector3DEditor&);            // Not implemented
57   AliEveTPCSector3DEditor& operator=(const AliEveTPCSector3DEditor&); // Not implemented
58
59   ClassDef(AliEveTPCSector3DEditor, 0); // Editor for AliEveTPCSector3D.
60 };
61
62 #endif