The vtkImagePointDataIterator provides a more efficient and sometimes more convenient way to iterate through image data. It also takes care of progress reporting.