VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
ExecutionModel
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
=========================================================================*/
28
#ifndef __vtkImageProgressIterator_h
29
#define __vtkImageProgressIterator_h
30
31
#include "vtkCommonExecutionModelModule.h"
// For export macro
32
#include "
vtkImageIterator.h
"
33
class
vtkAlgorithm
;
34
35
template
<
class
DType>
36
class
VTKCOMMONEXECUTIONMODEL_EXPORT
vtkImageProgressIterator
:
public
vtkImageIterator
<DType>
37
{
38
public
:
39
typedef
vtkImageIterator<DType>
Superclass
;
40
42
45
vtkImageProgressIterator
(
vtkImageData
*imgd,
int
*ext,
46
vtkAlgorithm
*po,
int
id
);
48
51
void
NextSpan
();
52
55
int
IsAtEnd
();
56
57
protected
:
58
vtkAlgorithm
*
Algorithm
;
59
unsigned
long
Count
;
60
unsigned
long
Count2
;
61
unsigned
long
Target
;
62
int
ID
;
63
};
64
65
#ifdef VTK_NO_EXPLICIT_TEMPLATE_INSTANTIATION
66
#include "vtkImageProgressIterator.txx"
67
#endif
68
69
#endif
70
// VTK-HeaderTest-Exclude: vtkImageProgressIterator.h
Generated on Thu May 24 2012 22:22:13 for VTK by
1.8.1