41 #ifndef __vtkSuperquadric_h
42 #define __vtkSuperquadric_h
46 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
67 vtkSetVector3Macro(Center,
double);
68 vtkGetVectorMacro(Center,
double,3);
73 vtkSetVector3Macro(Scale,
double);
74 vtkGetVectorMacro(Scale,
double,3);
80 vtkGetMacro(Thickness,
double);
87 vtkGetMacro(PhiRoundness,
double);
88 void SetPhiRoundness(
double e);
94 vtkGetMacro(ThetaRoundness,
double);
95 void SetThetaRoundness(
double e);
100 vtkSetMacro(Size,
double);
101 vtkGetMacro(Size,
double);
107 vtkBooleanMacro(Toroidal,
int);
108 vtkGetMacro(Toroidal,
int);
109 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