56 #ifndef vtkSuperquadricSource_h
57 #define vtkSuperquadricSource_h
62 #define VTK_MAX_SUPERQUADRIC_RESOLUTION 1024
63 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
64 #define VTK_MIN_SUPERQUADRIC_ROUNDNESS 1e-24
79 vtkSetVector3Macro(Center,
double);
80 vtkGetVectorMacro(Center,
double,3);
85 vtkSetVector3Macro(Scale,
double);
86 vtkGetVectorMacro(Scale,
double,3);
92 vtkGetMacro(ThetaResolution,
int);
93 void SetThetaResolution(
int i);
99 vtkGetMacro(PhiResolution,
int);
100 void SetPhiResolution(
int i);
107 vtkGetMacro(Thickness,
double);
114 vtkGetMacro(PhiRoundness,
double);
115 void SetPhiRoundness(
double e);
121 vtkGetMacro(ThetaRoundness,
double);
122 void SetThetaRoundness(
double e);
127 vtkSetMacro(Size,
double);
128 vtkGetMacro(Size,
double);
134 vtkSetMacro(AxisOfSymmetry,
int);
135 vtkGetMacro(AxisOfSymmetry,
int);
144 vtkBooleanMacro(Toroidal,
int);
145 vtkGetMacro(Toroidal,
int);
146 vtkSetMacro(Toroidal,
int);
154 vtkSetMacro(OutputPointsPrecision,
int);
155 vtkGetMacro(OutputPointsPrecision,
int);
void SetYAxisOfSymmetry()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
create a polygonal superquadric centered at the origin
void SetZAxisOfSymmetry()
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetXAxisOfSymmetry()
#define VTK_MIN_SUPERQUADRIC_THICKNESS
int OutputPointsPrecision