20 #ifndef vtkPlatonicSolidSource_h
21 #define vtkPlatonicSolidSource_h
23 #include "vtkFiltersSourcesModule.h"
27 #define VTK_SOLID_TETRAHEDRON 0
28 #define VTK_SOLID_CUBE 1
29 #define VTK_SOLID_OCTAHEDRON 2
30 #define VTK_SOLID_ICOSAHEDRON 3
31 #define VTK_SOLID_DODECAHEDRON 4
33 VTK_ABI_NAMESPACE_BEGIN
46 vtkGetMacro(SolidType,
int);
60 vtkSetMacro(OutputPointsPrecision,
int);
61 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
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