12 #ifndef ROOT_TGLParametric 13 #define ROOT_TGLParametric 37 typedef std::unique_ptr<TF2>
Ptr_t;
119 void AddOption(
const TString &option);
124 void DeInitGL()
const;
126 void DrawPlot()
const;
130 void DrawSectionXOZ()
const;
131 void DrawSectionYOZ()
const;
132 void DrawSectionXOY()
const;
134 void SetSurfaceColor()
const;
ParametricEquation_t fEquation
Camera for TGLPlotPainter and sub-classes.
TGLParametricEquation & operator=(const TGLParametricEquation &)
TGLPlotCoordinates fCartesianCoord
std::pair< Double_t, Double_t > Range_t
Bool_t IsConstrained() const
Check is constrained.
Rgl::Range_t GetURange() const
[uMin, uMax]
void SetConstrained(Bool_t c)
Set constrained.
void EvalVertex(TGLVertex3 &newVertex, Double_t u, Double_t v) const
Calculate vertex.
Int_t DistancetoPrimitive(Int_t px, Int_t py)
Check, if parametric surface is under cursor.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
3 component (x/y/z) vertex class.
TGL2DArray< Vertex_t > fMesh
std::unique_ptr< TGLHistPainter > Painter_t
3 component (x/y/z) vector class.
TGLParametricEquation(const TString &name, const TString &xEquation, const TString &yEquation, const TString &zEquation, Double_t uMin, Double_t uMax, Double_t vMin, Double_t vMax)
Surface is defined by three strings.
static const Float_t kHigh
Rgl::Range_t GetVRange() const
[vMin, vMax]
Bool_t IsModified() const
Something was changed in parametric equation (or constrained option was changed). ...
TGLParametricEquation * fEquation
Class to manage histogram axis.
void(* ParametricEquation_t)(TGLVertex3 &, Double_t u, Double_t v)
Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if ce...
std::unique_ptr< TF2 > Ptr_t
A parametric surface is a surface defined by a parametric equation, involving two parameters (u...
Base class for plot-painters that provide GL rendering of various 2D and 3D histograms, functions and parametric surfaces.
void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Pass event to painter.
typedef void((*Func_t)())
void Paint(Option_t *option)
Delegate paint.
void SetModified(Bool_t m)
Set modified.
char * GetObjectInfo(Int_t px, Int_t py) const
No object info yet.