Add a vtkImagePointIterator class.
Given an image, the vtkImagePointIterator will iterate through the image point-by-point and efficiently provide the current position in both (x,y,z) data coordinates and (i,j,k) structured coordinates. If a stencil is provided, then it is possible to check whether the current point is in the stencil. The superclass, vtkImagePointDataIterator, iterates through the data span-by-span for efficiency. For each span, it provides the point id for the beginning of the span, and the length of the span. This makes it useful for iterating through the point attributes when the actual point coordinates are not important.
Showing with 810 additions and 0 deletions