VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
DataModel
vtkGenericCellIterator.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 vtkGenericCellIterator_h
25
#define vtkGenericCellIterator_h
26
27
#include "vtkCommonDataModelModule.h"
// For export macro
28
#include "
vtkObject.h
"
29
30
VTK_ABI_NAMESPACE_BEGIN
31
class
vtkGenericAdaptorCell
;
32
33
class
VTKCOMMONDATAMODEL_EXPORT
vtkGenericCellIterator
:
public
vtkObject
34
{
35
public
:
37
40
vtkTypeMacro(
vtkGenericCellIterator
,
vtkObject
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
47
virtual
void
Begin() = 0;
48
52
virtual
vtkTypeBool
IsAtEnd() = 0;
53
58
virtual
vtkGenericAdaptorCell
* NewCell() = 0;
59
67
virtual
void
GetCell(
vtkGenericAdaptorCell
* c) = 0;
68
75
virtual
vtkGenericAdaptorCell
* GetCell() = 0;
76
81
virtual
void
Next() = 0;
82
83
protected
:
84
vtkGenericCellIterator
();
85
~
vtkGenericCellIterator
()
override
;
86
87
private
:
88
vtkGenericCellIterator
(
const
vtkGenericCellIterator
&) =
delete
;
89
void
operator=(
const
vtkGenericCellIterator
&) =
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.
vtkGenericCellIterator
iterator used to traverse cells
Definition:
vtkGenericCellIterator.h:33
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:64
vtkGenericAdaptorCell
defines cell interface
Definition:
vtkGenericAdaptorCell.h:83
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkObject.h
Generated on Sun Mar 23 2025 01:24:01 for VTK by
1.8.10