]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveDet/AliEveMUONChamberGL.h
Repairing leak in AliEveFMDLoader.
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveMUONChamberGL.h
CommitLineData
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
e4107864 12// #include <TGLObject.h>
d810d0de 13#include <TEveQuadSetGL.h>
14
15class TEveQuadSetGL;
16
d810d0de 17class AliEveMUONChamber;
18
19class AliEveMUONChamberGL : public TGLObject
20{
4b456ebb 21public:
22 AliEveMUONChamberGL();
23 virtual ~AliEveMUONChamberGL();
24
25 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
26 virtual void SetBBox();
d810d0de 27
4b456ebb 28protected:
d810d0de 29 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
30 void DrawChamberFrame() const;
31 void DrawQuads(TGLRnrCtx& rnrCtx) const;
32 void DrawPoints() const;
33
c76ea574 34 AliEveMUONChamber *fChamber; // Model object.
d810d0de 35 TEveQuadSetGL fQS1;
36 TEveQuadSetGL fQS2;
37
38 mutable UInt_t fRTS; // render time stamp
39
4b456ebb 40private:
41 AliEveMUONChamberGL(const AliEveMUONChamberGL&); // Not implemented
42 AliEveMUONChamberGL& operator=(const AliEveMUONChamberGL&); // Not implemented
d810d0de 43
4b456ebb 44 ClassDef(AliEveMUONChamberGL, 0); // the GL drawing class of one chamber
d810d0de 45};
46
47#endif