]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/.SKEL-gl.cxx
Try to fix Delete problem in trigger code
[u/mrichter/AliRoot.git] / EVE / Alieve / .SKEL-gl.cxx
CommitLineData
5a5a1232 1// $Header$
2
3#include "CLASS.h"
71b15810 4#include <Alieve/STEM.h>
5a5a1232 5
6#include <TGLDrawFlags.h>
7
8#ifdef WIN32
9#include "Windows4root.h"
10#endif
11#include <GL/gl.h>
12#include <GL/glu.h>
13
14using namespace Reve;
15using namespace Alieve;
16
17//______________________________________________________________________
18// CLASS
19//
20
2aef44c1 21ClassImp(CLASS)
5a5a1232 22
23CLASS::CLASS()
24{
25 // fCached = false; // Disable display list.
26}
27
28CLASS::~CLASS()
29{}
30
31/**************************************************************************/
32
33Bool_t CLASS::SetModel(TObject* obj)
34{
71b15810 35#if ROOT_VERSION_CODE <= ROOT_VERSION(5,11,2)
36 if(set_model(obj, "Alieve::STEM")) {
37#else
38 if(SetModelCheckClass(obj, "Alieve::STEM")) {
39#endif
40 fSector = (TPCSector3D*) fExternalObj;
41 return kTRUE;
42 }
43 return kFALSE;
5a5a1232 44}
45
46void CLASS::SetBBox()
47{
48 // !! This ok if master sub-classed from TAttBBox
71b15810 49 #if ROOT_VERSION_CODE <= ROOT_VERSION(5,11,2)
5a5a1232 50 set_axis_aligned_bbox(((STEM*)fExternalObj)->AssertBBox());
71b15810 51#else
52 SetAxisAlignedBBox(((STEM*)fExternalObj)->AssertBBox());
53#endif
54
5a5a1232 55}
56
57/**************************************************************************/
58
59void CLASS::DirectDraw(const TGLDrawFlags & flags) const
60{
61 // printf("CLASS::DirectDraw Style %d, LOD %d\n", flags.Style(), flags.LOD());
62}