VTK
|
Multiple executes per update. More...
#include <vtkImageIterateFilter.h>
Multiple executes per update.
vtkImageIterateFilter is a filter superclass that supports calling execute multiple times per update. The largest hack/open issue is that the input and output caches are temporarily changed to "fool" the subclasses. I believe the correct solution is to pass the in and out cache to the subclasses methods as arguments. Now the data is passes. Can the caches be passed, and data retrieved from the cache?
Definition at line 32 of file vtkImageIterateFilter.h.
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageFourierFilter, vtkImageEuclideanDistance, vtkImageRFFT, vtkImageCityBlockDistance, vtkImageSeparableConvolution, vtkImageFFT, vtkImageSkeleton2D, vtkImageFourierCenter, and vtkImageDecomposeFilter.
Definition at line 35 of file vtkImageIterateFilter.h.
vtkImageIterateFilter::vtkImageIterateFilter | ( | ) | [protected] |
vtkImageIterateFilter::~vtkImageIterateFilter | ( | ) | [protected] |
static int vtkImageIterateFilter::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 vtkThreadedImageAlgorithm.
Reimplemented in vtkImageFourierFilter, vtkImageEuclideanDistance, vtkImageRFFT, vtkImageCityBlockDistance, vtkImageSeparableConvolution, vtkImageFFT, vtkImageSkeleton2D, vtkImageFourierCenter, and vtkImageDecomposeFilter.
virtual int vtkImageIterateFilter::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 vtkThreadedImageAlgorithm.
Reimplemented in vtkImageFourierFilter, vtkImageEuclideanDistance, vtkImageRFFT, vtkImageCityBlockDistance, vtkImageSeparableConvolution, vtkImageFFT, vtkImageSkeleton2D, vtkImageFourierCenter, and vtkImageDecomposeFilter.
static vtkImageIterateFilter* vtkImageIterateFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageFourierFilter, vtkImageEuclideanDistance, vtkImageRFFT, vtkImageCityBlockDistance, vtkImageSeparableConvolution, vtkImageFFT, vtkImageSkeleton2D, vtkImageFourierCenter, and vtkImageDecomposeFilter.
virtual vtkObjectBase* vtkImageIterateFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageFourierFilter, vtkImageEuclideanDistance, vtkImageRFFT, vtkImageCityBlockDistance, vtkImageSeparableConvolution, vtkImageFFT, vtkImageSkeleton2D, vtkImageFourierCenter, and vtkImageDecomposeFilter.
Reimplemented from vtkThreadedImageAlgorithm.
Reimplemented in vtkImageFourierFilter, vtkImageEuclideanDistance, vtkImageRFFT, vtkImageCityBlockDistance, vtkImageSeparableConvolution, vtkImageFFT, vtkImageSkeleton2D, vtkImageFourierCenter, and vtkImageDecomposeFilter.
void vtkImageIterateFilter::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 vtkThreadedImageAlgorithm.
Reimplemented in vtkImageSeparableConvolution, vtkImageEuclideanDistance, vtkImageSkeleton2D, and vtkImageDecomposeFilter.
virtual int vtkImageIterateFilter::GetIteration | ( | ) | [virtual] |
Get which iteration is current being performed. Normally the user will not access this method.
virtual int vtkImageIterateFilter::GetNumberOfIterations | ( | ) | [virtual] |
Get which iteration is current being performed. Normally the user will not access this method.
virtual int vtkImageIterateFilter::RequestUpdateExtent | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Subclasses can reimplement this method to translate the update extent requests from each output port into update extent requests for the input connections.
Reimplemented from vtkImageAlgorithm.
virtual int vtkImageIterateFilter::RequestInformation | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.
Reimplemented from vtkImageAlgorithm.
virtual int vtkImageIterateFilter::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkThreadedImageAlgorithm.
virtual int vtkImageIterateFilter::IterativeRequestInformation | ( | vtkInformation * | in, |
vtkInformation * | out | ||
) | [protected, virtual] |
Reimplemented in vtkImageEuclideanDistance, vtkImageSeparableConvolution, vtkImageRFFT, and vtkImageFFT.
virtual int vtkImageIterateFilter::IterativeRequestUpdateExtent | ( | vtkInformation * | in, |
vtkInformation * | out | ||
) | [protected, virtual] |
virtual int vtkImageIterateFilter::IterativeRequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Reimplemented in vtkImageEuclideanDistance, vtkImageSeparableConvolution, and vtkImageCityBlockDistance.
virtual void vtkImageIterateFilter::SetNumberOfIterations | ( | int | num | ) | [protected, virtual] |
Reimplemented in vtkImageSkeleton2D.
int vtkImageIterateFilter::NumberOfIterations [protected] |
Definition at line 75 of file vtkImageIterateFilter.h.
int vtkImageIterateFilter::Iteration [protected] |
Definition at line 76 of file vtkImageIterateFilter.h.
vtkAlgorithm** vtkImageIterateFilter::IterationData [protected] |
Definition at line 79 of file vtkImageIterateFilter.h.
vtkInformationVector* vtkImageIterateFilter::InputVector [protected] |
Definition at line 81 of file vtkImageIterateFilter.h.
vtkInformationVector* vtkImageIterateFilter::OutputVector [protected] |
Definition at line 82 of file vtkImageIterateFilter.h.