VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
GenericFiltering
Testing
Cxx
vtkBridgeCellIteratorOnDataSet.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkBridgeCellIteratorOnDataSet.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 __vtkBridgeCellIteratorOnDataSet_h
25
#define __vtkBridgeCellIteratorOnDataSet_h
26
27
#include "
vtkBridgeCellIteratorStrategy.h
"
28
29
class
vtkBridgeCell
;
30
class
vtkBridgeDataSet
;
31
class
vtkBridgeCell
;
32
class
vtkIdList
;
33
34
class
VTK_BRIDGE_EXPORT
vtkBridgeCellIteratorOnDataSet
:
public
vtkBridgeCellIteratorStrategy
35
{
36
public
:
37
static
vtkBridgeCellIteratorOnDataSet
*
New
();
38
vtkTypeMacro(
vtkBridgeCellIteratorOnDataSet
,
39
vtkBridgeCellIteratorStrategy
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent);
41
43
void
Begin
();
44
46
int
IsAtEnd
();
47
50
void
GetCell
(
vtkGenericAdaptorCell
*c);
51
54
vtkGenericAdaptorCell
*
GetCell
();
55
58
void
Next
();
59
61
64
void
InitWithDataSet(
vtkBridgeDataSet
*ds,
65
int
dim);
67
68
protected
:
69
vtkBridgeCellIteratorOnDataSet
();
70
virtual
~
vtkBridgeCellIteratorOnDataSet
();
71
72
int
Dim
;
// Dimension of cells over which to iterate (-1 to 3)
73
74
vtkBridgeDataSet
*
DataSet
;
// the structure on which the objet iterates.
75
vtkIdType
Id
;
// the id at current position.
76
vtkIdType
Size
;
// size of the structure.
77
vtkBridgeCell
*
Cell
;
// cell at current position.
78
79
private
:
80
vtkBridgeCellIteratorOnDataSet
(
const
vtkBridgeCellIteratorOnDataSet
&);
// Not implemented
81
void
operator=(
const
vtkBridgeCellIteratorOnDataSet
&);
// Not implemented
82
};
83
84
#endif
Generated on Wed Nov 21 2012 21:33:46 for VTK by
1.8.2