Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:12:00

0001 // @(#)root/gl:$Id$
0002 // Author:  Matevz Tadel, Jun 2007
0003 
0004 /*************************************************************************
0005  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers.               *
0006  * All rights reserved.                                                  *
0007  *                                                                       *
0008  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0009  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0010  *************************************************************************/
0011 
0012 #ifndef ROOT_TGLParametricEquationGL
0013 #define ROOT_TGLParametricEquationGL
0014 
0015 #include "TGLPlot3D.h"
0016 
0017 class TGLRnrCtx;
0018 class TGLParametricEquation;
0019 class TH2;
0020 
0021 
0022 class TGLParametricEquationGL : public TGLPlot3D
0023 {
0024 private:
0025    TGLParametricEquationGL(const TGLParametricEquationGL&) = delete;
0026    TGLParametricEquationGL& operator=(const TGLParametricEquationGL&) = delete;
0027 
0028 protected:
0029    TGLParametricEquation  *fM;
0030 
0031 public:
0032    TGLParametricEquationGL();
0033    ~TGLParametricEquationGL() override;
0034 
0035    Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
0036    void   SetBBox() override;
0037    void   DirectDraw(TGLRnrCtx & rnrCtx) const override;
0038 
0039    Bool_t KeepDuringSmartRefresh() const override { return kFALSE; }
0040 
0041    // To support two-level selection
0042    // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
0043    // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
0044 
0045    ClassDefOverride(TGLParametricEquationGL, 0); // GL renderer for TGLParametricEquation
0046 };
0047 
0048 #endif