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);
a simple class to control print indentation
produce polygonal Platonic solids
~vtkPlatonicSolidSource() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPlatonicSolidSource * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetSolidTypeToTetrahedron()
int OutputPointsPrecision
void SetSolidTypeToIcosahedron()
void SetSolidTypeToOctahedron()
void SetSolidTypeToDodecahedron()
void SetSolidTypeToCube()
Superclass for algorithms that produce only polydata as output.
#define VTK_SOLID_DODECAHEDRON
#define VTK_SOLID_TETRAHEDRON
#define VTK_SOLID_OCTAHEDRON
#define VTK_SOLID_ICOSAHEDRON