VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GenericFiltering
Testing
Cxx
vtkBridgeCellIteratorOnCellBoundaries.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBridgeCellIteratorOnCellBoundaries.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
=========================================================================*/
26
#ifndef __vtkBridgeCellIteratorOnCellBoundaries_h
27
#define __vtkBridgeCellIteratorOnCellBoundaries_h
28
29
#include "
vtkBridgeCellIteratorStrategy.h
"
30
31
class
vtkBridgeCell
;
32
class
vtkBridgeDataSet
;
33
class
vtkBridgeCell
;
34
class
vtkIdList
;
35
36
class
VTK_BRIDGE_EXPORT
vtkBridgeCellIteratorOnCellBoundaries
:
public
vtkBridgeCellIteratorStrategy
37
{
38
public
:
39
static
vtkBridgeCellIteratorOnCellBoundaries
*
New
();
40
vtkTypeMacro(
vtkBridgeCellIteratorOnCellBoundaries
,
41
vtkBridgeCellIteratorStrategy
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent);
43
45
void
Begin
();
46
48
int
IsAtEnd
();
49
52
void
GetCell
(
vtkGenericAdaptorCell
*c);
53
56
vtkGenericAdaptorCell
*
GetCell
();
57
60
void
Next
();
61
63
66
void
InitWithCellBoundaries(
vtkBridgeCell
*cell,
67
int
dim);
69
70
protected
:
71
vtkBridgeCellIteratorOnCellBoundaries
();
72
virtual
~
vtkBridgeCellIteratorOnCellBoundaries
();
73
74
int
Dim
;
// Dimension of cells over which to iterate (-1 to 3)
75
76
vtkBridgeCell
*
DataSetCell
;
// the structure on which the objet iterates.
77
vtkIdType
Id
;
// the id at current position.
78
vtkBridgeCell
*
Cell
;
// cell at current position.
79
vtkIdType
NumberOfFaces
;
80
vtkIdType
NumberOfEdges
;
81
vtkIdType
NumberOfVertices
;
82
private
:
83
vtkBridgeCellIteratorOnCellBoundaries
(
const
vtkBridgeCellIteratorOnCellBoundaries
&);
// Not implemented
84
void
operator=(
const
vtkBridgeCellIteratorOnCellBoundaries
&);
// Not implemented
85
};
86
87
#endif
Generated on Wed Nov 21 2012 21:33:46 for VTK by
1.8.2