#include <vtkImageToImageFilter.h>
Inheritance diagram for vtkImageToImageFilter:
vtkImageToImageFilter is a filter superclass that hides much of the pipeline complexity. It handles breaking the pipeline execution into smaller extents so that the vtkImageData limits are observed. It also provides support for multithreading. If you don't need any of this functionality, consider using vtkSimpleImageToImageFilter instead.
Definition at line 50 of file vtkImageToImageFilter.h.
Public Types | |
typedef vtkImageSource | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetInputMemoryLimit (int) |
long | GetInputMemoryLimit () |
virtual void | SetInput (vtkImageData *input) |
vtkImageData * | GetInput () |
void | SetBypass (int) |
void | BypassOn () |
void | BypassOff () |
virtual int | GetBypass () |
virtual void | ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId) |
virtual void | SetNumberOfThreads (int) |
virtual int | GetNumberOfThreads () |
virtual int | SplitExtent (int splitExt[6], int startExt[6], int num, int total) |
Static Public Member Functions | |
int | IsTypeOf (const char *type) |
vtkImageToImageFilter * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkImageToImageFilter () | |
~vtkImageToImageFilter () | |
void | ExecuteInformation () |
virtual void | ExecuteInformation (vtkImageData *inData, vtkImageData *outData) |
void | ExecuteData (vtkDataObject *output) |
virtual vtkImageData * | AllocateOutputData (vtkDataObject *out) |
void | MultiThread (vtkImageData *input, vtkImageData *output) |
void | ComputeInputUpdateExtents (vtkDataObject *output) |
virtual void | ComputeInputUpdateExtent (int inExt[6], int outExt[6]) |
virtual void | SetInputScalarsSelection (const char *) |
virtual int | FillInputPortInformation (int, vtkInformation *) |
Protected Attributes | |
vtkMultiThreader * | Threader |
int | Bypass |
int | BypassWasOn |
int | NumberOfThreads |
char * | InputScalarsSelection |
|
|
|
|
|
|
|
|
|
|
|
Set the Input of a filter. Reimplemented in vtkImageOpenClose3D. |
|
Set the Input of a filter. |
|
Obsolete feature - do not use. Definition at line 64 of file vtkImageToImageFilter.h. |
|
Obsolete feature - do not use. Definition at line 65 of file vtkImageToImageFilter.h. |
|
Obsolete feature - do not use. Definition at line 66 of file vtkImageToImageFilter.h. |
|
Obsolete feature - do not use. |
|
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. Reimplemented in vtkImageAnisotropicDiffusion2D, vtkImageAnisotropicDiffusion3D, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageContinuousDilate3D, vtkImageContinuousErode3D, vtkImageConvolve, vtkImageDilateErode3D, vtkImageFFT, vtkImageFourierCenter, vtkImageGaussianSmooth, vtkImageHybridMedian2D, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageLaplacian, vtkImageMagnify, vtkImageMapToColors, vtkImageMapToWindowLevelColors, vtkImageMedian3D, vtkImageRange3D, vtkImageReslice, vtkImageRFFT, vtkImageShrink3D, vtkImageSkeleton2D, vtkImageSobel2D, vtkImageSobel3D, vtkImageStencil, vtkImageThreshold, and vtkImageVariance3D. |
|
Get/Set the number of threads to create when rendering |
|
Get/Set the number of threads to create when rendering |
|
Definition at line 86 of file vtkImageToImageFilter.h. |
|
Definition at line 88 of file vtkImageToImageFilter.h. |
|
Putting this here until I merge graphics and imaging streaming. Reimplemented in vtkImageEuclideanDistance, vtkImageFFT, and vtkImageRFFT. |
|
|
|
This method is the one that should be used by subclasses, right now the default implementation is to call the backwards compatibility method Reimplemented from vtkSource. Reimplemented in vtkImageInPlaceFilter, vtkImageAccumulate, vtkImageChangeInformation, vtkImageClip, vtkImageCursor3D, vtkImageIslandRemoval2D, vtkImageIterateFilter, vtkImageMapToColors, vtkImageMapToWindowLevelColors, vtkImageMedian3D, vtkImageQuantizeRGBToIndex, vtkImageSeedConnectivity, vtkImageTranslateExtent, and vtkSweptSurface. |
|
Reimplemented from vtkImageSource. |
|
Referenced by vtkImageSkeleton2D::IterativeExecuteData(), vtkImageRFFT::IterativeExecuteData(), vtkImageFourierCenter::IterativeExecuteData(), and vtkImageFFT::IterativeExecuteData(). |
|
What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses. Reimplemented from vtkSource. Reimplemented in vtkImageIterateFilter, vtkImageReslice, and vtkImageSeedConnectivity. |
|
|
Referenced by vtkImageMedian3D::SelectInputScalars(), vtkImageContinuousErode3D::SelectInputScalars(), and vtkImageContinuousDilate3D::SelectInputScalars(). |
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. Reimplemented from vtkProcessObject. Reimplemented in vtkImageDataStreamer, and vtkImageStencil. |
|
Definition at line 101 of file vtkImageToImageFilter.h. |
|
Definition at line 102 of file vtkImageToImageFilter.h. |
|
Definition at line 103 of file vtkImageToImageFilter.h. |
|
Definition at line 104 of file vtkImageToImageFilter.h. |
|
Definition at line 124 of file vtkImageToImageFilter.h. |