Section: Visualization Toolkit IO Classes
To create an instance of class vtkOBJReader, simply invoke its constructor as follows
obj = vtkOBJReader
obj
is an instance of the vtkOBJReader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkOBJReader = obj.NewInstance ()
vtkOBJReader = obj.SafeDownCast (vtkObject o)
obj.SetFileName (string )
- Specify file name of Wavefront .obj file.
string = obj.GetFileName ()
- Specify file name of Wavefront .obj file.