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 "vtkCommonDataModelModule.h" // For export macro
39 #include "vtkObject.h"
40 
42 
44 {
45 public:
47 
49  void PrintSelf(ostream& os, vtkIndent indent);
51 
53  virtual void Begin() = 0;
54 
56  virtual int IsAtEnd() = 0;
57 
61 
65  virtual void GetCell(vtkGenericAdaptorCell *c) = 0;
66 
70 
73  virtual void Next() = 0;
74 
75 protected:
78 
79 private:
80  vtkGenericCellIterator(const vtkGenericCellIterator&); // Not implemented.
81  void operator=(const vtkGenericCellIterator&); // Not implemented.
82 };
83 
84 #endif
vtkGenericCellIterator::~vtkGenericCellIterator
virtual ~vtkGenericCellIterator()
vtkCommonDataModelModule.h
vtkGenericCellIterator::vtkGenericCellIterator
vtkGenericCellIterator()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkGenericAdaptorCell
defines cell interface
Definition: vtkGenericAdaptorCell.h:95
vtkGenericCellIterator
iterator used to traverse cells
Definition: vtkGenericCellIterator.h:44
vtkGenericCellIterator::GetCell
virtual vtkGenericAdaptorCell * GetCell()=0
vtkgl::c
const GLubyte * c
Definition: vtkgl.h:15720
vtkGenericCellIterator::Next
virtual void Next()=0
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGenericCellIterator::NewCell
virtual vtkGenericAdaptorCell * NewCell()=0
vtkGenericCellIterator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkObject.h
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkGenericCellIterator::Begin
virtual void Begin()=0
vtkGenericCellIterator::IsAtEnd
virtual int IsAtEnd()=0
vtkGenericCellIterator::GetCell
virtual void GetCell(vtkGenericAdaptorCell *c)=0