]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Reve/.SKEL-gl.cxx
Add Getters and Setters in TrackRnrStyle and TrackList to define rendering of path...
[u/mrichter/AliRoot.git] / EVE / Reve / .SKEL-gl.cxx
CommitLineData
5a5a1232 1// $Header$
2
3#include "CLASS.h"
4#include <Reve/STEM.h>
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;
15
16//______________________________________________________________________
17// CLASS
18//
19
2aef44c1 20ClassImp(CLASS)
5a5a1232 21
a8600b56 22CLASS::CLASS() : TGLObject(), fM(0)
5a5a1232 23{
24 // fCached = false; // Disable display list.
25}
26
27CLASS::~CLASS()
28{}
29
30/**************************************************************************/
31
32Bool_t CLASS::SetModel(TObject* obj)
33{
a8600b56 34 if(SetModelCheckClass(obj, STEM::Class())) {
35 fM = dynamic_cast<STEM*>(obj);
36 return kTRUE;
37 }
38 return kFALSE;
5a5a1232 39}
40
41void CLASS::SetBBox()
42{
43 // !! This ok if master sub-classed from TAttBBox
a8600b56 44 SetAxisAlignedBBox(((STEM*)fExternalObj)->AssertBBox());
5a5a1232 45}
46
47/**************************************************************************/
48
49void CLASS::DirectDraw(const TGLDrawFlags & flags) const
50{
51 // printf("CLASS::DirectDraw Style %d, LOD %d\n", flags.Style(), flags.LOD());
52}