Go to the documentation of this file.
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);
108 vtkGetMacro(PhiResolution,
int);
118 vtkGetMacro(Thickness,
double);
128 vtkGetMacro(PhiRoundness,
double);
138 vtkGetMacro(ThetaRoundness,
double);
147 vtkGetMacro(Size,
double);
155 vtkGetMacro(AxisOfSymmetry,
int);
167 vtkGetMacro(Toroidal,
int);
178 vtkGetMacro(OutputPointsPrecision,
int);
#define VTK_MIN_SUPERQUADRIC_THICKNESS
static vtkSuperquadricSource * New()
Create a default superquadric with a radius of 0.5, non-toroidal, spherical, and centered at the orig...
void SetPhiRoundness(double e)
void SetZAxisOfSymmetry()
void SetYAxisOfSymmetry()
create a polygonal superquadric centered at the origin
void SetPhiResolution(int i)
~vtkSuperquadricSource() override
a simple class to control print indentation
vtkSuperquadricSource(int res=16)
void SetThetaRoundness(double e)
int OutputPointsPrecision
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetThetaResolution(int i)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetXAxisOfSymmetry()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
Superclass for algorithms that produce only polydata as output.