34 #ifndef vtkImagePointDataIterator_h 35 #define vtkImagePointDataIterator_h 38 #include "vtkImagingCoreModule.h" 63 const int extent[6] =
nullptr,
68 this->Initialize(image,
extent, stencil, algorithm, threadId);
90 return (this->Id == this->End);
99 return this->InStencil;
108 result[0] = this->Index[0];
109 result[1] = this->Index[1];
110 result[2] = this->Index[2];
135 return this->SpanEnd;
144 int *pixelIncrement=
nullptr);
153 int *pixelIncrement=
nullptr);
160 void SetSpanState(
int idX);
167 void ReportProgress();
vtkImagePointDataIterator(vtkImageData *image, const int extent[6]=nullptr, vtkImageStencilData *stencil=nullptr, vtkAlgorithm *algorithm=nullptr, int threadId=0)
Create an iterator for the given image, with several options.
vtkIdType RowEndIncrement
iterate over point data in an image.
Superclass for all sources, filters, and sinks in VTK.
efficient description of an image stencil
topologically and geometrically regular array of data
abstract superclass for arrays of numeric data
vtkIdType SliceEndIncrement
vtkIdType SpanEndId()
Get the end of the span.
#define VTK_SIZEHINT(...)
bool IsAtEnd()
Test if the iterator has completed iterating over the entire extent.
void GetIndex(int result[3])
Get the index at the beginning of the current span.
vtkIdType GetId()
Get the point Id at the beginning of the current span.
const int * GetIndex()
Get the index at the beginning of the current span.
int SpanSliceEndIncrement
bool IsInStencil()
Check if the iterator is within the region specified by the stencil.