VTK
vtkGenericCellIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenericCellIterator.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 =========================================================================*/
35 #ifndef __vtkGenericCellIterator_h
36 #define __vtkGenericCellIterator_h
37 
38 #include "vtkObject.h"
39 
40 class vtkGenericAdaptorCell;
41 
43 {
44 public:
46 
48  void PrintSelf(ostream& os, vtkIndent indent);
50 
52  virtual void Begin() = 0;
53 
55  virtual int IsAtEnd() = 0;
56 
59  virtual vtkGenericAdaptorCell *NewCell() = 0;
60 
64  virtual void GetCell(vtkGenericAdaptorCell *c) = 0;
65 
68  virtual vtkGenericAdaptorCell *GetCell() = 0;
69 
72  virtual void Next() = 0;
73 
74 protected:
76  virtual ~vtkGenericCellIterator();
77 
78 private:
79  vtkGenericCellIterator(const vtkGenericCellIterator&); // Not implemented.
80  void operator=(const vtkGenericCellIterator&); // Not implemented.
81 };
82 
83 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:60
#define VTK_FILTERING_EXPORT
iterator used to traverse cells
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37