#include <vtkPlatonicSolidSource.h>
Inheritance diagram for vtkPlatonicSolidSource:
vtkPlatonicSolidSource can generate each of the five Platonic solids: tetrahedron, cube, octahedron, icosahedron, and dodecahedron. Each of the solids is placed inside a sphere centered at the origin with radius 1.0. To use this class, simply specify the solid to create. Note that this source object creates cell scalars that are (integral value) face numbers.
Definition at line 39 of file vtkPlatonicSolidSource.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetSolidType (int) |
virtual int | GetSolidType () |
void | SetSolidTypeToTetrahedron () |
void | SetSolidTypeToCube () |
void | SetSolidTypeToOctahedron () |
void | SetSolidTypeToIcosahedron () |
void | SetSolidTypeToDodecahedron () |
Static Public Member Functions | |
static vtkPlatonicSolidSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkPlatonicSolidSource * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPlatonicSolidSource () | |
~vtkPlatonicSolidSource () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | SolidType |
|
Reimplemented from vtkPolyDataAlgorithm. Definition at line 43 of file vtkPlatonicSolidSource.h. |
|
|
|
Definition at line 64 of file vtkPlatonicSolidSource.h. |
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataAlgorithm. |
|
Reimplemented from vtkPolyDataAlgorithm. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkPolyDataAlgorithm. |
|
Specify the type of PlatonicSolid solid to create. |
|
|
|
Definition at line 50 of file vtkPlatonicSolidSource.h. References VTK_SOLID_TETRAHEDRON. |
|
Definition at line 52 of file vtkPlatonicSolidSource.h. References VTK_SOLID_CUBE. |
|
Definition at line 54 of file vtkPlatonicSolidSource.h. References VTK_SOLID_OCTAHEDRON. |
|
Definition at line 56 of file vtkPlatonicSolidSource.h. References VTK_SOLID_ICOSAHEDRON. |
|
Definition at line 58 of file vtkPlatonicSolidSource.h. References VTK_SOLID_DODECAHEDRON. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
Definition at line 67 of file vtkPlatonicSolidSource.h. |