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