55 #ifndef __vtkSuperquadricSource_h
56 #define __vtkSuperquadricSource_h
60 #define VTK_MAX_SUPERQUADRIC_RESOLUTION 1024
61 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
62 #define VTK_MIN_SUPERQUADRIC_ROUNDNESS 1e-24
77 vtkSetVector3Macro(Center,
double);
78 vtkGetVectorMacro(Center,
double,3);
83 vtkSetVector3Macro(Scale,
double);
84 vtkGetVectorMacro(Scale,
double,3);
90 vtkGetMacro(ThetaResolution,
int);
91 void SetThetaResolution(
int i);
97 vtkGetMacro(PhiResolution,
int);
98 void SetPhiResolution(
int i);
105 vtkGetMacro(Thickness,
double);
112 vtkGetMacro(PhiRoundness,
double);
113 void SetPhiRoundness(
double e);
119 vtkGetMacro(ThetaRoundness,
double);
120 void SetThetaRoundness(
double e);
125 vtkSetMacro(Size,
double);
126 vtkGetMacro(Size,
double);
132 vtkBooleanMacro(Toroidal,
int);
133 vtkGetMacro(Toroidal,
int);
134 vtkSetMacro(Toroidal,
int);
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
create a polygonal superquadric centered at the origin
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
#define VTK_MIN_SUPERQUADRIC_THICKNESS