VTK
|
produce polygonal Platonic solids More...
#include <vtkPlatonicSolidSource.h>
Inherits vtkPolyDataAlgorithm.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPlatonicSolidSource * | NewInstance () const |
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 (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPlatonicSolidSource () | |
~vtkPlatonicSolidSource () | |
virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | SolidType |
produce polygonal Platonic solids
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 40 of file vtkPlatonicSolidSource.h.
typedef vtkPolyDataAlgorithm vtkPlatonicSolidSource::Superclass |
Definition at line 44 of file vtkPlatonicSolidSource.h.
|
protected |
|
inlineprotected |
Definition at line 65 of file vtkPlatonicSolidSource.h.
|
static |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkPlatonicSolidSource* vtkPlatonicSolidSource::NewInstance | ( | ) | const |
void vtkPlatonicSolidSource::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Specify the type of PlatonicSolid solid to create.
|
virtual |
Specify the type of PlatonicSolid solid to create.
|
inline |
Specify the type of PlatonicSolid solid to create.
Definition at line 51 of file vtkPlatonicSolidSource.h.
|
inline |
Specify the type of PlatonicSolid solid to create.
Definition at line 53 of file vtkPlatonicSolidSource.h.
|
inline |
Specify the type of PlatonicSolid solid to create.
Definition at line 55 of file vtkPlatonicSolidSource.h.
|
inline |
Specify the type of PlatonicSolid solid to create.
Definition at line 57 of file vtkPlatonicSolidSource.h.
|
inline |
Specify the type of PlatonicSolid solid to create.
Definition at line 59 of file vtkPlatonicSolidSource.h.
|
protectedvirtual |
|
protected |
Definition at line 68 of file vtkPlatonicSolidSource.h.