29 #ifndef vtkPlatonicSolidSource_h
30 #define vtkPlatonicSolidSource_h
32 #include "vtkFiltersSourcesModule.h"
35 #define VTK_SOLID_TETRAHEDRON 0
36 #define VTK_SOLID_CUBE 1
37 #define VTK_SOLID_OCTAHEDRON 2
38 #define VTK_SOLID_ICOSAHEDRON 3
39 #define VTK_SOLID_DODECAHEDRON 4
53 vtkGetMacro(SolidType,
int);
73 vtkGetMacro(OutputPointsPrecision,
int);
82 int OutputPointsPrecision;
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
produce polygonal Platonic solids
void SetSolidTypeToDodecahedron()
Specify the type of PlatonicSolid solid to create.
#define VTK_SOLID_DODECAHEDRON
#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