VTK  9.5.2
vtkPlatonicSolidSource.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
19
20#ifndef vtkPlatonicSolidSource_h
21#define vtkPlatonicSolidSource_h
22
23#include "vtkFiltersSourcesModule.h" // For export macro
25
26#define VTK_SOLID_TETRAHEDRON 0
27#define VTK_SOLID_CUBE 1
28#define VTK_SOLID_OCTAHEDRON 2
29#define VTK_SOLID_ICOSAHEDRON 3
30#define VTK_SOLID_DODECAHEDRON 4
31
32VTK_ABI_NAMESPACE_BEGIN
75
76VTK_ABI_NAMESPACE_END
77#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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
void SetSolidTypeToIcosahedron()
Specify the type of PlatonicSolid solid to create.
virtual void SetSolidType(int)
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.
#define VTK_SOLID_DODECAHEDRON
#define VTK_SOLID_TETRAHEDRON
#define VTK_SOLID_CUBE
#define VTK_SOLID_OCTAHEDRON
#define VTK_SOLID_ICOSAHEDRON