VTK
Public Types | Public Member Functions | Protected Attributes
vtkImageProgressIterator< DType > Class Template Reference

a simple image iterator with progress More...

#include <vtkImageProgressIterator.h>

Inheritance diagram for vtkImageProgressIterator< DType >:
Inheritance graph
[legend]
Collaboration diagram for vtkImageProgressIterator< DType >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageIterator< DType > Superclass

Public Member Functions

void NextSpan ()
int IsAtEnd ()
 vtkImageProgressIterator (vtkImageData *imgd, int *ext, vtkAlgorithm *po, int id)

Protected Attributes

vtkAlgorithmAlgorithm
unsigned long Count
unsigned long Count2
unsigned long Target
int ID

Detailed Description

template<class DType>
class vtkImageProgressIterator< DType >

a simple image iterator with progress

This is a simple image iterator that can be used to iterate over an image. Typically used to iterate over the output image

See also:
vtkImageData vtkImageIterator
Tests:
vtkImageProgressIterator (Tests)

Definition at line 36 of file vtkImageProgressIterator.h.


Member Typedef Documentation

template<class DType >
typedef vtkImageIterator<DType> vtkImageProgressIterator< DType >::Superclass

Definition at line 39 of file vtkImageProgressIterator.h.


Constructor & Destructor Documentation

template<class DType >
vtkImageProgressIterator< DType >::vtkImageProgressIterator ( vtkImageData imgd,
int ext,
vtkAlgorithm po,
int  id 
)

Create a progress iterator for the provided image data and extent to iterate over. The passes progress object will receive any UpdateProgress calls if the thread id is zero


Member Function Documentation

template<class DType >
void vtkImageProgressIterator< DType >::NextSpan ( )

Move the iterator to the next span, may call UpdateProgress on the filter (vtkAlgorithm)

Reimplemented from vtkImageIterator< DType >.

template<class DType >
int vtkImageProgressIterator< DType >::IsAtEnd ( )

Overridden from vtkImageIterator to check AbortExecute on the filter (vtkAlgorithm).

Reimplemented from vtkImageIterator< DType >.


Member Data Documentation

template<class DType >
vtkAlgorithm* vtkImageProgressIterator< DType >::Algorithm [protected]

Definition at line 58 of file vtkImageProgressIterator.h.

template<class DType >
unsigned long vtkImageProgressIterator< DType >::Count [protected]

Definition at line 59 of file vtkImageProgressIterator.h.

template<class DType >
unsigned long vtkImageProgressIterator< DType >::Count2 [protected]

Definition at line 60 of file vtkImageProgressIterator.h.

template<class DType >
unsigned long vtkImageProgressIterator< DType >::Target [protected]

Definition at line 61 of file vtkImageProgressIterator.h.

template<class DType >
int vtkImageProgressIterator< DType >::ID [protected]

Definition at line 62 of file vtkImageProgressIterator.h.


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