Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
TEveQuadSetGL.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_TEveQuadSetGL
13 #define ROOT_TEveQuadSetGL
14 
15 #include "TEveDigitSetGL.h"
16 #include "TEveQuadSet.h"
17 
18 class TEveQuadSetGL : public TEveDigitSetGL
19 {
20  TEveQuadSetGL(const TEveQuadSetGL&); // Not implemented
21  TEveQuadSetGL& operator=(const TEveQuadSetGL&); // Not implemented
22 
23 protected:
24  TEveQuadSet *fM;
25 
26  void RenderQuads(TGLRnrCtx & rnrCtx) const;
27  void RenderLines(TGLRnrCtx & rnrCtx) const;
28  void RenderHexagons(TGLRnrCtx & rnrCtx) const;
29 
30 public:
31  TEveQuadSetGL();
32  virtual ~TEveQuadSetGL() {}
33 
34  virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0);
35  virtual void DirectDraw(TGLRnrCtx& rnrCtx) const;
36 
37  virtual Bool_t IgnoreSizeForOfInterest() const { return kTRUE; }
38 
39  ClassDef(TEveQuadSetGL, 0); // GL-renderer for TEveQuadSet class.
40 };
41 
42 #endif