Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkPlatonicSolidSource, simply invoke its constructor as follows
obj = vtkPlatonicSolidSource
obj
is an instance of the vtkPlatonicSolidSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPlatonicSolidSource = obj.NewInstance ()
vtkPlatonicSolidSource = obj.SafeDownCast (vtkObject o)
obj.SetSolidType (int )
- Specify the type of PlatonicSolid solid to create.
int = obj.GetSolidTypeMinValue ()
- Specify the type of PlatonicSolid solid to create.
int = obj.GetSolidTypeMaxValue ()
- Specify the type of PlatonicSolid solid to create.
int = obj.GetSolidType ()
- Specify the type of PlatonicSolid solid to create.
obj.SetSolidTypeToTetrahedron ()
- Specify the type of PlatonicSolid solid to create.
obj.SetSolidTypeToCube ()
- Specify the type of PlatonicSolid solid to create.
obj.SetSolidTypeToOctahedron ()
- Specify the type of PlatonicSolid solid to create.
obj.SetSolidTypeToIcosahedron ()
- Specify the type of PlatonicSolid solid to create.
obj.SetSolidTypeToDodecahedron ()