VTK
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 
30 
31 class vtkBridgeCell;
32 class vtkBridgeDataSet;
33 class vtkBridgeCell;
34 class vtkIdList;
35 
37 {
38 public:
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45  void Begin();
46 
48  int IsAtEnd();
49 
53 
57 
60  void Next();
61 
63 
66  void InitWithCellBoundaries(vtkBridgeCell *cell,
67  int dim);
69 
70 protected:
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.
82 private:
84  void operator=(const vtkBridgeCellIteratorOnCellBoundaries&); // Not implemented
85 };
86 
87 #endif