 |
VTK
9.0.1
|
Go to the documentation of this file.
31 #ifndef vtkImagePointDataIterator_h
32 #define vtkImagePointDataIterator_h
34 #include "vtkImagingCoreModule.h"
62 this->Initialize(
image,
extent, stencil, algorithm, threadId);
81 bool IsAtEnd() {
return (this->Id == this->End); }
95 result[0] = this->Index[0];
96 result[1] = this->Index[1];
97 result[2] = this->Index[2];
133 void SetSpanState(
int idX);
140 void ReportProgress();
vtkIdType GetId()
Get the point Id at the beginning of the current span.
iterate over point data in an image.
Superclass for all sources, filters, and sinks in VTK.
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
abstract superclass for arrays of numeric data
bool IsAtEnd()
Test if the iterator has completed iterating over the entire extent.
#define VTK_SIZEHINT(...)
vtkIdType SpanEndId()
Get the end of the span.
bool IsInStencil()
Check if the iterator is within the region specified by the stencil.
const int * GetIndex()
Get the index at the beginning of the current span.
vtkIdType SliceEndIncrement
topologically and geometrically regular array of data
int SpanSliceEndIncrement
efficient description of an image stencil
void GetIndex(int result[3])
Get the index at the beginning of the current span.