VTK  9.0.1
vtkImageProgressIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageProgressIterator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkImageProgressIterator_h
27 #define vtkImageProgressIterator_h
28 
29 #include "vtkCommonExecutionModelModule.h" // For export macro
30 #include "vtkImageIterator.h"
31 class vtkAlgorithm;
32 
33 template <class DType>
34 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageProgressIterator : public vtkImageIterator<DType>
35 {
36 public:
38 
44  vtkImageProgressIterator(vtkImageData* imgd, int* ext, vtkAlgorithm* po, int id);
45 
50  void NextSpan();
51 
57 
58 protected:
60  unsigned long Count;
61  unsigned long Count2;
62  unsigned long Target;
63  int ID;
64 };
65 
66 #ifndef vtkImageProgressIterator_cxx
68  extern template class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageProgressIterator);
69 #endif
70 
71 #endif
72 // VTK-HeaderTest-Exclude: vtkImageProgressIterator.h
vtkAlgorithm
Superclass for all sources, filters, and sinks in VTK.
Definition: vtkAlgorithm.h:62
vtkImageIterator::IsAtEnd
vtkTypeBool IsAtEnd()
Test if the end of the extent has been reached.
Definition: vtkImageIterator.h:73
vtkImageProgressIterator::Target
unsigned long Target
Definition: vtkImageProgressIterator.h:62
vtkImageProgressIterator::Superclass
vtkImageIterator< DType > Superclass
Definition: vtkImageProgressIterator.h:37
vtkImageProgressIterator
a simple image iterator with progress
Definition: vtkImageProgressIterator.h:34
vtkImageIterator::NextSpan
void NextSpan()
Move the iterator to the next span.
vtkImageProgressIterator::Count
unsigned long Count
Definition: vtkImageProgressIterator.h:60
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkImageIterator.h
vtkImageIterator
a simple image iterator
Definition: vtkImageIterator.h:34
vtkImageProgressIterator::Algorithm
vtkAlgorithm * Algorithm
Definition: vtkImageProgressIterator.h:59
vtkImageProgressIterator::Count2
unsigned long Count2
Definition: vtkImageProgressIterator.h:61
vtkImageProgressIterator::ID
int ID
Definition: vtkImageProgressIterator.h:63
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkExternTemplateMacro
vtkExternTemplateMacro(extern template class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageProgressIterator)