43 #ifndef vtkParametricSuperEllipsoid_h
44 #define vtkParametricSuperEllipsoid_h
46 #include "vtkCommonComputationalGeometryModule.h"
78 vtkGetMacro(XRadius,
double);
86 vtkGetMacro(YRadius,
double);
94 vtkGetMacro(ZRadius,
double);
102 vtkGetMacro(
N1,
double);
110 vtkGetMacro(
N2,
double);
121 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9]) VTK_OVERRIDE;
136 double EvaluateScalar(
double uvw[3],
double Pt[3],
double Duvw[9]) VTK_OVERRIDE;
156 double Power (
double x,
double n );
int GetDimension() override
Return the parametric dimension of the class.
virtual double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9])=0
Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
virtual void Evaluate(double uvw[3], double Pt[3], double Duvw[9])=0
Performs the mapping $f(uvw)->(Pt,Duvw)$f.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract interface for parametric functions
a simple class to control print indentation
Generate a superellipsoid.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...