Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkImageToImageFilter, simply invoke its constructor as follows
obj = vtkImageToImageFilter
obj
is an instance of the vtkImageToImageFilter class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImageToImageFilter = obj.NewInstance ()
vtkImageToImageFilter = obj.SafeDownCast (vtkObject o)
obj.SetInput (vtkImageData input)
- Set the Input of a filter.
vtkImageData = obj.GetInput ()
- Set the Input of a filter.
obj.SetBypass (int )
- Obsolete feature - do not use.
obj.BypassOn ()
- Obsolete feature - do not use.
obj.BypassOff ()
- Obsolete feature - do not use.
int = obj.GetBypass ()
- Obsolete feature - do not use.
obj.ThreadedExecute (vtkImageData inData, vtkImageData outData, int extent[6], int threadId)
- If the subclass does not define an Execute method, then the task
will be broken up, multiple threads will be spawned, and each thread
will call this method. It is public so that the thread functions
can call this method.
obj.SetNumberOfThreads (int )
- Get/Set the number of threads to create when rendering
int = obj.GetNumberOfThreadsMinValue ()
- Get/Set the number of threads to create when rendering
int = obj.GetNumberOfThreadsMaxValue ()
- Get/Set the number of threads to create when rendering
int = obj.GetNumberOfThreads ()
- Get/Set the number of threads to create when rendering
obj.SetInputMemoryLimit (int )
long = obj.GetInputMemoryLimit ()
int = obj.SplitExtent (int splitExt[6], int startExt[6], int num, int total)
- Putting this here until I merge graphics and imaging streaming.