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 =========================================================================*/ 00035 #ifndef __vtkGenericPointIterator_h 00036 #define __vtkGenericPointIterator_h 00037 00038 #include "vtkObject.h" 00039 00040 class VTK_FILTERING_EXPORT vtkGenericPointIterator : public vtkObject 00041 { 00042 public: 00044 00045 vtkTypeRevisionMacro(vtkGenericPointIterator,vtkObject); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00048 00050 virtual void Begin() = 0; 00051 00053 virtual int IsAtEnd() = 0; 00054 00057 virtual void Next() = 0; 00058 00061 virtual double *GetPosition() = 0; 00062 00065 virtual void GetPosition(double x[3]) = 0; 00066 00069 virtual vtkIdType GetId() = 0; 00070 00071 protected: 00073 00074 vtkGenericPointIterator(); 00075 virtual ~vtkGenericPointIterator(); 00077 00078 private: 00079 vtkGenericPointIterator(const vtkGenericPointIterator&); // Not implemented. 00080 void operator=(const vtkGenericPointIterator&); // Not implemented. 00081 }; 00082 00083 #endif