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

Multiple executes per update. More...

#include <vtkImageIterateFilter.h>

Inheritance diagram for vtkImageIterateFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkImageIterateFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageIterateFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetIteration ()
virtual int GetNumberOfIterations ()

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageIterateFilter ()
 ~vtkImageIterateFilter ()
virtual int RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
virtual int IterativeRequestInformation (vtkInformation *in, vtkInformation *out)
virtual int IterativeRequestUpdateExtent (vtkInformation *in, vtkInformation *out)
virtual int IterativeRequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void SetNumberOfIterations (int num)

Protected Attributes

int NumberOfIterations
int Iteration
vtkAlgorithm ** IterationData
vtkInformationVectorInputVector
vtkInformationVectorOutputVector

Detailed Description

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.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

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.

virtual vtkObjectBase* vtkImageIterateFilter::NewInstanceInternal ( ) const [protected, virtual]
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.

Get which iteration is current being performed. Normally the user will not access this method.

Get which iteration is current being performed. Normally the user will not access this method.

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]
virtual int vtkImageIterateFilter::IterativeRequestUpdateExtent ( vtkInformation in,
vtkInformation out 
) [protected, virtual]
virtual void vtkImageIterateFilter::SetNumberOfIterations ( int  num) [protected, virtual]

Reimplemented in vtkImageSkeleton2D.


Member Data Documentation

Definition at line 75 of file vtkImageIterateFilter.h.

Definition at line 76 of file vtkImageIterateFilter.h.

Definition at line 79 of file vtkImageIterateFilter.h.

Definition at line 81 of file vtkImageIterateFilter.h.

Definition at line 82 of file vtkImageIterateFilter.h.


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