50 fM = SetModelDynCast<TGLParametricEquation>(obj);
74 glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
75 glEnable(GL_NORMALIZE);
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
virtual ~TGLParametricEquationGL()
Destructor.
void Set(const TGLVertex3 vertex[8])
Set a bounding box from provided 8 vertices.
void SetPainter(TGLPlotPainter *p)
Set painter object and destroy the old one.
virtual Bool_t SetModel(TObject *obj, const Option_t *opt=0)
Set model object.
const TGLVertex3 * Get3DBox() const
Get 3D box.
TGLParametricEquationGL()
Constructor.
TGLPlotPainter * fPlotPainter
GL-renderer wrapper for TGLParametricEquation.
virtual void SetBBox()
Setup bounding-box.
Description of TGLPlot3D.
TGLParametricEquation * fM
Int_t FindFrontPoint() const
Convert 3d points into window coordinate system and find the nearest.
const TGLPlotBox & RefBackBox() const
virtual void AddOption(const TString &stringOption)=0
virtual Bool_t InitGeometry()=0
Mother of all ROOT objects.
virtual void DirectDraw(TGLRnrCtx &rnrCtx) const
Render the object.
virtual void InitGL() const =0
TGLBoundingBox fBoundingBox
Also plays the role of ID.
virtual void DrawPlot() const =0