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