]>
Commit | Line | Data |
---|---|---|
31eaa632 | 1 | // $Header$ |
2 | ||
3 | #include "TrackGL.h" | |
4 | #include <Reve/Track.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 | // TrackGL | |
18 | // | |
19 | ||
20 | ClassImp(TrackGL) | |
21 | ||
22 | TrackGL::TrackGL() : LineGL() | |
23 | { | |
24 | // fCached = false; // Disable display list. | |
25 | } | |
26 | ||
27 | TrackGL::~TrackGL() | |
28 | {} | |
29 | ||
30 | /**************************************************************************/ | |
31 | ||
32 | void TrackGL::ProcessSelection(UInt_t* ptr, TGLViewer* v, TGLScene* s) | |
33 | { | |
34 | // Processes secondary selection from TGLViewer. | |
35 | // Calls TPointSet3D::PointSelected(Int_t) with index of selected | |
36 | // point as an argument. | |
37 | TGLLogicalShape::ProcessSelection(ptr, v, s); | |
38 | /* | |
39 | if (ptr[0] < 2) return; | |
40 | TPointSet3D& q = * (TPointSet3D*) fExternalObj; | |
41 | q.PointSelected(ptr[4]); | |
42 | */ | |
43 | } |