VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
Utilities
Doxygen
dox
Common
DataModel
vtkGenericCellIterator.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGenericCellIterator.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
=========================================================================*/
36
#ifndef vtkGenericCellIterator_h
37
#define vtkGenericCellIterator_h
38
39
#include "vtkCommonDataModelModule.h"
// For export macro
40
#include "
vtkObject.h
"
41
42
class
vtkGenericAdaptorCell
;
43
44
class
VTKCOMMONDATAMODEL_EXPORT
vtkGenericCellIterator
:
public
vtkObject
45
{
46
public
:
48
51
vtkTypeMacro(
vtkGenericCellIterator
,
vtkObject
);
52
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
54
58
virtual
void
Begin() = 0;
59
63
virtual
vtkTypeBool
IsAtEnd() = 0;
64
69
virtual
vtkGenericAdaptorCell
*NewCell() = 0;
70
78
virtual
void
GetCell(
vtkGenericAdaptorCell
*c) = 0;
79
86
virtual
vtkGenericAdaptorCell
*GetCell() = 0;
87
92
virtual
void
Next() = 0;
93
94
protected
:
95
vtkGenericCellIterator
();
96
~
vtkGenericCellIterator
()
override
;
97
98
private
:
99
vtkGenericCellIterator
(
const
vtkGenericCellIterator
&) =
delete
;
100
void
operator=(
const
vtkGenericCellIterator
&) =
delete
;
101
};
102
103
#endif
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.
vtkGenericCellIterator
iterator used to traverse cells
Definition:
vtkGenericCellIterator.h:44
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkGenericAdaptorCell
defines cell interface
Definition:
vtkGenericAdaptorCell.h:95
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject.h
Generated by
1.8.11