Section: Visualization Toolkit Imaging Classes
To create an instance of class vtkImageOpenClose3D, simply invoke its constructor as follows
obj = vtkImageOpenClose3D
obj
is an instance of the vtkImageOpenClose3D class.
string = obj.GetClassName ()
- Default open value is 0, and default close value is 255.
int = obj.IsA (string name)
- Default open value is 0, and default close value is 255.
vtkImageOpenClose3D = obj.NewInstance ()
- Default open value is 0, and default close value is 255.
vtkImageOpenClose3D = obj.SafeDownCast (vtkObject o)
- Default open value is 0, and default close value is 255.
long = obj.GetMTime ()
- This method considers the sub filters MTimes when computing this objects
modified time.
obj.DebugOn ()
- Turn debugging output on. (in sub filters also)
obj.DebugOff ()
- Turn debugging output on. (in sub filters also)
obj.Modified ()
- Pass modified message to sub filters.
obj.SetKernelSize (int size0, int size1, int size2)
- Selects the size of gaps or objects removed.
obj.SetOpenValue (double value)
- Determines the value that will opened.
Open value is first eroded, and then dilated.
double = obj.GetOpenValue ()
- Determines the value that will opened.
Open value is first eroded, and then dilated.
obj.SetCloseValue (double value)
- Determines the value that will closed.
Close value is first dilated, and then eroded
double = obj.GetCloseValue ()
- Determines the value that will closed.
Close value is first dilated, and then eroded
vtkImageDilateErode3D = obj.GetFilter0 ()
- Needed for Progress functions
vtkImageDilateErode3D = obj.GetFilter1 ()
- Needed for Progress functions