New files: allow interaction with the track, more configurability (render as line...
[u/mrichter/AliRoot.git] / EVE / Reve / TrackGL.cxx
CommitLineData
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
14using namespace Reve;
15
16//______________________________________________________________________
17// TrackGL
18//
19
20ClassImp(TrackGL)
21
22TrackGL::TrackGL() : LineGL()
23{
24 // fCached = false; // Disable display list.
25}
26
27TrackGL::~TrackGL()
28{}
29
30/**************************************************************************/
31
32void 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}