]>
Commit | Line | Data |
---|---|---|
6f04ebee | 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 | ||
19208112 | 25 | virtual void DirectDraw(TGLRnrCtx & rnrCtx) const; |
6f04ebee | 26 | |
27 | public: | |
28 | LineGL(); | |
29 | virtual ~LineGL(); | |
30 | ||
19208112 | 31 | virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0); |
6f04ebee | 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 |