30 #ifndef vtkSuperquadric_h
31 #define vtkSuperquadric_h
33 #include "vtkCommonDataModelModule.h"
36 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
38 VTK_ABI_NAMESPACE_BEGIN
60 vtkSetVector3Macro(Center,
double);
61 vtkGetVectorMacro(Center,
double, 3);
68 vtkSetVector3Macro(Scale,
double);
69 vtkGetVectorMacro(Scale,
double, 3);
77 vtkGetMacro(Thickness,
double);
86 vtkGetMacro(PhiRoundness,
double);
87 void SetPhiRoundness(
double e);
95 vtkGetMacro(ThetaRoundness,
double);
96 void SetThetaRoundness(
double e);
103 vtkSetMacro(Size,
double);
104 vtkGetMacro(Size,
double);
133 VTK_ABI_NAMESPACE_END
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
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.