45 #ifndef vtkSuperquadricSource_h
46 #define vtkSuperquadricSource_h
48 #include "vtkFiltersSourcesModule.h"
52 #define VTK_MAX_SUPERQUADRIC_RESOLUTION 1024
53 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
54 #define VTK_MIN_SUPERQUADRIC_ROUNDNESS 1e-24
56 VTK_ABI_NAMESPACE_BEGIN
74 vtkSetVector3Macro(Center,
double);
75 vtkGetVectorMacro(Center,
double, 3);
82 vtkSetVector3Macro(Scale,
double);
83 vtkGetVectorMacro(Scale,
double, 3);
90 vtkGetMacro(ThetaResolution,
int);
91 void SetThetaResolution(
int i);
98 vtkGetMacro(PhiResolution,
int);
99 void SetPhiResolution(
int i);
108 vtkGetMacro(Thickness,
double);
118 vtkGetMacro(PhiRoundness,
double);
119 void SetPhiRoundness(
double e);
128 vtkGetMacro(ThetaRoundness,
double);
129 void SetThetaRoundness(
double e);
136 vtkSetMacro(Size,
double);
137 vtkGetMacro(Size,
double);
145 vtkSetMacro(AxisOfSymmetry,
int);
146 vtkGetMacro(AxisOfSymmetry,
int);
168 vtkSetMacro(OutputPointsPrecision,
int);
169 vtkGetMacro(OutputPointsPrecision,
int);
195 VTK_ABI_NAMESPACE_END
void SetYAxisOfSymmetry()
Set/Get axis of symmetry for superquadric (x axis: 0, y axis: 1, z axis: 2).
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
create a polygonal superquadric centered at the origin
void SetZAxisOfSymmetry()
Set/Get axis of symmetry for superquadric (x axis: 0, y axis: 1, z axis: 2).
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetXAxisOfSymmetry()
Set/Get axis of symmetry for superquadric (x axis: 0, y axis: 1, z axis: 2).
#define VTK_MIN_SUPERQUADRIC_THICKNESS
int OutputPointsPrecision
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.