 |
VTK
9.1.0
|
Go to the documentation of this file.
65 #ifndef vtkPlatonicSolidSource_h
66 #define vtkPlatonicSolidSource_h
68 #include "vtkFiltersSourcesModule.h"
71 #define VTK_SOLID_TETRAHEDRON 0
72 #define VTK_SOLID_CUBE 1
73 #define VTK_SOLID_OCTAHEDRON 2
74 #define VTK_SOLID_ICOSAHEDRON 3
75 #define VTK_SOLID_DODECAHEDRON 4
89 vtkGetMacro(SolidType,
int);
103 vtkSetMacro(OutputPointsPrecision,
int);
104 vtkGetMacro(OutputPointsPrecision,
int);
~vtkPlatonicSolidSource() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetSolidTypeToIcosahedron()
Specify the type of PlatonicSolid solid to create.
#define VTK_SOLID_DODECAHEDRON
int OutputPointsPrecision
void SetSolidTypeToOctahedron()
Specify the type of PlatonicSolid solid to create.
void SetSolidTypeToTetrahedron()
Specify the type of PlatonicSolid solid to create.
produce polygonal Platonic solids
#define VTK_SOLID_TETRAHEDRON
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkPlatonicSolidSource * New()
a simple class to control print indentation
void SetSolidTypeToDodecahedron()
Specify the type of PlatonicSolid solid to create.
#define VTK_SOLID_ICOSAHEDRON
void SetSolidTypeToCube()
Specify the type of PlatonicSolid solid to create.
#define VTK_SOLID_OCTAHEDRON
Superclass for algorithms that produce only polydata as output.