Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

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 Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual int GetIteration ()
virtual int GetNumberOfIterations ()
void ComputeInputUpdateExtents (vtkDataObject *output)
void ComputeInputUpdateExtent (int[6], int[6])

Static Public Methods

vtkImageIterateFilter * New ()
int IsTypeOf (const char *type)
vtkImageIterateFilter * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageIterateFilter ()
 ~vtkImageIterateFilter ()
 vtkImageIterateFilter (const vtkImageIterateFilter &)
void operator= (const vtkImageIterateFilter &)
void ExecuteInformation ()
virtual void ExecuteInformation (vtkImageData *inData, vtkImageData *outData)
void Execute ()
void Execute (vtkImageData *inData, vtkImageData *outData)
void Execute (vtkImageData *outData)
virtual void SetNumberOfIterations (int num)
vtkImageDataGetIterationInput ()
vtkImageDataGetIterationOutput ()

Protected Attributes

int NumberOfIterations
int Iteration
vtkImageData ** IterationData

Detailed Description

Multiple executes per update.

Date:
2000/12/10 20:09:07
Revision:
1.24
Thanks:
Thanks to C. Charles Law who developed this class.
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 62 of file vtkImageIterateFilter.h.


Constructor & Destructor Documentation

vtkImageIterateFilter::vtkImageIterateFilter   [protected]
 

vtkImageIterateFilter::~vtkImageIterateFilter   [protected]
 

vtkImageIterateFilter::vtkImageIterateFilter const vtkImageIterateFilter &    [inline, protected]
 

Definition at line 83 of file vtkImageIterateFilter.h.


Member Function Documentation

vtkImageIterateFilter* vtkImageIterateFilter::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance, vtkImageDecomposeFilter, vtkImageFFT, vtkImageFourierCenter, vtkImageFourierFilter, vtkImageRFFT, and vtkImageSkeleton2D.

virtual const char* vtkImageIterateFilter::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance, vtkImageDecomposeFilter, vtkImageFFT, vtkImageFourierCenter, vtkImageFourierFilter, vtkImageRFFT, and vtkImageSkeleton2D.

int vtkImageIterateFilter::IsTypeOf const char *    type [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 vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance, vtkImageDecomposeFilter, vtkImageFFT, vtkImageFourierCenter, vtkImageFourierFilter, vtkImageRFFT, and vtkImageSkeleton2D.

virtual int vtkImageIterateFilter::IsA const char *    type [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 vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance, vtkImageDecomposeFilter, vtkImageFFT, vtkImageFourierCenter, vtkImageFourierFilter, vtkImageRFFT, and vtkImageSkeleton2D.

vtkImageIterateFilter* vtkImageIterateFilter::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance, vtkImageDecomposeFilter, vtkImageFFT, vtkImageFourierCenter, vtkImageFourierFilter, vtkImageRFFT, and vtkImageSkeleton2D.

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 vtkImageToImageFilter.

Reimplemented in vtkImageDecomposeFilter, 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]
 

void vtkImageIterateFilter::ComputeInputUpdateExtents vtkDataObject   output [virtual]
 

What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses.

Reimplemented from vtkImageToImageFilter.

void vtkImageIterateFilter::ComputeInputUpdateExtent int    inExt[6],
int    outExt[6]
[inline, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance, vtkImageFFT, vtkImageFourierCenter, vtkImageRFFT, and vtkImageSkeleton2D.

Definition at line 76 of file vtkImageIterateFilter.h.

void vtkImageIterateFilter::operator= const vtkImageIterateFilter &    [inline, protected]
 

Definition at line 84 of file vtkImageIterateFilter.h.

void vtkImageIterateFilter::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageFFT, and vtkImageRFFT.

Referenced by vtkImageRFFT::ExecuteInformation(), and vtkImageFFT::ExecuteInformation().

virtual void vtkImageIterateFilter::ExecuteInformation vtkImageData   inData,
vtkImageData   outData
[protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageFFT, and vtkImageRFFT.

void vtkImageIterateFilter::Execute   [protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance.

Referenced by vtkImageCityBlockDistance::Execute().

void vtkImageIterateFilter::Execute vtkImageData   inData,
vtkImageData   outData
[protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance.

void vtkImageIterateFilter::Execute vtkImageData   outData [inline, protected, virtual]
 

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance.

Definition at line 99 of file vtkImageIterateFilter.h.

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

Reimplemented in vtkImageSkeleton2D.

vtkImageData* vtkImageIterateFilter::GetIterationInput   [protected]
 

vtkImageData* vtkImageIterateFilter::GetIterationOutput   [protected]
 


Member Data Documentation

int vtkImageIterateFilter::NumberOfIterations [protected]
 

Definition at line 106 of file vtkImageIterateFilter.h.

int vtkImageIterateFilter::Iteration [protected]
 

Definition at line 107 of file vtkImageIterateFilter.h.

vtkImageData** vtkImageIterateFilter::IterationData [protected]
 

Definition at line 110 of file vtkImageIterateFilter.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:48:41 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001