VTK
9.1.0
|
a simple image iterator More...
#include <vtkImageIterator.h>
Public Types | |
typedef DType * | SpanIterator |
Public Member Functions | |
vtkImageIterator () | |
Default empty constructor, useful only when creating an array of iterators You need to call Initialize afterward. | |
vtkImageIterator (vtkImageData *id, int *ext) | |
Create an image iterator for a given image data and a given extent. | |
void | Initialize (vtkImageData *id, int *ext) |
Initialize the image iterator for a given image data, and given extent. | |
void | NextSpan () |
Move the iterator to the next span. | |
SpanIterator | BeginSpan () |
Return an iterator (pointer) for the span. | |
SpanIterator | EndSpan () |
Return an iterator (pointer) for the end of the span. | |
vtkTypeBool | IsAtEnd () |
Test if the end of the extent has been reached. | |
Protected Attributes | |
DType * | Pointer |
DType * | SpanEndPointer |
DType * | SliceEndPointer |
DType * | EndPointer |
vtkIdType | Increments [3] |
vtkIdType | ContinuousIncrements [3] |
a simple image iterator
This is a simple image iterator that can be used to iterate over an image. This should be used internally by Filter writers.
Definition at line 83 of file vtkImageIterator.h.
typedef DType* vtkImageIterator< DType >::SpanIterator |
Definition at line 86 of file vtkImageIterator.h.
vtkImageIterator< DType >::vtkImageIterator | ( | ) |
Default empty constructor, useful only when creating an array of iterators You need to call Initialize afterward.
vtkImageIterator< DType >::vtkImageIterator | ( | vtkImageData * | id, |
int * | ext | ||
) |
Create an image iterator for a given image data and a given extent.
void vtkImageIterator< DType >::Initialize | ( | vtkImageData * | id, |
int * | ext | ||
) |
Initialize the image iterator for a given image data, and given extent.
void vtkImageIterator< DType >::NextSpan | ( | ) |
Move the iterator to the next span.
|
inline |
Return an iterator (pointer) for the span.
Definition at line 112 of file vtkImageIterator.h.
|
inline |
Return an iterator (pointer) for the end of the span.
Definition at line 117 of file vtkImageIterator.h.
|
inline |
Test if the end of the extent has been reached.
Definition at line 122 of file vtkImageIterator.h.
|
protected |
Definition at line 125 of file vtkImageIterator.h.
|
protected |
Definition at line 126 of file vtkImageIterator.h.
|
protected |
Definition at line 127 of file vtkImageIterator.h.
|
protected |
Definition at line 128 of file vtkImageIterator.h.
|
protected |
Definition at line 129 of file vtkImageIterator.h.
|
protected |
Definition at line 130 of file vtkImageIterator.h.