VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GenericFiltering
Testing
Cxx
vtkBridgeCellIteratorOne.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBridgeCellIteratorOne.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
=========================================================================*/
24
#ifndef __vtkBridgeCellIteratorOne_h
25
#define __vtkBridgeCellIteratorOne_h
26
27
#include "
vtkBridgeCellIteratorStrategy.h
"
28
29
class
vtkBridgeCell
;
30
class
vtkBridgeDataSet
;
31
class
vtkBridgeCell
;
32
class
vtkIdList
;
33
class
vtkPoints
;
34
class
vtkCell
;
35
36
class
VTK_BRIDGE_EXPORT
vtkBridgeCellIteratorOne
:
public
vtkBridgeCellIteratorStrategy
37
{
38
public
:
39
static
vtkBridgeCellIteratorOne
*
New
();
40
vtkTypeMacro(
vtkBridgeCellIteratorOne
,
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
InitWithOneCell(
vtkBridgeDataSet
*ds,
67
vtkIdType
cellid);
69
72
void
InitWithOneCell(
vtkBridgeCell
*c);
73
75
80
void
InitWithPoints(
vtkPoints
*coords,
81
vtkIdList
*pts,
82
int
dim,
83
vtkIdType
cellid);
85
86
protected
:
87
vtkBridgeCellIteratorOne
();
88
virtual
~
vtkBridgeCellIteratorOne
();
89
90
int
cIsAtEnd
;
91
vtkBridgeDataSet
*
DataSet
;
// the structure on which the objet iterates.
92
vtkIdType
Id
;
// the id at current position.
93
vtkBridgeCell
*
Cell
;
// cell at current position.
94
vtkCell
*
InternalCell
;
95
96
private
:
97
vtkBridgeCellIteratorOne
(
const
vtkBridgeCellIteratorOne
&);
// Not implemented
98
void
operator=(
const
vtkBridgeCellIteratorOne
&);
// Not implemented
99
};
100
101
#endif
Generated on Fri Aug 2 2013 12:19:48 for VTK by
1.8.4