]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveDet/.SKEL-gl.cxx
TOF Raw data and clusters visualization
[u/mrichter/AliRoot.git] / EVE / EveDet / .SKEL-gl.cxx
CommitLineData
5a5a1232 1// $Header$
2
3#include "CLASS.h"
71b15810 4#include <Alieve/STEM.h>
5a5a1232 5
19208112 6#include <TGLRnrCtx.h>
7#include <TGLIncludes.h>
5a5a1232 8
9using namespace Reve;
10using namespace Alieve;
11
12//______________________________________________________________________
13// CLASS
14//
15
2aef44c1 16ClassImp(CLASS)
5a5a1232 17
a8600b56 18CLASS::CLASS() : TGLObject(), fM(0)
5a5a1232 19{
32e219c2 20 // fDLCache = kFALSE; // Disable display list.
5a5a1232 21}
22
23CLASS::~CLASS()
24{}
25
26/**************************************************************************/
27
19208112 28Bool_t CLASS::SetModel(TObject* obj, const Option_t* /*opt*/)
5a5a1232 29{
a8600b56 30 if(SetModelCheckClass(obj, STEM::Class())) {
31 fM = dynamic_cast<STEM*>(obj);
71b15810 32 return kTRUE;
33 }
34 return kFALSE;
5a5a1232 35}
36
37void CLASS::SetBBox()
38{
39 // !! This ok if master sub-classed from TAttBBox
71b15810 40 SetAxisAlignedBBox(((STEM*)fExternalObj)->AssertBBox());
5a5a1232 41}
42
43/**************************************************************************/
44
19208112 45void CLASS::DirectDraw(TGLRnrCtx & rnrCtx) const
5a5a1232 46{
47 // printf("CLASS::DirectDraw Style %d, LOD %d\n", flags.Style(), flags.LOD());
48}