20#include "TGLIncludes.h"
49 fM = SetModelDynCast<TGLParametricEquation>(obj);
73 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
74 glEnable(GL_NORMALIZE);
void Set(const TGLVertex3 vertex[8])
Set a bounding box from provided 8 vertices.
TGLBoundingBox fBoundingBox
Also plays the role of ID.
GL-renderer wrapper for TGLParametricEquation.
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.
TGLParametricEquationGL()
Constructor.
Description of TGLPlot3D.
TGLPlotPainter * fPlotPainter
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
Int_t FindFrontPoint() const
Convert 3d points into window coordinate system and find the nearest.
const TGLVertex3 * Get3DBox() const
Get 3D box.
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...
Mother of all ROOT objects.