Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageConnector, simply invoke its constructor as follows
obj = vtkImageConnector
obj
is an instance of the vtkImageConnector class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageConnector = obj.NewInstance ()
vtkImageConnector = obj.SafeDownCast (vtkObject o)
obj.RemoveAllSeeds ()
obj.SetConnectedValue (char )
- Values used by the MarkRegion method
char = obj.GetConnectedValue ()
- Values used by the MarkRegion method
obj.SetUnconnectedValue (char )
- Values used by the MarkRegion method
char = obj.GetUnconnectedValue ()
- Values used by the MarkRegion method
obj.MarkData (vtkImageData data, int dimensionality, int ext[6])
- Input a data of 0's and "UnconnectedValue"s. Seeds of this object are
used to find connected pixels. All pixels connected to seeds are set to
ConnectedValue. The data has to be unsigned char.