VTK
vtkGenericPointIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenericPointIterator.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 __vtkGenericPointIterator_h
36 #define __vtkGenericPointIterator_h
37 
38 #include "vtkObject.h"
39 
41 {
42 public:
44 
46  void PrintSelf(ostream& os, vtkIndent indent);
48 
50  virtual void Begin() = 0;
51 
53  virtual int IsAtEnd() = 0;
54 
57  virtual void Next() = 0;
58 
61  virtual double *GetPosition() = 0;
62 
65  virtual void GetPosition(double x[3]) = 0;
66 
69  virtual vtkIdType GetId() = 0;
70 
71 protected:
73 
75  virtual ~vtkGenericPointIterator();
77 
78 private:
79  vtkGenericPointIterator(const vtkGenericPointIterator&); // Not implemented.
80  void operator=(const vtkGenericPointIterator&); // Not implemented.
81 };
82 
83 #endif