29 ClassImp(TGLParametricEquationGL);
 
   34 TGLParametricEquationGL::TGLParametricEquationGL() : TGLPlot3D(), fM(0)
 
   41 TGLParametricEquationGL::~TGLParametricEquationGL()
 
   48 Bool_t TGLParametricEquationGL::SetModel(TObject* obj, 
const Option_t* opt)
 
   50    fM = SetModelDynCast<TGLParametricEquation>(obj);
 
   52    SetPainter( 
new TGLParametricPlot(fM, 0) );
 
   54    fPlotPainter->AddOption(option);
 
   55    fPlotPainter->InitGeometry();
 
   63 void TGLParametricEquationGL::SetBBox()
 
   65    fBoundingBox.Set(fPlotPainter->RefBackBox().Get3DBox());
 
   71 void TGLParametricEquationGL::DirectDraw(TGLRnrCtx& )
 const 
   73    fPlotPainter->RefBackBox().FindFrontPoint();
 
   74    glPushAttrib(GL_ENABLE_BIT | GL_LIGHTING_BIT);
 
   75    glEnable(GL_NORMALIZE);
 
   76    fPlotPainter->InitGL();
 
   77    fPlotPainter->DrawPlot();