Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageExtractComponents, simply invoke its constructor as follows
obj = vtkImageExtractComponents
obj
is an instance of the vtkImageExtractComponents class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageExtractComponents = obj.NewInstance ()
vtkImageExtractComponents = obj.SafeDownCast (vtkObject o)
obj.SetComponents (int c1)
- Set/Get the components to extract.
obj.SetComponents (int c1, int c2)
- Set/Get the components to extract.
obj.SetComponents (int c1, int c2, int c3)
- Set/Get the components to extract.
int = obj. GetComponents ()
- Set/Get the components to extract.
int = obj.GetNumberOfComponents ()
- Get the number of components to extract. This is set implicitly by the
SetComponents() method.