VTK
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 
30 
31 class vtkBridgeCell;
32 class vtkIdList;
33 class vtkBridgeDataSet;
34 
36 {
37 public:
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44  void Begin();
45 
47  int IsAtEnd();
48 
52 
56 
59  void Next();
60 
62 
65  void InitWithCells(vtkIdList *cells,
66  vtkBridgeDataSet *ds);
68 
69 protected:
72 
73  vtkIdList *Cells; // cells traversed by the iterator.
75  vtkIdType Id; // the id at current position.
76  vtkBridgeCell *Cell; // cell at current position.
77 
78 private:
80  void operator=(const vtkBridgeCellIteratorOnCellList&); // Not implemented
81 };
82 
83 #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
Iterate over a list of cells defined on a dataset. See InitWithCells().
static vtkObject * New()