VTK
9.0.1
Common
DataModel
vtkGenericPointIterator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGenericPointIterator.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
=========================================================================*/
33
#ifndef vtkGenericPointIterator_h
34
#define vtkGenericPointIterator_h
35
36
#include "vtkCommonDataModelModule.h"
// For export macro
37
#include "
vtkObject.h
"
38
39
class
VTKCOMMONDATAMODEL_EXPORT
vtkGenericPointIterator
:
public
vtkObject
40
{
41
public
:
43
46
vtkTypeMacro(
vtkGenericPointIterator
,
vtkObject
);
47
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
49
53
virtual
void
Begin() = 0;
54
58
virtual
vtkTypeBool
IsAtEnd() = 0;
59
64
virtual
void
Next() = 0;
65
71
virtual
double
* GetPosition() = 0;
72
78
virtual
void
GetPosition(
double
x[3]) = 0;
79
84
virtual
vtkIdType
GetId() = 0;
85
86
protected
:
88
91
vtkGenericPointIterator
();
92
~
vtkGenericPointIterator
()
override
;
94
95
private
:
96
vtkGenericPointIterator
(
const
vtkGenericPointIterator
&) =
delete
;
97
void
operator=(
const
vtkGenericPointIterator
&) =
delete
;
98
};
99
100
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:62
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdType
int vtkIdType
Definition:
vtkType.h:338
vtkGenericPointIterator
iterator used to traverse points
Definition:
vtkGenericPointIterator.h:39
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkObject.h
Generated on Sat Jun 12 2021 03:48:02 for VTK by
1.8.14