VTK
|
Generic algorithm superclass for image algs. More...
#include <vtkImageAlgorithm.h>
Public Types | |
typedef vtkAlgorithm | Superclass |
![]() | |
typedef vtkObject | Superclass |
enum | DesiredOutputPrecision { SINGLE_PRECISION, DOUBLE_PRECISION, DEFAULT_PRECISION } |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkImageAlgorithm * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkImageData * | GetOutput () |
vtkImageData * | GetOutput (int) |
virtual void | SetOutput (vtkDataObject *d) |
virtual int | ProcessRequest (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
void | SetInputData (vtkDataObject *) |
void | SetInputData (int, vtkDataObject *) |
vtkDataObject * | GetInput (int port) |
vtkDataObject * | GetInput () |
vtkImageData * | GetImageDataInput (int port) |
virtual void | AddInputData (vtkDataObject *) |
virtual void | AddInputData (int, vtkDataObject *) |
![]() | |
vtkAlgorithm * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | HasExecutive () |
vtkExecutive * | GetExecutive () |
virtual void | SetExecutive (vtkExecutive *executive) |
virtual int | ModifyRequest (vtkInformation *request, int when) |
vtkInformation * | GetInputPortInformation (int port) |
vtkInformation * | GetOutputPortInformation (int port) |
int | GetNumberOfInputPorts () |
int | GetNumberOfOutputPorts () |
void | UpdateProgress (double amount) |
vtkInformation * | GetInputArrayInformation (int idx) |
void | RemoveAllInputs () |
vtkDataObject * | GetOutputDataObject (int port) |
virtual void | RemoveInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | RemoveInputConnection (int port, int idx) |
virtual void | RemoveAllInputConnections (int port) |
int | GetNumberOfInputConnections (int port) |
int | GetTotalNumberOfInputConnections () |
vtkAlgorithmOutput * | GetInputConnection (int port, int index) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index, int &algPort) |
vtkAlgorithm * | GetInputAlgorithm (int port, int index) |
vtkExecutive * | GetInputExecutive (int port, int index) |
vtkInformation * | GetInputInformation (int port, int index) |
vtkInformation * | GetOutputInformation (int port) |
virtual void | UpdateInformation () |
virtual void | PropagateUpdateExtent () |
virtual void | UpdateWholeExtent () |
void | ConvertTotalInputToPortConnection (int ind, int &port, int &conn) |
virtual double | ComputePriority () |
int | SetUpdateExtentToWholeExtent (int port) |
int | SetUpdateExtentToWholeExtent () |
void | SetUpdateExtent (int port, int extent[6]) |
int | ProcessRequest (vtkInformation *request, vtkCollection *inInfo, vtkInformationVector *outInfo) |
virtual int | ComputePipelineMTime (vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec, int requestFromOutputPort, unsigned long *mtime) |
virtual vtkInformation * | GetInformation () |
virtual void | SetInformation (vtkInformation *) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | SetAbortExecute (int) |
virtual int | GetAbortExecute () |
virtual void | AbortExecuteOn () |
virtual void | AbortExecuteOff () |
virtual void | SetProgress (double) |
virtual double | GetProgress () |
void | SetProgressText (const char *ptext) |
virtual char * | GetProgressText () |
virtual unsigned long | GetErrorCode () |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, const char *name) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, int fieldAssociation, int fieldAttributeType) |
virtual void | SetInputArrayToProcess (int idx, vtkInformation *info) |
virtual void | SetInputArrayToProcess (int idx, int port, int connection, const char *fieldAssociation, const char *attributeTypeorName) |
vtkDataObject * | GetInputDataObject (int port, int connection) |
virtual void | SetInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (int port, vtkAlgorithmOutput *input) |
virtual void | AddInputConnection (vtkAlgorithmOutput *input) |
virtual void | SetInputDataObject (int port, vtkDataObject *data) |
virtual void | SetInputDataObject (vtkDataObject *data) |
virtual void | AddInputDataObject (int port, vtkDataObject *data) |
virtual void | AddInputDataObject (vtkDataObject *data) |
vtkAlgorithmOutput * | GetOutputPort (int index) |
vtkAlgorithmOutput * | GetOutputPort () |
vtkAlgorithm * | GetInputAlgorithm () |
vtkExecutive * | GetInputExecutive () |
vtkInformation * | GetInputInformation () |
virtual void | Update (int port) |
virtual void | Update () |
virtual void | SetReleaseDataFlag (int) |
virtual int | GetReleaseDataFlag () |
void | ReleaseDataFlagOn () |
void | ReleaseDataFlagOff () |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, vtkDataObject *output) |
int | UpdateExtentIsEmpty (vtkInformation *pinfo, int extentType) |
void | SetUpdateExtent (int port, int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int piece, int numPieces, int ghostLevel) |
void | SetUpdateExtent (int extent[6]) |
int * | GetUpdateExtent () |
int * | GetUpdateExtent (int port) |
void | GetUpdateExtent (int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int port, int &x0, int &x1, int &y0, int &y1, int &z0, int &z1) |
void | GetUpdateExtent (int extent[6]) |
void | GetUpdateExtent (int port, int extent[6]) |
int | GetUpdatePiece () |
int | GetUpdatePiece (int port) |
int | GetUpdateNumberOfPieces () |
int | GetUpdateNumberOfPieces (int port) |
int | GetUpdateGhostLevel () |
int | GetUpdateGhostLevel (int port) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkImageAlgorithm * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkAlgorithm * | New () |
static int | IsTypeOf (const char *type) |
static vtkAlgorithm * | SafeDownCast (vtkObjectBase *o) |
static void | SetDefaultExecutivePrototype (vtkExecutive *proto) |
static vtkInformationIntegerKey * | INPUT_IS_OPTIONAL () |
static vtkInformationIntegerKey * | INPUT_IS_REPEATABLE () |
static vtkInformationInformationVectorKey * | INPUT_REQUIRED_FIELDS () |
static vtkInformationStringVectorKey * | INPUT_REQUIRED_DATA_TYPE () |
static vtkInformationInformationVectorKey * | INPUT_ARRAYS_TO_PROCESS () |
static vtkInformationIntegerKey * | INPUT_PORT () |
static vtkInformationIntegerKey * | INPUT_CONNECTION () |
static vtkInformationIntegerKey * | PRESERVES_DATASET () |
static vtkInformationIntegerKey * | PRESERVES_GEOMETRY () |
static vtkInformationIntegerKey * | PRESERVES_BOUNDS () |
static vtkInformationIntegerKey * | PRESERVES_TOPOLOGY () |
static vtkInformationIntegerKey * | PRESERVES_ATTRIBUTES () |
static vtkInformationIntegerKey * | PRESERVES_RANGES () |
static vtkInformationIntegerKey * | MANAGES_METAINFORMATION () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImageAlgorithm () | |
~vtkImageAlgorithm () | |
virtual int | RequestInformation (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual void | CopyInputArrayAttributesToOutput (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
virtual void | ExecuteDataWithInformation (vtkDataObject *output, vtkInformation *outInfo) |
virtual void | ExecuteData (vtkDataObject *output) |
virtual void | Execute () |
virtual void | AllocateOutputData (vtkImageData *out, vtkInformation *outInfo, int *uExtent) |
virtual vtkImageData * | AllocateOutputData (vtkDataObject *out, vtkInformation *outInfo) |
virtual void | CopyAttributeData (vtkImageData *in, vtkImageData *out, vtkInformationVector **inputVector) |
virtual int | FillOutputPortInformation (int port, vtkInformation *info) |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
![]() | |
vtkAlgorithm () | |
~vtkAlgorithm () | |
virtual void | SetNumberOfInputPorts (int n) |
virtual void | SetNumberOfOutputPorts (int n) |
int | InputPortIndexInRange (int index, const char *action) |
int | OutputPortIndexInRange (int index, const char *action) |
int | GetInputArrayAssociation (int idx, vtkInformationVector **inputVector) |
virtual vtkExecutive * | CreateDefaultExecutive () |
virtual void | ReportReferences (vtkGarbageCollector *) |
virtual void | SetNumberOfInputConnections (int port, int n) |
int | GetInputArrayAssociation (int idx, int connection, vtkInformationVector **inputVector) |
int | GetInputArrayAssociation (int idx, vtkDataObject *input) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkDataArray * | GetInputArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input) |
vtkDataArray * | GetInputArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, int connection, vtkInformationVector **inputVector, int &association) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input) |
vtkAbstractArray * | GetInputAbstractArrayToProcess (int idx, vtkDataObject *input, int &association) |
vtkInformation * | GetInputArrayFieldInformation (int idx, vtkInformationVector **inputVector) |
virtual void | SetNthInputConnection (int port, int index, vtkAlgorithmOutput *input) |
void | SetInputDataInternal (int port, vtkDataObject *input) |
void | AddInputDataInternal (int port, vtkDataObject *input) |
virtual void | SetErrorCode (unsigned long) |
Additional Inherited Members | |
![]() | |
int | AbortExecute |
![]() | |
static vtkInformationIntegerKey * | PORT_REQUIREMENTS_FILLED () |
![]() | |
vtkInformation * | Information |
double | Progress |
char * | ProgressText |
unsigned long | ErrorCode |
![]() | |
static vtkExecutive * | DefaultExecutivePrototype |
Generic algorithm superclass for image algs.
vtkImageAlgorithm 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 39 of file vtkImageAlgorithm.h.
Definition at line 42 of file vtkImageAlgorithm.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkImplicitModeller, vtkImageFourierFilter, vtkImageBlend, vtkGaussianSplatter, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkBooleanTexture, vtkFastSplatter, vtkImageAnisotropicDiffusion3D, vtkImageAccumulate, vtkExtractVOI, vtkImageAnisotropicDiffusion2D, vtkShepardMethod, vtkImageOpenClose3D, vtkImageThresholdConnectivity, vtkImageCast, vtkImageDifference, vtkImageIslandRemoval2D, vtkSimpleImageToImageFilter, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkSampleFunction, vtkImageHistogramStatistics, vtkImageClip, vtkImageResliceToColors, vtkImageSeedConnectivity, vtkImageHistogram, vtkHyperOctreeToUniformGridFilter, vtkImageQuantizeRGBToIndex, vtkImageResize, vtkImageCityBlockDistance, vtkImageMandelbrotSource, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageToStructuredPoints, vtkImageFFT, vtkImageVariance3D, vtkSurfaceReconstructionFilter, vtkTriangularTexture, vtkVoxelModeller, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkPointLoad, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageCanvasSource2D, vtkImageNoiseSource, vtkTransmitImageDataPiece, vtkImageHSVToRGB, vtkImageCacheFilter, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageStencilToImage, vtkThreadedImageAlgorithm, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkRTAnalyticSource, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageChangeInformation, vtkImageDataStreamer, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkSimpleImageFilterExample, vtkMemoryLimitImageDataStreamer, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageEllipsoidSource, vtkImageIterateFilter, vtkImageTranslateExtent, vtkImageGaussianSmooth, vtkImageMagnitude, vtkImageGaussianSource, vtkImageGridSource, vtkImageSinusoidSource, vtkImagePadFilter, vtkImageCursor3D, and vtkImageInPlaceFilter.
|
static |
|
protectedvirtual |
Reimplemented from vtkAlgorithm.
Reimplemented in vtkImplicitModeller, vtkImageFourierFilter, vtkImageBlend, vtkGaussianSplatter, vtkImageReslice, vtkImageRectilinearWipe, vtkImageSlabReslice, vtkImageMathematics, vtkImageBSplineCoefficients, vtkImageEuclideanDistance, vtkBooleanTexture, vtkFastSplatter, vtkImageAnisotropicDiffusion3D, vtkImageAccumulate, vtkExtractVOI, vtkImageAnisotropicDiffusion2D, vtkShepardMethod, vtkImageOpenClose3D, vtkImageThresholdConnectivity, vtkImageCast, vtkImageDifference, vtkImageIslandRemoval2D, vtkSimpleImageToImageFilter, vtkImageRFFT, vtkImageLogic, vtkImageMapToColors, vtkSampleFunction, vtkImageHistogramStatistics, vtkImageClip, vtkImageResliceToColors, vtkImageSeedConnectivity, vtkImageHistogram, vtkHyperOctreeToUniformGridFilter, vtkImageQuantizeRGBToIndex, vtkImageResize, vtkImageCityBlockDistance, vtkImageMandelbrotSource, vtkImageMapToWindowLevelColors, vtkImageWrapPad, vtkImageButterworthHighPass, vtkImageButterworthLowPass, vtkImageIdealHighPass, vtkImageIdealLowPass, vtkImageGradientMagnitude, vtkImageSeparableConvolution, vtkImageMask, vtkImageContinuousDilate3D, vtkImageNonMaximumSuppression, vtkImageToStructuredPoints, vtkImageFFT, vtkImageVariance3D, vtkSurfaceReconstructionFilter, vtkTriangularTexture, vtkVoxelModeller, vtkImageContinuousErode3D, vtkImageSkeleton2D, vtkImageAppend, vtkImageMagnify, vtkImageResample, vtkImageShiftScale, vtkImageCorrelation, vtkImageGradient, vtkPointLoad, vtkImageWeightedSum, vtkImageDilateErode3D, vtkImageCanvasSource2D, vtkImageNoiseSource, vtkTransmitImageDataPiece, vtkImageHSVToRGB, vtkImageCacheFilter, vtkImageConstantPad, vtkImageHybridMedian2D, vtkImageLaplacian, vtkImageSlab, vtkImageStencil, vtkImageStencilToImage, vtkThreadedImageAlgorithm, vtkImageHSIToRGB, vtkImageMapToRGBA, vtkImageAppendComponents, vtkImageExtractComponents, vtkImagePermute, vtkImageShrink3D, vtkRTAnalyticSource, vtkImageFourierCenter, vtkImageCheckerboard, vtkImageMedian3D, vtkImageRange3D, vtkImageDivergence, vtkImageLuminance, vtkImageChangeInformation, vtkImageDataStreamer, vtkImageDecomposeFilter, vtkImageConvolve, vtkImageSobel3D, vtkSimpleImageFilterExample, vtkMemoryLimitImageDataStreamer, vtkImageRGBToHSV, vtkImageFlip, vtkImageThreshold, vtkImageEuclideanToPolar, vtkImageNormalize, vtkImageSobel2D, vtkImageSpatialAlgorithm, vtkImageDotProduct, vtkImageLogarithmicScale, vtkImageMaskBits, vtkImageRGBToHSI, vtkImageMirrorPad, vtkImageEllipsoidSource, vtkImageIterateFilter, vtkImageTranslateExtent, vtkImageGaussianSmooth, vtkImageMagnitude, vtkImageGaussianSource, vtkImageGridSource, vtkImageSinusoidSource, vtkImagePadFilter, vtkImageCursor3D, and vtkImageInPlaceFilter.
vtkImageAlgorithm* vtkImageAlgorithm::NewInstance | ( | ) | const |
void vtkImageAlgorithm::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
vtkImageData* vtkImageAlgorithm::GetOutput | ( | ) |
Get the output data object for a port on this algorithm.
vtkImageData* vtkImageAlgorithm::GetOutput | ( | int | ) |
Get the output data object for a port on this algorithm.
|
virtual |
Get the output data object for a port on this algorithm.
|
virtual |
Process a request from the executive. For vtkImageAlgorithm, the request will be delegated to one of the following methods: RequestData, RequestInformation, or RequestUpdateExtent.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkImplicitModeller, vtkImageOpenClose3D, vtkImageDataStreamer, and vtkMemoryLimitImageDataStreamer.
void vtkImageAlgorithm::SetInputData | ( | vtkDataObject * | ) |
Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection to setup a pipeline connection.
void vtkImageAlgorithm::SetInputData | ( | int | , |
vtkDataObject * | |||
) |
Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection to setup a pipeline connection.
vtkDataObject* vtkImageAlgorithm::GetInput | ( | int | port | ) |
Get a data object for one of the input port connections. The use of this method is strongly discouraged, but some filters that were written a long time ago still use this method.
|
inline |
Get a data object for one of the input port connections. The use of this method is strongly discouraged, but some filters that were written a long time ago still use this method.
Definition at line 74 of file vtkImageAlgorithm.h.
vtkImageData* vtkImageAlgorithm::GetImageDataInput | ( | int | port | ) |
Get a data object for one of the input port connections. The use of this method is strongly discouraged, but some filters that were written a long time ago still use this method.
|
virtual |
Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection to setup a pipeline connection.
|
virtual |
Assign a data object as input. Note that this method does not establish a pipeline connection. Use SetInputConnection to setup a pipeline connection.
|
protectedvirtual |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented in vtkImageReslice, vtkImplicitModeller, vtkGaussianSplatter, vtkImageMathematics, vtkImageCanvasSource2D, vtkSampleFunction, vtkImageMandelbrotSource, vtkImageBSplineCoefficients, vtkImageResize, vtkRTAnalyticSource, vtkBooleanTexture, vtkImageAccumulate, vtkImageChangeInformation, vtkFastSplatter, vtkImageThreshold, vtkImageSlab, vtkVoxelModeller, vtkImageGridSource, vtkImageDifference, vtkImageEllipsoidSource, vtkImageSlabReslice, vtkImageShiftScale, vtkImageAppend, vtkShepardMethod, vtkImageMask, vtkImageShrink3D, vtkImageQuantizeRGBToIndex, vtkPointLoad, vtkImageCast, vtkImageMapToColors, vtkImageFlip, vtkExtractVOI, vtkImageClip, vtkImageSinusoidSource, vtkImageStencilToImage, vtkTriangularTexture, vtkImageNonMaximumSuppression, vtkImageAppendComponents, vtkImageResample, vtkImageGaussianSource, vtkSurfaceReconstructionFilter, vtkImageNoiseSource, vtkImageMagnify, vtkImageGradientMagnitude, vtkTransmitImageDataPiece, vtkImageMapToWindowLevelColors, vtkImageGradient, vtkImageExtractComponents, vtkImageToStructuredPoints, vtkImageCorrelation, vtkImagePadFilter, vtkImageSpatialAlgorithm, vtkImageVariance3D, vtkImageIterateFilter, vtkImageRange3D, vtkImageTranslateExtent, vtkImageSobel3D, vtkImageSobel2D, vtkImageDotProduct, vtkImageDivergence, vtkImageLuminance, vtkImageNormalize, and vtkImageMagnitude.
|
protectedvirtual |
Subclasses can reimplement this method to translate the update extent requests from each output port into update extent requests for the input connections.
Reimplemented in vtkImageReslice, vtkImageThresholdConnectivity, vtkImageBlend, vtkImageBSplineCoefficients, vtkImageResize, vtkImageAccumulate, vtkFastSplatter, vtkImageChangeInformation, vtkImageSlab, vtkImageDifference, vtkImageAppend, vtkImageSeedConnectivity, vtkImageShrink3D, vtkImageQuantizeRGBToIndex, vtkImageGaussianSmooth, vtkExtractVOI, vtkImageNonMaximumSuppression, vtkImageGradientMagnitude, vtkImageGradient, vtkTransmitImageDataPiece, vtkImageMagnify, vtkImageCorrelation, vtkImageToStructuredPoints, vtkImagePadFilter, vtkImageSpatialAlgorithm, vtkSimpleImageToImageFilter, vtkImageLaplacian, vtkImageIterateFilter, vtkImageTranslateExtent, and vtkImageDivergence.
|
protectedvirtual |
Convenience method to copy the scalar type and number of components from the input data to the output data. You will generally want to call this from inside your RequestInformation method, unless you want the output data to have a different scalar type or number of components from the input.
|
protectedvirtual |
This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.
Reimplemented in vtkImageReslice, vtkImplicitModeller, vtkGaussianSplatter, vtkImageThresholdConnectivity, vtkImageBlend, vtkImageHistogram, vtkImageCanvasSource2D, vtkImageResize, vtkImageMandelbrotSource, vtkImageBSplineCoefficients, vtkImageAccumulate, vtkFastSplatter, vtkImageChangeInformation, vtkVoxelModeller, vtkImageEllipsoidSource, vtkImageHistogramStatistics, vtkShepardMethod, vtkImageSeedConnectivity, vtkImageMapToColors, vtkImageQuantizeRGBToIndex, vtkImageClip, vtkImageIslandRemoval2D, vtkExtractVOI, vtkImageStencilToImage, vtkThreadedImageAlgorithm, vtkImageMapToWindowLevelColors, vtkImageGradient, vtkSurfaceReconstructionFilter, vtkImageDilateErode3D, vtkImageGaussianSource, vtkImageCursor3D, vtkImageVariance3D, vtkImageContinuousDilate3D, vtkTransmitImageDataPiece, vtkImageContinuousErode3D, vtkImageToStructuredPoints, vtkSimpleImageToImageFilter, vtkImageRange3D, vtkImageIterateFilter, vtkHyperOctreeToUniformGridFilter, vtkImageTranslateExtent, and vtkImageInPlaceFilter.
|
protectedvirtual |
This is a convenience method that is implemented in many subclasses instead of RequestData. It is called by RequestData.
Reimplemented in vtkSampleFunction, vtkRTAnalyticSource, vtkBooleanTexture, vtkImageGridSource, vtkPointLoad, vtkImageSinusoidSource, vtkTriangularTexture, and vtkImageNoiseSource.
|
protectedvirtual |
This method is the old style execute method, provided for the sake of backwards compatibility with older filters and readers.
Reimplemented in vtkImageCacheFilter.
|
protectedvirtual |
This method is the old style execute method, provided for the sake of backwards compatibility with older filters and readers.
|
protectedvirtual |
Allocate the output data. This will be called before RequestData, it is not necessary for subclasses to call this method themselves.
Reimplemented in vtkImageReslice, vtkImageBSplineCoefficients, and vtkImageAppend.
|
protectedvirtual |
Allocate the output data. This will be called before RequestData, it is not necessary for subclasses to call this method themselves.
Reimplemented in vtkImageReslice, vtkImageBSplineCoefficients, and vtkImageAppend.
|
protectedvirtual |
Copy the other point and cell data. Subclasses will almost never need to reimplement this method.
Reimplemented in vtkImageAppend.
|
protectedvirtual |
These method should be reimplemented by subclasses that have more than a single input or single output. See vtkAlgorithm for more information.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkImageReslice, vtkImageHistogram, and vtkImageToStructuredPoints.
|
protectedvirtual |
These method should be reimplemented by subclasses that have more than a single input or single output. See vtkAlgorithm for more information.
Reimplemented from vtkAlgorithm.
Reimplemented in vtkImageReslice, vtkImplicitModeller, vtkGaussianSplatter, vtkImageMathematics, vtkImageHistogram, vtkImageThresholdConnectivity, vtkImageBlend, vtkImageAccumulate, vtkImageChangeInformation, vtkVoxelModeller, vtkFastSplatter, vtkImageAppend, vtkShepardMethod, vtkImageStencil, vtkImageStencilToImage, vtkImageLogic, vtkImageWeightedSum, vtkImageAppendComponents, vtkSurfaceReconstructionFilter, vtkImageToStructuredPoints, and vtkHyperOctreeToUniformGridFilter.