]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/TPCSector3DGL.h
Try to fix Delete problem in trigger code
[u/mrichter/AliRoot.git] / EVE / Alieve / TPCSector3DGL.h
1 // $Header$
2
3 #ifndef ALIEVE_TPCSector3DGL_H
4 #define ALIEVE_TPCSector3DGL_H
5
6 #include <TGLObject.h>
7
8 #include <Alieve/TPCSectorData.h>
9
10 namespace Reve {
11 class BoxSetGL;
12 }
13
14 namespace Alieve {
15
16 class TPCSector3D;
17
18 class TPCSector3DGL : public TGLObject
19 {
20 protected:
21   TPCSector3D*    fSector; // fModel dynamic-casted to TPCSector3DGL
22   Reve::BoxSetGL* fBoxRnr;
23
24   mutable UInt_t  fRTS;
25
26   virtual void DirectDraw(const TGLDrawFlags & flags) const;
27
28 public:
29   TPCSector3DGL();
30   virtual ~TPCSector3DGL();
31
32   virtual Bool_t SetModel(TObject* obj);
33   virtual void   SetBBox();
34
35   void DrawSegmentFrame(const TPCSectorData::SegmentInfo& s,
36                         Int_t botExtraPads=0, Int_t topExtraPads=0) const;
37
38   ClassDef(TPCSector3DGL, 0);
39 }; // endclass TPCSector3DGL
40
41 }
42
43 #endif