ROOT  6.06/09
Reference Guide
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 
19 {
20  TEveQuadSetGL(const TEveQuadSetGL&); // Not implemented
21  TEveQuadSetGL& operator=(const TEveQuadSetGL&); // Not implemented
22 
23 protected:
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
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition: TGLRnrCtx.h:40
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Draw quad-set with GL.
const char Option_t
Definition: RtypesCore.h:62
TEveQuadSetGL & operator=(const TEveQuadSetGL &)
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
bool Bool_t
Definition: RtypesCore.h:59
ClassDef(TEveQuadSetGL, 0)
OpenGL renderer class for TEveDigitSet.
TEveQuadSet * fM
Definition: TEveQuadSetGL.h:24
virtual ~TEveQuadSetGL()
Definition: TEveQuadSetGL.h:32
virtual Bool_t IgnoreSizeForOfInterest() const
Return true if size of this shape should be ignored when determining if the object should be drawn...
Definition: TEveQuadSetGL.h:37
void RenderHexagons(TGLRnrCtx &rnrCtx) const
GL rendering for hexagons.
Mother of all ROOT objects.
Definition: TObject.h:58
void RenderQuads(TGLRnrCtx &rnrCtx) const
GL rendering for free-quads and rectangles.
void RenderLines(TGLRnrCtx &rnrCtx) const
GL rendering for line-types.
GL-renderer for TEveQuadSet class.
Definition: TEveQuadSetGL.h:18
const Bool_t kTRUE
Definition: Rtypes.h:91
TObject * obj
TEveQuadSetGL()
Constructor.
Supports various internal formats that result in rendering of a set of planar (lines, rectangles, hexagons with shared normal) objects.
Definition: TEveQuadSet.h:19