17#ifndef vtkPlatonicSolidSource_h 
   18#define vtkPlatonicSolidSource_h 
   20#include "vtkFiltersSourcesModule.h"  
   23#define VTK_SOLID_TETRAHEDRON 0 
   24#define VTK_SOLID_CUBE 1 
   25#define VTK_SOLID_OCTAHEDRON 2 
   26#define VTK_SOLID_ICOSAHEDRON 3 
   27#define VTK_SOLID_DODECAHEDRON 4 
   29VTK_ABI_NAMESPACE_BEGIN
 
   42  vtkGetMacro(SolidType, 
int);
 
   56  vtkSetMacro(OutputPointsPrecision, 
int);
 
   57  vtkGetMacro(OutputPointsPrecision, 
int);
 
a simple class to control print indentation
 
produce polygonal Platonic solids
 
static vtkPlatonicSolidSource * New()
 
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
void SetSolidTypeToTetrahedron()
Specify the type of PlatonicSolid solid to create.
 
~vtkPlatonicSolidSource() override=default
 
int OutputPointsPrecision
 
void SetSolidTypeToIcosahedron()
Specify the type of PlatonicSolid solid to create.
 
void SetSolidTypeToOctahedron()
Specify the type of PlatonicSolid solid to create.
 
void SetSolidTypeToDodecahedron()
Specify the type of PlatonicSolid solid to create.
 
void SetSolidTypeToCube()
Specify the type of PlatonicSolid solid to create.
 
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