Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkGenericCellIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkGenericCellIterator.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00045 #ifndef __vtkGenericCellIterator_h
00046 #define __vtkGenericCellIterator_h
00047 
00048 #include "vtkObject.h"
00049 
00050 class vtkGenericAdaptorCell;
00051 
00052 class VTK_FILTERING_EXPORT vtkGenericCellIterator : public vtkObject
00053 {
00054 public:
00056 
00057   vtkTypeRevisionMacro(vtkGenericCellIterator,vtkObject);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00060 
00062   virtual void Begin() = 0;
00063 
00065   virtual int IsAtEnd() = 0;
00066   
00069   virtual vtkGenericAdaptorCell *NewCell() = 0;
00070   
00074   virtual void GetCell(vtkGenericAdaptorCell *c) = 0;
00075   
00078   virtual vtkGenericAdaptorCell *GetCell() = 0;
00079   
00082   virtual void Next() = 0;
00083 
00084 protected:
00085   vtkGenericCellIterator();
00086   virtual ~vtkGenericCellIterator();
00087   
00088 private:
00089   vtkGenericCellIterator(const vtkGenericCellIterator&);  // Not implemented.
00090   void operator=(const vtkGenericCellIterator&);  // Not implemented.
00091 };
00092 
00093 #endif