VTK
dox
Common
Core
vtkArrayIterator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkArrayIterator.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
=========================================================================*/
15
43
#ifndef vtkArrayIterator_h
44
#define vtkArrayIterator_h
45
46
#include "vtkCommonCoreModule.h"
// For export macro
47
#include "
vtkObject.h
"
48
class
vtkAbstractArray
;
49
class
VTKCOMMONCORE_EXPORT
vtkArrayIterator
:
public
vtkObject
50
{
51
public
:
52
vtkTypeMacro(
vtkArrayIterator
,
vtkObject
);
53
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
54
62
virtual
void
Initialize(
vtkAbstractArray
* array) = 0;
63
68
virtual
int
GetDataType()=0;
69
70
protected
:
71
vtkArrayIterator
();
72
~
vtkArrayIterator
()
override
;
73
74
private
:
75
vtkArrayIterator
(
const
vtkArrayIterator
&) =
delete
;
76
void
operator=(
const
vtkArrayIterator
&) =
delete
;
77
};
78
79
80
#endif
81
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkAbstractArray
Abstract superclass for all arrays.
Definition:
vtkAbstractArray.h:78
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkArrayIterator
Abstract superclass to iterate over elements in an vtkAbstractArray.
Definition:
vtkArrayIterator.h:49
vtkObject.h
Generated by
1.8.14