51 #ifndef vtkSuperquadricSource_h 52 #define vtkSuperquadricSource_h 54 #include "vtkFiltersSourcesModule.h" 57 #define VTK_MAX_SUPERQUADRIC_RESOLUTION 1024 58 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4 59 #define VTK_MIN_SUPERQUADRIC_ROUNDNESS 1e-24 78 vtkSetVector3Macro(Center,
double);
79 vtkGetVectorMacro(Center,
double, 3);
86 vtkSetVector3Macro(Scale,
double);
87 vtkGetVectorMacro(Scale,
double, 3);
94 vtkGetMacro(ThetaResolution,
int);
95 void SetThetaResolution(
int i);
102 vtkGetMacro(PhiResolution,
int);
103 void SetPhiResolution(
int i);
112 vtkGetMacro(Thickness,
double);
122 vtkGetMacro(PhiRoundness,
double);
123 void SetPhiRoundness(
double e);
132 vtkGetMacro(ThetaRoundness,
double);
133 void SetThetaRoundness(
double e);
140 vtkSetMacro(Size,
double);
141 vtkGetMacro(Size,
double);
149 vtkSetMacro(AxisOfSymmetry,
int);
150 vtkGetMacro(AxisOfSymmetry,
int);
172 vtkSetMacro(OutputPointsPrecision,
int);
173 vtkGetMacro(OutputPointsPrecision,
int);
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).
~vtkSuperquadricSource() override
static vtkPolyDataAlgorithm * New()
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
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.