Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEveTriangleSetGL.h
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TEveTriangleSetGL
13 #define ROOT_TEveTriangleSetGL
14 
15 #include "TGLObject.h"
16 
17 class TGLRnrCtx;
18 
19 class TEveTriangleSet;
20 
21 class TEveTriangleSetGL : public TGLObject
22 {
23 private:
24  TEveTriangleSetGL(const TEveTriangleSetGL&); // Not implemented
25  TEveTriangleSetGL& operator=(const TEveTriangleSetGL&); // Not implemented
26 
27 protected:
28  TEveTriangleSet* fM; // Model object.
29 
30 public:
31  TEveTriangleSetGL();
32  virtual ~TEveTriangleSetGL();
33 
34  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
35  virtual void SetBBox();
36  virtual void DirectDraw(TGLRnrCtx & rnrCtx) const;
37 
38  // To support two-level selection
39  // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
40  // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
41 
42  ClassDef(TEveTriangleSetGL, 0); // GL-renderer for TEveTriangleSet class.
43 };
44 
45 #endif