VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkThreadedImageAlgorithm Class Reference

Generic filter that has one input.. More...

#include <vtkThreadedImageAlgorithm.h>

Inherits vtkImageAlgorithm.

Inherited by vtkImageAppend, vtkImageAppendComponents, vtkImageBlend, vtkImageBSplineCoefficients, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageCast, vtkImageCheckerboard, vtkImageConvolve, vtkImageCorrelation, vtkImageDifference, vtkImageDivergence, vtkImageDotProduct, vtkImageEuclideanToPolar, vtkImageExtractComponents, vtkImageGaussianSmooth, vtkImageGradient, vtkImageGradientMagnitude, vtkImageHistogram, vtkImageHSIToRGB, vtkImageHSVToRGB, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageIterateFilter, vtkImageLaplacian, vtkImageLogarithmicScale, vtkImageLogic, vtkImageLuminance, vtkImageMagnify, vtkImageMagnitude, vtkImageMapToColors, vtkImageMask, vtkImageMaskBits, vtkImageMathematics, vtkImageNonMaximumSuppression, vtkImageNormalize, vtkImagePadFilter, vtkImageRectilinearWipe, vtkImageResize, vtkImageReslice, vtkImageRGBToHSI, vtkImageRGBToHSV, vtkImageShiftScale, vtkImageShrink3D, vtkImageSlab, vtkImageSpatialAlgorithm, vtkImageStencil, vtkImageThreshold, vtkImageWeightedSum, and vtkVolumeRayCastSpaceLeapingImageFilter.

Collaboration diagram for vtkThreadedImageAlgorithm:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkThreadedImageAlgorithmNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void ThreadedExecute (vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
virtual void ThreadedRequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, 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

static int IsTypeOf (const char *type)
static vtkThreadedImageAlgorithmSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkThreadedImageAlgorithm ()
 ~vtkThreadedImageAlgorithm ()
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)

Protected Attributes

vtkMultiThreaderThreader
int NumberOfThreads

Detailed Description

Generic filter that has one input..

vtkThreadedImageAlgorithm 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 vtkSimpleImageToImageAlgorithm instead.

See also:
vtkSimpleImageToImageAlgorithm

Definition at line 36 of file vtkThreadedImageAlgorithm.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageFourierFilter, vtkImageBlend, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageCast, vtkImageDifference, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkImageHistogramStatistics, vtkImageResliceToColors, vtkImageHistogram, vtkImageResize, vtkImageCityBlockDistance, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageFFT, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkVolumeRayCastSpaceLeapingImageFilter, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageHSVToRGB, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageIterateFilter, vtkImageGaussianSmooth, vtkImageMagnitude, and vtkImagePadFilter.

Definition at line 39 of file vtkThreadedImageAlgorithm.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkThreadedImageAlgorithm::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageFourierFilter, vtkImageBlend, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageCast, vtkImageDifference, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkImageHistogramStatistics, vtkImageResliceToColors, vtkImageHistogram, vtkImageResize, vtkImageCityBlockDistance, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageFFT, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkVolumeRayCastSpaceLeapingImageFilter, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageHSVToRGB, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageIterateFilter, vtkImageGaussianSmooth, vtkImageMagnitude, and vtkImagePadFilter.

virtual int vtkThreadedImageAlgorithm::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageFourierFilter, vtkImageBlend, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageCast, vtkImageDifference, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkImageHistogramStatistics, vtkImageResliceToColors, vtkImageHistogram, vtkImageResize, vtkImageCityBlockDistance, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageFFT, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkVolumeRayCastSpaceLeapingImageFilter, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageHSVToRGB, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageIterateFilter, vtkImageGaussianSmooth, vtkImageMagnitude, and vtkImagePadFilter.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageFourierFilter, vtkImageBlend, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageCast, vtkImageDifference, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkImageHistogramStatistics, vtkImageResliceToColors, vtkImageHistogram, vtkImageResize, vtkImageCityBlockDistance, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageFFT, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkVolumeRayCastSpaceLeapingImageFilter, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageHSVToRGB, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageIterateFilter, vtkImageGaussianSmooth, vtkImageMagnitude, and vtkImagePadFilter.

virtual vtkObjectBase* vtkThreadedImageAlgorithm::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageFourierFilter, vtkImageBlend, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageCast, vtkImageDifference, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkImageHistogramStatistics, vtkImageResliceToColors, vtkImageHistogram, vtkImageResize, vtkImageCityBlockDistance, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageFFT, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkVolumeRayCastSpaceLeapingImageFilter, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageHSVToRGB, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageIterateFilter, vtkImageGaussianSmooth, vtkImageMagnitude, and vtkImagePadFilter.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageFourierFilter, vtkImageBlend, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageCast, vtkImageDifference, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkImageHistogramStatistics, vtkImageResliceToColors, vtkImageHistogram, vtkImageResize, vtkImageCityBlockDistance, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageFFT, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkVolumeRayCastSpaceLeapingImageFilter, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageHSVToRGB, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageIterateFilter, vtkImageGaussianSmooth, vtkImageMagnitude, and vtkImagePadFilter.

void vtkThreadedImageAlgorithm::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageAlgorithm.

Reimplemented in vtkImageBlend, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageBSplineCoefficients, vtkImageSeparableConvolution, vtkImageMathematics, vtkImageEuclideanDistance, vtkImageAnisotropicDiffusion3D, vtkImageAnisotropicDiffusion2D, vtkImageCast, vtkImageDifference, vtkImageLogic, vtkImageHistogramStatistics, vtkImageMapToColors, vtkImageResliceToColors, vtkImageHistogram, vtkImageResize, vtkImageMapToWindowLevelColors, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageVariance3D, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkVolumeRayCastSpaceLeapingImageFilter, vtkImageAppend, vtkImageHSVToRGB, vtkImageConstantPad, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageHSIToRGB, vtkImagePermute, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageExtractComponents, vtkImageShrink3D, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageIterateFilter, vtkImageGaussianSmooth, and vtkImagePadFilter.

virtual void vtkThreadedImageAlgorithm::ThreadedRequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector,
vtkImageData ***  inData,
vtkImageData **  outData,
int  extent[6],
int  threadId 
) [virtual]
virtual void vtkThreadedImageAlgorithm::ThreadedExecute ( vtkImageData inData,
vtkImageData outData,
int  extent[6],
int  threadId 
) [virtual]
virtual void vtkThreadedImageAlgorithm::SetNumberOfThreads ( int  ) [virtual]

Get/Set the number of threads to create when rendering

Get/Set the number of threads to create when rendering

virtual int vtkThreadedImageAlgorithm::SplitExtent ( int  splitExt[6],
int  startExt[6],
int  num,
int  total 
) [virtual]

Putting this here until I merge graphics and imaging streaming.

Reimplemented in vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkImageRFFT, and vtkImageFFT.

virtual int vtkThreadedImageAlgorithm::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Member Data Documentation

Definition at line 76 of file vtkThreadedImageAlgorithm.h.

Definition at line 77 of file vtkThreadedImageAlgorithm.h.


The documentation for this class was generated from the following file: