26 #ifndef vtkPlatonicSolidSource_h 27 #define vtkPlatonicSolidSource_h 29 #include "vtkFiltersSourcesModule.h" 32 #define VTK_SOLID_TETRAHEDRON 0 33 #define VTK_SOLID_CUBE 1 34 #define VTK_SOLID_OCTAHEDRON 2 35 #define VTK_SOLID_ICOSAHEDRON 3 36 #define VTK_SOLID_DODECAHEDRON 4 50 vtkGetMacro(SolidType,
int);
64 vtkSetMacro(OutputPointsPrecision,
int);
65 vtkGetMacro(OutputPointsPrecision,
int);
void SetSolidTypeToTetrahedron()
Specify the type of PlatonicSolid solid to create.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetSolidTypeToIcosahedron()
Specify the type of PlatonicSolid solid to create.
void SetSolidTypeToOctahedron()
Specify the type of PlatonicSolid solid to create.
static vtkPolyDataAlgorithm * New()
#define VTK_SOLID_ICOSAHEDRON
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
~vtkPlatonicSolidSource() override
void SetSolidTypeToCube()
Specify the type of PlatonicSolid solid to create.
produce polygonal Platonic solids
void SetSolidTypeToDodecahedron()
Specify the type of PlatonicSolid solid to create.
#define VTK_SOLID_DODECAHEDRON
int OutputPointsPrecision
#define VTK_SOLID_OCTAHEDRON
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_SOLID_TETRAHEDRON