VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GenericFiltering
Testing
Cxx
vtkBridgeCellIteratorOnCellList.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBridgeCellIteratorOnCellList.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 __vtkBridgeCellIteratorOnCellList_h
27
#define __vtkBridgeCellIteratorOnCellList_h
28
29
#include "
vtkBridgeCellIteratorStrategy.h
"
30
31
class
vtkBridgeCell
;
32
class
vtkIdList
;
33
class
vtkBridgeDataSet
;
34
35
class
VTK_BRIDGE_EXPORT
vtkBridgeCellIteratorOnCellList
:
public
vtkBridgeCellIteratorStrategy
36
{
37
public
:
38
static
vtkBridgeCellIteratorOnCellList
*
New
();
39
vtkTypeMacro(
vtkBridgeCellIteratorOnCellList
,
40
vtkBridgeCellIteratorStrategy
);
41
void
PrintSelf
(ostream& os,
vtkIndent
indent);
42
44
void
Begin
();
45
47
int
IsAtEnd
();
48
51
void
GetCell
(
vtkGenericAdaptorCell
*c);
52
55
vtkGenericAdaptorCell
*
GetCell
();
56
59
void
Next
();
60
62
65
void
InitWithCells(
vtkIdList
*cells,
66
vtkBridgeDataSet
*ds);
68
69
protected
:
70
vtkBridgeCellIteratorOnCellList
();
71
virtual
~
vtkBridgeCellIteratorOnCellList
();
72
73
vtkIdList
*
Cells
;
// cells traversed by the iterator.
74
vtkBridgeDataSet
*
DataSet
;
75
vtkIdType
Id
;
// the id at current position.
76
vtkBridgeCell
*
Cell
;
// cell at current position.
77
78
private
:
79
vtkBridgeCellIteratorOnCellList
(
const
vtkBridgeCellIteratorOnCellList
&);
// Not implemented
80
void
operator=(
const
vtkBridgeCellIteratorOnCellList
&);
// Not implemented
81
};
82
83
#endif
Generated on Wed May 30 2012 13:21:57 for VTK by
1.8.1