Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TGLParametricEquationGL.h
Go to the documentation of this file.
1// @(#)root/gl:$Id$
2// Author: Matevz Tadel, Jun 2007
3
4/*************************************************************************
5 * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6 * All rights reserved. *
7 * *
8 * For the licensing terms see $ROOTSYS/LICENSE. *
9 * For the list of contributors see $ROOTSYS/README/CREDITS. *
10 *************************************************************************/
11
12#ifndef ROOT_TGLParametricEquationGL
13#define ROOT_TGLParametricEquationGL
14
15#include "TGLPlot3D.h"
16
17class TGLRnrCtx;
19class TH2;
20
21
23{
24private:
27
28protected:
30
31public:
33 ~TGLParametricEquationGL() override;
34
35 Bool_t SetModel(TObject* obj, const Option_t *opt = nullptr) override;
36 void SetBBox() override;
37 void DirectDraw(TGLRnrCtx & rnrCtx) const override;
38
39 Bool_t KeepDuringSmartRefresh() const override { return kFALSE; }
40
41 // To support two-level selection
42 // virtual Bool_t SupportsSecondarySelect() const { return kTRUE; }
43 // virtual void ProcessSelection(UInt_t* ptr, TGLViewer*, TGLScene*);
44
45 ClassDefOverride(TGLParametricEquationGL, 0); // GL renderer for TGLParametricEquation
46};
47
48#endif
constexpr Bool_t kFALSE
Definition RtypesCore.h:94
const char Option_t
Definition RtypesCore.h:66
#define ClassDefOverride(name, id)
Definition Rtypes.h:346
GL-renderer wrapper for TGLParametricEquation.
TGLParametricEquation * fM
TGLParametricEquationGL(const TGLParametricEquationGL &)=delete
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.
Bool_t KeepDuringSmartRefresh() const override
TGLParametricEquationGL & operator=(const TGLParametricEquationGL &)=delete
A parametric surface is a surface defined by a parametric equation, involving two parameters (u,...
Description of TGLPlot3D.
Definition TGLPlot3D.h:23
The TGLRnrCtx class aggregates data for a given redering context as needed by various parts of the RO...
Definition TGLRnrCtx.h:41
Service class for 2-D histogram classes.
Definition TH2.h:30
Mother of all ROOT objects.
Definition TObject.h:41