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
virtual void Begin()=0
Implementation of vtkGenericAdaptorCell.
Definition: vtkBridgeCell.h:37
#define VTKTESTINGGENERICBRIDGE_EXPORT
int vtkIdType
Definition: vtkType.h:275
virtual vtkGenericAdaptorCell * GetCell()=0
Implementation of vtkGenericDataSet.
defines cell interface
Interface used by vtkBridgeCellIterator vtkBridgeCellIterator has different behaviors depending on th...
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
list of point or cell ids
Definition: vtkIdList.h:35
virtual void Next()=0
virtual int IsAtEnd()=0
static vtkObject * New()