Logo ROOT   master
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
void RenderLines(TGLRnrCtx &rnrCtx) const
GL rendering for line-types.
const char Option_t
Definition: RtypesCore.h:64
void RenderQuads(TGLRnrCtx &rnrCtx) const
GL rendering for free-quads and rectangles.
TEveQuadSetGL & operator=(const TEveQuadSetGL &)
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
bool Bool_t
Definition: RtypesCore.h:61
#define ClassDef(name, id)
Definition: Rtypes.h:322
OpenGL renderer class for TEveDigitSet.
void RenderHexagons(TGLRnrCtx &rnrCtx) const
GL rendering for hexagons.
TEveQuadSet * fM
Definition: TEveQuadSetGL.h:24
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Draw quad-set with GL.
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
Mother of all ROOT objects.
Definition: TObject.h:37
GL-renderer for TEveQuadSet class.
Definition: TEveQuadSetGL.h:18
const Bool_t kTRUE
Definition: RtypesCore.h:89
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