00001 // @(#)root/gl:$Id: TGLParametricEquationGL.h 29526 2009-07-20 17:41:53Z matevz $ 00002 // Author: Matevz Tadel, Jun 2007 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TGLParametricEquationGL 00013 #define ROOT_TGLParametricEquationGL 00014 00015 #include "TGLPlot3D.h" 00016 00017 class TGLRnrCtx; 00018 class TGLParametricEquation; 00019 class TH2; 00020 00021 00022 class TGLParametricEquationGL : public TGLPlot3D 00023 { 00024 private: 00025 TGLParametricEquationGL(const TGLParametricEquationGL&); // Not implemented 00026 TGLParametricEquationGL& operator=(const TGLParametricEquationGL&); // Not implemented 00027 00028 protected: 00029 TGLParametricEquation *fM; 00030 00031 public: 00032 TGLParametricEquationGL(); 00033 virtual ~TGLParametricEquationGL(); 00034 00035 virtual Bool_t SetModel(TObject* obj, const Option_t* opt=0); 00036 virtual void SetBBox(); 00037 virtual void DirectDraw(TGLRnrCtx & rnrCtx) const; 00038 00039 virtual Bool_t KeepDuringSmartRefresh() const { return kFALSE; } 00040 00041 // To support two-level selection 00042 // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; } 00043 // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*); 00044 00045 ClassDef(TGLParametricEquationGL, 0); // GL renderer for TGLParametricEquation 00046 }; 00047 00048 #endif