VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
DataModel
vtkGenericPointIterator.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
24
#ifndef vtkGenericPointIterator_h
25
#define vtkGenericPointIterator_h
26
27
#include "vtkCommonDataModelModule.h"
// For export macro
28
#include "
vtkObject.h
"
29
30
VTK_ABI_NAMESPACE_BEGIN
31
class
VTKCOMMONDATAMODEL_EXPORT
vtkGenericPointIterator
:
public
vtkObject
32
{
33
public
:
35
38
vtkTypeMacro(
vtkGenericPointIterator
,
vtkObject
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
45
virtual
void
Begin() = 0;
46
50
virtual
vtkTypeBool
IsAtEnd() = 0;
51
56
virtual
void
Next() = 0;
57
63
virtual
double
* GetPosition() = 0;
64
70
virtual
void
GetPosition(
double
x[3]) = 0;
71
76
virtual
vtkIdType
GetId() = 0;
77
78
protected
:
80
83
vtkGenericPointIterator
();
84
~
vtkGenericPointIterator
()
override
;
86
87
private
:
88
vtkGenericPointIterator
(
const
vtkGenericPointIterator
&) =
delete
;
89
void
operator=(
const
vtkGenericPointIterator
&) =
delete
;
90
};
91
92
VTK_ABI_NAMESPACE_END
93
#endif
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:51
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:315
vtkGenericPointIterator
iterator used to traverse points
Definition:
vtkGenericPointIterator.h:31
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:64
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkObject.h
Generated on Sun Mar 23 2025 01:22:14 for VTK by
1.8.10