42 #ifndef vtkSuperquadric_h 43 #define vtkSuperquadric_h 45 #include "vtkCommonDataModelModule.h" 48 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4 71 vtkSetVector3Macro(Center,
double);
72 vtkGetVectorMacro(Center,
double,3);
79 vtkSetVector3Macro(Scale,
double);
80 vtkGetVectorMacro(Scale,
double,3);
88 vtkGetMacro(Thickness,
double);
97 vtkGetMacro(PhiRoundness,
double);
98 void SetPhiRoundness(
double e);
106 vtkGetMacro(ThetaRoundness,
double);
107 void SetThetaRoundness(
double e);
114 vtkSetMacro(Size,
double);
115 vtkGetMacro(Size,
double);
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
virtual void EvaluateGradient(double x[3], double g[3])=0
Evaluate function gradient at position x-y-z and pass back vector.
#define VTK_MIN_SUPERQUADRIC_THICKNESS
a simple class to control print indentation
~vtkSuperquadric() override
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
implicit function for a Superquadric
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.