Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkImageSource, simply invoke its constructor as follows
obj = vtkImageSource
obj
is an instance of the vtkImageSource class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageSource = obj.NewInstance ()
vtkImageSource = obj.SafeDownCast (vtkObject o)
obj.SetOutput (vtkImageData output)
- Get the output of this source.
vtkImageData = obj.GetOutput ()
- Get the output of this source.
vtkImageData = obj.GetOutput (int idx)
- Get the output of this source.