]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Reve/LineGL.h
b448d1fc712787ef06e38cdf558c4b6874778aad
[u/mrichter/AliRoot.git] / EVE / Reve / LineGL.h
1 // $Header$
2
3 #ifndef REVE_LineGL_H
4 #define REVE_LineGL_H
5
6 #include <TGLObject.h>
7 #include <TPointSet3DGL.h>
8
9 class TGLViewer;
10 class TGLScene;
11
12 namespace Reve {
13
14 class Line;
15
16 class LineGL : public TPointSet3DGL
17 {
18 private:
19   LineGL(const LineGL&);            // Not implemented
20   LineGL& operator=(const LineGL&); // Not implemented
21
22 protected:
23   Line* fM; // fModel dynamic-casted to LineGL
24
25   virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
26
27 public:
28   LineGL();
29   virtual ~LineGL();
30
31   virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
32
33   // To support two-level selection
34   // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
35   // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
36
37   ClassDef(LineGL, 0);
38 }; // endclass LineGL
39
40 }
41
42 #endif