Section: Visualization Toolkit IO Classes
To create an instance of class vtkImageReader2Collection, simply invoke its constructor as follows
obj = vtkImageReader2Collection
obj
is an instance of the vtkImageReader2Collection class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageReader2Collection = obj.NewInstance ()
vtkImageReader2Collection = obj.SafeDownCast (vtkObject o)
obj.AddItem (vtkImageReader2 )
- Add an image reader to the list.
vtkImageReader2 = obj.GetNextItem ()
- Get the next image reader in the list.