]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/.SKEL-gl.cxx
This commit was generated by cvs2svn to compensate for changes in r13732,
[u/mrichter/AliRoot.git] / EVE / Alieve / .SKEL-gl.cxx
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
14 using namespace Reve;
15 using namespace Alieve;
16
17 //______________________________________________________________________
18 // CLASS
19 //
20
21 ClassImp(CLASS);
22
23 CLASS::CLASS()
24 {
25   // fCached = false; // Disable display list.
26 }
27
28 CLASS::~CLASS()
29 {}
30
31 /**************************************************************************/
32
33 Bool_t CLASS::SetModel(TObject* obj)
34 {
35   return set_model(obj, "Alieve::STEM");
36 }
37
38 void CLASS::SetBBox()
39 {
40   // !! This ok if master sub-classed from TAttBBox
41   set_axis_aligned_bbox(((STEM*)fExternalObj)->AssertBBox());
42 }
43
44 /**************************************************************************/
45
46 void CLASS::DirectDraw(const TGLDrawFlags & flags) const
47 {
48   // printf("CLASS::DirectDraw Style %d, LOD %d\n", flags.Style(), flags.LOD());
49 }