Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
23protected:
25
26 void RenderQuads(TGLRnrCtx & rnrCtx) const;
27 void RenderLines(TGLRnrCtx & rnrCtx) const;
28 void RenderHexagons(TGLRnrCtx & rnrCtx) const;
29
30public:
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
bool Bool_t
Definition RtypesCore.h:63
const Bool_t kTRUE
Definition RtypesCore.h:100
const char Option_t
Definition RtypesCore.h:66
#define ClassDef(name, id)
Definition Rtypes.h:325
OpenGL renderer class for TEveDigitSet.
GL-renderer for TEveQuadSet class.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
virtual Bool_t IgnoreSizeForOfInterest() const
Return true if size of this shape should be ignored when determining if the object should be drawn.
TEveQuadSetGL()
Constructor.
void RenderQuads(TGLRnrCtx &rnrCtx) const
GL rendering for free-quads and rectangles.
void RenderHexagons(TGLRnrCtx &rnrCtx) const
GL rendering for hexagons.
virtual ~TEveQuadSetGL()
void RenderLines(TGLRnrCtx &rnrCtx) const
GL rendering for line-types.
TEveQuadSetGL & operator=(const TEveQuadSetGL &)
TEveQuadSetGL(const TEveQuadSetGL &)
TEveQuadSet * fM
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Draw quad-set with GL.
Supports various internal formats that result in rendering of a set of planar (lines,...
Definition TEveQuadSet.h:20
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition TGLRnrCtx.h:41
Mother of all ROOT objects.
Definition TObject.h:41