41 #ifndef vtkSuperquadric_h
42 #define vtkSuperquadric_h
47 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
68 vtkSetVector3Macro(Center,
double);
69 vtkGetVectorMacro(Center,
double,3);
74 vtkSetVector3Macro(Scale,
double);
75 vtkGetVectorMacro(Scale,
double,3);
81 vtkGetMacro(Thickness,
double);
88 vtkGetMacro(PhiRoundness,
double);
89 void SetPhiRoundness(
double e);
95 vtkGetMacro(ThetaRoundness,
double);
96 void SetThetaRoundness(
double e);
101 vtkSetMacro(Size,
double);
102 vtkGetMacro(Size,
double);
108 vtkBooleanMacro(Toroidal,
int);
109 vtkGetMacro(Toroidal,
int);
110 vtkSetMacro(Toroidal,
int);
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
virtual void EvaluateGradient(double x[3], double g[3])=0
#define VTK_MIN_SUPERQUADRIC_THICKNESS
double EvaluateFunction(double x, double y, double z)
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent)
implicit function for a Superquadric
#define VTKCOMMONDATAMODEL_EXPORT