Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGLParametricEquationGL.cxx
Go to the documentation of this file.
1// @(#)root/gl:$Id$
2// Author: Matevz Tadel, Jun 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
13
14#include "TGLParametric.h"
15
16#include "TGLSurfacePainter.h"
17#include "TGLTF3Painter.h"
18
19#include "TGLRnrCtx.h"
20#include "TGLIncludes.h"
21
22/** \class TGLParametricEquationGL
23\ingroup opengl
24GL-renderer wrapper for TGLParametricEquation.
25This allows rendering of parametric-equations in standard GL viewer.
26*/
27
28
29////////////////////////////////////////////////////////////////////////////////
30/// Constructor.
31
35
36////////////////////////////////////////////////////////////////////////////////
37/// Destructor.
38
42
43////////////////////////////////////////////////////////////////////////////////
44/// Set model object.
45
57
58////////////////////////////////////////////////////////////////////////////////
59/// Setup bounding-box.
60
65
66////////////////////////////////////////////////////////////////////////////////
67/// Render the object.
68
constexpr Bool_t kTRUE
Definition RtypesCore.h:107
const char Option_t
Option string (const char)
Definition RtypesCore.h:80
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t option
void Set(const TGLVertex3 vertex[8])
Set a bounding box from provided 8 vertices.
TGLBoundingBox fBoundingBox
Also plays the role of ID.
TGLParametricEquation * fM
void SetBBox() override
Setup bounding-box.
void DirectDraw(TGLRnrCtx &rnrCtx) const override
Render the object.
~TGLParametricEquationGL() override
Destructor.
Bool_t SetModel(TObject *obj, const Option_t *opt=nullptr) override
Set model object.
Description of TGLPlot3D.
Definition TGLPlot3D.h:23
TGLPlotPainter * fPlotPainter
Definition TGLPlot3D.h:29
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
Definition TGLPlot3D.cxx:51
const TGLPlotBox & RefBackBox() const
virtual void DrawPlot() const =0
virtual Bool_t InitGeometry()=0
virtual void InitGL() const =0
virtual void AddOption(const TString &stringOption)=0
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
Basic string class.
Definition TString.h:138