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