57 #ifndef vtkSuperquadricSource_h
58 #define vtkSuperquadricSource_h
60 #include "vtkFiltersSourcesModule.h"
63 #define VTK_MAX_SUPERQUADRIC_RESOLUTION 1024
64 #define VTK_MIN_SUPERQUADRIC_THICKNESS 1e-4
65 #define VTK_MIN_SUPERQUADRIC_ROUNDNESS 1e-24
84 vtkSetVector3Macro(Center,
double);
85 vtkGetVectorMacro(Center,
double,3);
92 vtkSetVector3Macro(Scale,
double);
93 vtkGetVectorMacro(Scale,
double,3);
100 vtkGetMacro(ThetaResolution,
int);
101 void SetThetaResolution(
int i);
108 vtkGetMacro(PhiResolution,
int);
109 void SetPhiResolution(
int i);
118 vtkGetMacro(Thickness,
double);
128 vtkGetMacro(PhiRoundness,
double);
129 void SetPhiRoundness(
double e);
138 vtkGetMacro(ThetaRoundness,
double);
139 void SetThetaRoundness(
double e);
147 vtkGetMacro(Size,
double);
155 vtkGetMacro(AxisOfSymmetry,
int);
167 vtkGetMacro(Toroidal,
int);
178 vtkGetMacro(OutputPointsPrecision,
int);
196 int OutputPointsPrecision;
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.