VTK  9.6.20260624
vtkImageProgressIterator.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
16
17#ifndef vtkImageProgressIterator_h
18#define vtkImageProgressIterator_h
19
20#include "vtkCommonExecutionModelModule.h" // For export macro
21#include "vtkImageIterator.h"
22VTK_ABI_NAMESPACE_BEGIN
23class vtkAlgorithm;
24
25template <class DType>
26class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageProgressIterator : public vtkImageIterator<DType>
27{
28public:
30
37 vtkImageData* imgd, VTK_FUTURE_CONST int ext[6], vtkAlgorithm* po, int id);
38
43 void NextSpan();
44
50
51protected:
53 unsigned long Count;
54 unsigned long Count2;
55 unsigned long Target;
56 int ID;
57};
58
59#ifndef vtkImageProgressIterator_cxx
61 extern template class VTKCOMMONEXECUTIONMODEL_EXPORT vtkImageProgressIterator);
62#endif
63
64VTK_ABI_NAMESPACE_END
65#endif
66// VTK-HeaderTest-Exclude: vtkImageProgressIterator.h
topologically and geometrically regular array of data
vtkImageIterator()
Default empty constructor, useful only when creating an array of iterators You need to call Initializ...
a simple image iterator with progress
vtkImageProgressIterator(vtkImageData *imgd, VTK_FUTURE_CONST int ext[6], vtkAlgorithm *po, int id)
Create a progress iterator for the provided image data and extent to iterate over.
vtkImageIterator< DType > Superclass
void NextSpan()
Move the iterator to the next span, may call UpdateProgress on the filter (vtkAlgorithm)
vtkTypeBool IsAtEnd()
Overridden from vtkImageIterator to check AbortExecute on the filter (vtkAlgorithm).
int vtkTypeBool
Definition vtkABI.h:64
#define vtkExternTemplateMacro(decl)
A macro to declare extern templates for all numerical types.
Definition vtkType.h:458
#define vtkAlgorithm