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