Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound 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?


Member Function Documentation

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.

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.

virtual int vtkImageIterateFilter::GetIteration   [virtual]
 

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

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.

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.

vtkImageIterateFilter* vtkImageIterateFilter::New   [static]
 

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

Reimplemented from vtkImageToImageFilter.

Reimplemented in vtkImageCityBlockDistance.

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.

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.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:26:28 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002