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 "vtkCommonDataModelModule.h" // For export macro
39 #include "vtkObject.h"
40 
42 {
43 public:
45 
47  void PrintSelf(ostream& os, vtkIndent indent);
49 
51  virtual void Begin() = 0;
52 
54  virtual int IsAtEnd() = 0;
55 
58  virtual void Next() = 0;
59 
62  virtual double *GetPosition() = 0;
63 
66  virtual void GetPosition(double x[3]) = 0;
67 
70  virtual vtkIdType GetId() = 0;
71 
72 protected:
74 
76  virtual ~vtkGenericPointIterator();
78 
79 private:
80  vtkGenericPointIterator(const vtkGenericPointIterator&); // Not implemented.
81  void operator=(const vtkGenericPointIterator&); // Not implemented.
82 };
83 
84 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:61
int vtkIdType
Definition: vtkType.h:247
iterator used to traverse points
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKCOMMONDATAMODEL_EXPORT