]>
Commit | Line | Data |
---|---|---|
dcb55984 | 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 | { | |
265ecb21 | 20 | TPCSector3DGL(const TPCSector3DGL&); // Not implemented |
21 | TPCSector3DGL& operator=(const TPCSector3DGL&); // Not implemented | |
22 | ||
dcb55984 | 23 | protected: |
24 | TPCSector3D* fSector; // fModel dynamic-casted to TPCSector3DGL | |
25 | Reve::BoxSetGL* fBoxRnr; | |
26 | ||
7b7bcadc | 27 | mutable UInt_t fRTS; |
28 | ||
dcb55984 | 29 | virtual void DirectDraw(const TGLDrawFlags & flags) const; |
30 | ||
31 | public: | |
32 | TPCSector3DGL(); | |
33 | virtual ~TPCSector3DGL(); | |
34 | ||
35 | virtual Bool_t SetModel(TObject* obj); | |
36 | virtual void SetBBox(); | |
37 | ||
91cb2b7c | 38 | void DrawSegmentFrame(const TPCSectorData::SegmentInfo& s, |
39 | Int_t botExtraPads=0, Int_t topExtraPads=0) const; | |
dcb55984 | 40 | |
41 | ClassDef(TPCSector3DGL, 0); | |
42 | }; // endclass TPCSector3DGL | |
43 | ||
44 | } | |
45 | ||
46 | #endif |