VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkGenericPointIterator.h 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 "vtkCommonDataModelModule.h" // For export macro 00039 #include "vtkObject.h" 00040 00041 class VTKCOMMONDATAMODEL_EXPORT vtkGenericPointIterator : public vtkObject 00042 { 00043 public: 00045 00046 vtkTypeMacro(vtkGenericPointIterator,vtkObject); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00049 00051 virtual void Begin() = 0; 00052 00054 virtual int IsAtEnd() = 0; 00055 00058 virtual void Next() = 0; 00059 00062 virtual double *GetPosition() = 0; 00063 00066 virtual void GetPosition(double x[3]) = 0; 00067 00070 virtual vtkIdType GetId() = 0; 00071 00072 protected: 00074 00075 vtkGenericPointIterator(); 00076 virtual ~vtkGenericPointIterator(); 00078 00079 private: 00080 vtkGenericPointIterator(const vtkGenericPointIterator&); // Not implemented. 00081 void operator=(const vtkGenericPointIterator&); // Not implemented. 00082 }; 00083 00084 #endif