]>
Commit | Line | Data |
---|---|---|
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 | ||
14 | using namespace Reve; | |
15 | ||
16 | //______________________________________________________________________ | |
17 | // CLASS | |
18 | // | |
19 | ||
2aef44c1 | 20 | ClassImp(CLASS) |
5a5a1232 | 21 | |
22 | CLASS::CLASS() | |
23 | { | |
24 | // fCached = false; // Disable display list. | |
25 | } | |
26 | ||
27 | CLASS::~CLASS() | |
28 | {} | |
29 | ||
30 | /**************************************************************************/ | |
31 | ||
32 | Bool_t CLASS::SetModel(TObject* obj) | |
33 | { | |
34 | return set_model(obj, "Reve::STEM"); | |
35 | } | |
36 | ||
37 | void CLASS::SetBBox() | |
38 | { | |
39 | // !! This ok if master sub-classed from TAttBBox | |
40 | set_axis_aligned_bbox(((STEM*)fExternalObj)->AssertBBox()); | |
41 | } | |
42 | ||
43 | /**************************************************************************/ | |
44 | ||
45 | void CLASS::DirectDraw(const TGLDrawFlags & flags) const | |
46 | { | |
47 | // printf("CLASS::DirectDraw Style %d, LOD %d\n", flags.Style(), flags.LOD()); | |
48 | } |