2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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 ALIEVE_MUONChamberGL_H
10 #define ALIEVE_MUONChamberGL_H
12 #include <TGLObject.h>
13 #include <TEveQuadSetGL.h>
18 class AliEveMUONChamber;
20 class AliEveMUONChamberGL : public TGLObject
23 AliEveMUONChamberGL(const AliEveMUONChamberGL&); // Not implemented
24 AliEveMUONChamberGL& operator=(const AliEveMUONChamberGL&); // Not implemented
28 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
29 void DrawChamberFrame() const;
30 void DrawQuads(TGLRnrCtx& rnrCtx) const;
31 void DrawPoints() const;
33 AliEveMUONChamber *fChamber; // Model object.
37 mutable UInt_t fRTS; // render time stamp
41 AliEveMUONChamberGL();
42 virtual ~AliEveMUONChamberGL();
44 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
45 virtual void SetBBox();
47 ClassDef(AliEveMUONChamberGL,1); // the GL drawing class of one chamber