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 ~TEveQuadSetGL() override {}
33
34 Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
35 void DirectDraw(TGLRnrCtx& rnrCtx) const override;
36
37 Bool_t IgnoreSizeForOfInterest() const override { return kTRUE; }
38
39 ClassDefOverride(TEveQuadSetGL, 0); // GL-renderer for TEveQuadSet class.
40};
41
42#endif
bool Bool_t
Definition RtypesCore.h:63
constexpr Bool_t kTRUE
Definition RtypesCore.h:100
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:341
OpenGL renderer class for TEveDigitSet.
GL-renderer for TEveQuadSet class.
Bool_t IgnoreSizeForOfInterest() const override
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.
void RenderLines(TGLRnrCtx &rnrCtx) const
GL rendering for line-types.
TEveQuadSetGL & operator=(const TEveQuadSetGL &)
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Draw quad-set with GL.
~TEveQuadSetGL() override
TEveQuadSetGL(const TEveQuadSetGL &)
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
TEveQuadSet * fM
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