]>
Commit | Line | Data |
---|---|---|
d810d0de | 1 | // $Id$ |
fafff680 | 2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel & Bogdan Vulpescu: 2006, 2007 |
d810d0de | 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 * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
a15e6d7d | 9 | #ifndef AliEveMUONChamberGL_H |
10 | #define AliEveMUONChamberGL_H | |
d810d0de | 11 | |
12 | #include <TGLObject.h> | |
13 | #include <TEveQuadSetGL.h> | |
14 | ||
15 | class TEveQuadSetGL; | |
16 | ||
17 | ||
18 | class AliEveMUONChamber; | |
19 | ||
20 | class AliEveMUONChamberGL : public TGLObject | |
21 | { | |
d810d0de | 22 | AliEveMUONChamberGL(const AliEveMUONChamberGL&); // Not implemented |
23 | AliEveMUONChamberGL& operator=(const AliEveMUONChamberGL&); // Not implemented | |
24 | ||
25 | protected: | |
d810d0de | 26 | virtual void DirectDraw(TGLRnrCtx & rnrCtx) const; |
27 | void DrawChamberFrame() const; | |
28 | void DrawQuads(TGLRnrCtx& rnrCtx) const; | |
29 | void DrawPoints() const; | |
30 | ||
c76ea574 | 31 | AliEveMUONChamber *fChamber; // Model object. |
d810d0de | 32 | TEveQuadSetGL fQS1; |
33 | TEveQuadSetGL fQS2; | |
34 | ||
35 | mutable UInt_t fRTS; // render time stamp | |
36 | ||
37 | public: | |
d810d0de | 38 | AliEveMUONChamberGL(); |
39 | virtual ~AliEveMUONChamberGL(); | |
40 | ||
41 | virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0); | |
42 | virtual void SetBBox(); | |
43 | ||
44 | ClassDef(AliEveMUONChamberGL,1); // the GL drawing class of one chamber | |
45 | ||
46 | }; | |
47 | ||
48 | #endif |