42 #ifndef vtkSuperquadricSource_h
43 #define vtkSuperquadricSource_h
45 #include "vtkFiltersSourcesModule.h"
48 #define VTK_MAX_SUPERQUADRIC_RESOLUTION 1024
49 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
50 #define VTK_MIN_SUPERQUADRIC_ROUNDNESS 1e-24
52 VTK_ABI_NAMESPACE_BEGIN
70 vtkSetVector3Macro(Center,
double);
71 vtkGetVectorMacro(Center,
double, 3);
78 vtkSetVector3Macro(Scale,
double);
79 vtkGetVectorMacro(Scale,
double, 3);
86 vtkGetMacro(ThetaResolution,
int);
87 void SetThetaResolution(
int i);
94 vtkGetMacro(PhiResolution,
int);
95 void SetPhiResolution(
int i);
104 vtkGetMacro(Thickness,
double);
114 vtkGetMacro(PhiRoundness,
double);
115 void SetPhiRoundness(
double e);
124 vtkGetMacro(ThetaRoundness,
double);
125 void SetThetaRoundness(
double e);
132 vtkSetMacro(Size,
double);
133 vtkGetMacro(Size,
double);
141 vtkSetMacro(AxisOfSymmetry,
int);
142 vtkGetMacro(AxisOfSymmetry,
int);
164 vtkSetMacro(OutputPointsPrecision,
int);
165 vtkGetMacro(OutputPointsPrecision,
int);
191 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.