41 #ifndef __vtkSuperquadric_h
42 #define __vtkSuperquadric_h
44 #include "vtkCommonDataModelModule.h"
45 #include "vtkImplicitFunction.h"
47 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
58 void PrintSelf(ostream& os,
vtkIndent indent);
61 double EvaluateFunction(
double x[3]);
63 {
return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
64 void EvaluateGradient(
double x[3],
double g[3]);
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);
#define VTK_MIN_SUPERQUADRIC_THICKNESS
double EvaluateFunction(double x, double y, double z)
a simple class to control print indentation
implicit function for a Superquadric