]>
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; | |
eadce74d | 25 | void DrawPoints() const; |
3626c858 | 26 | |
27 | MUONChamber* fChamber; // fModel dynamic-casted to MUONChamberGL | |
28 | mutable UInt_t fRTS; // render time stamp | |
29 | ||
30 | public: | |
31 | ||
32 | MUONChamberGL(); | |
33 | virtual ~MUONChamberGL(); | |
34 | ||
35 | virtual Bool_t SetModel(TObject* obj); | |
36 | virtual void SetBBox(); | |
37 | ||
38 | ClassDef(MUONChamberGL,1); // the GL drawing class of one chamber | |
39 | ||
40 | }; | |
41 | ||
42 | } | |
43 | ||
44 | ||
45 | #endif |