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;
156 double Power (
double x,
double n );
a simple class to control print indentation
abstract interface for parametric functions
Generate a superellipsoid.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkParametricSuperEllipsoid * New()
Construct a superellipsoid with the following parameters: MinimumU = 0, MaximumU = 2*Pi,...
double EvaluateScalar(double uvw[3], double Pt[3], double Duvw[9]) override
Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
vtkParametricSuperEllipsoid()
void Evaluate(double uvw[3], double Pt[3], double Duvw[9]) override
A superellipsoid.
int GetDimension() override
Return the parametric dimension of the class.
~vtkParametricSuperEllipsoid() override
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.