vtkImageIterateFilter Class Reference

#include <vtkImageIterateFilter.h>

Inheritance diagram for vtkImageIterateFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkImageIterateFilter:

Collaboration graph
[legend]

List of all members.


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 31 of file vtkImageIterateFilter.h.


Public Types

typedef vtkThreadedImageAlgorithm Superclass

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

 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)
vtkImageDataGetIterationInput ()
vtkImageDataGetIterationOutput ()

Protected Attributes

int NumberOfIterations
int Iteration
vtkImageData ** IterationData
vtkInformationVectorInputVector
vtkInformationVectorOutputVector

Member Typedef Documentation


Constructor & Destructor Documentation

vtkImageIterateFilter::vtkImageIterateFilter (  )  [protected]

vtkImageIterateFilter::~vtkImageIterateFilter (  )  [protected]


Member Function Documentation

virtual const char* vtkImageIterateFilter::GetClassName (  )  [virtual]

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 vtkImageCityBlockDistance, vtkImageDecomposeFilter, vtkImageEuclideanDistance, vtkImageFFT, vtkImageFourierCenter, vtkImageFourierFilter, vtkImageRFFT, vtkImageSeparableConvolution, and vtkImageSkeleton2D.

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 vtkImageCityBlockDistance, vtkImageDecomposeFilter, vtkImageEuclideanDistance, vtkImageFFT, vtkImageFourierCenter, vtkImageFourierFilter, vtkImageRFFT, vtkImageSeparableConvolution, and vtkImageSkeleton2D.

static vtkImageIterateFilter* vtkImageIterateFilter::SafeDownCast ( vtkObject o  )  [static]

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 vtkImageDecomposeFilter, vtkImageEuclideanDistance, vtkImageSeparableConvolution, and vtkImageSkeleton2D.

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]

Reimplemented from vtkImageAlgorithm.

virtual int vtkImageIterateFilter::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

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 int vtkImageIterateFilter::IterativeRequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

virtual void vtkImageIterateFilter::SetNumberOfIterations ( int  num  )  [protected, virtual]

Reimplemented in vtkImageSkeleton2D.

vtkImageData* vtkImageIterateFilter::GetIterationInput (  )  [protected]

vtkImageData* vtkImageIterateFilter::GetIterationOutput (  )  [protected]


Member Data Documentation

Definition at line 74 of file vtkImageIterateFilter.h.

Definition at line 75 of file vtkImageIterateFilter.h.

Definition at line 78 of file vtkImageIterateFilter.h.

Definition at line 84 of file vtkImageIterateFilter.h.

Definition at line 85 of file vtkImageIterateFilter.h.


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

Generated on Mon Sep 27 18:28:27 2010 for VTK by  doxygen 1.5.6