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

vtkGenericPointIterator.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkGenericPointIterator.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 __vtkGenericPointIterator_h
00046 #define __vtkGenericPointIterator_h
00047 
00048 #include "vtkObject.h"
00049 
00050 class VTK_FILTERING_EXPORT vtkGenericPointIterator : public vtkObject
00051 {
00052 public:
00054 
00055   vtkTypeRevisionMacro(vtkGenericPointIterator,vtkObject);
00056   void PrintSelf(ostream& os, vtkIndent indent);
00058 
00060   virtual void Begin() = 0;
00061 
00063   virtual int IsAtEnd() = 0;
00064 
00067   virtual void Next() = 0;
00068  
00071   virtual double *GetPosition() = 0;
00072 
00075   virtual void GetPosition(double x[3]) = 0;
00076   
00079   virtual vtkIdType GetId() = 0;
00080   
00081 protected:
00083 
00084   vtkGenericPointIterator();
00085   virtual ~vtkGenericPointIterator();
00087   
00088 private:
00089   vtkGenericPointIterator(const vtkGenericPointIterator&);  // Not implemented.
00090   void operator=(const vtkGenericPointIterator&);  // Not implemented.
00091 };
00092 
00093 #endif