43 #ifndef vtkParametricSuperEllipsoid_h 44 #define vtkParametricSuperEllipsoid_h 46 #include "vtkCommonComputationalGeometryModule.h" 49 class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT
78 vtkSetMacro(XRadius,
double);
79 vtkGetMacro(XRadius,
double);
86 vtkSetMacro(YRadius,
double);
87 vtkGetMacro(YRadius,
double);
94 vtkSetMacro(ZRadius,
double);
95 vtkGetMacro(ZRadius,
double);
102 vtkSetMacro(
N1,
double);
103 vtkGetMacro(
N1,
double);
110 vtkSetMacro(
N2,
double);
111 vtkGetMacro(
N2,
double);
122 void Evaluate(
double uvw[3],
double Pt[3],
double Duvw[9])
override;
138 double Duvw[9])
override;
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.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...