]>
Commit | Line | Data |
---|---|---|
3626c858 | 1 | #ifndef ALIEVE_MUONChamberGL_H |
2 | #define ALIEVE_MUONChamberGL_H | |
3 | ||
4 | #include <TGLObject.h> | |
5 | ||
6 | namespace Reve { | |
7 | class QuadSetGL; | |
8 | } | |
9 | ||
10 | namespace Alieve { | |
11 | ||
12 | class MUONChamber; | |
13 | ||
14 | class MUONChamberGL : public TGLObject | |
15 | { | |
16 | ||
17 | MUONChamberGL(const MUONChamberGL&); // Not implemented | |
18 | MUONChamberGL& operator=(const MUONChamberGL&); // Not implemented | |
19 | ||
20 | protected: | |
21 | ||
22 | virtual void DirectDraw(const TGLDrawFlags & flags) const; | |
23 | void DrawChamberFrame() const; | |
24 | void DrawQuads() const; | |
25 | ||
26 | MUONChamber* fChamber; // fModel dynamic-casted to MUONChamberGL | |
27 | mutable UInt_t fRTS; // render time stamp | |
28 | ||
29 | public: | |
30 | ||
31 | MUONChamberGL(); | |
32 | virtual ~MUONChamberGL(); | |
33 | ||
34 | virtual Bool_t SetModel(TObject* obj); | |
35 | virtual void SetBBox(); | |
36 | ||
37 | ClassDef(MUONChamberGL,1); // the GL drawing class of one chamber | |
38 | ||
39 | }; | |
40 | ||
41 | } | |
42 | ||
43 | ||
44 | #endif |