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 
78 
79 private:
80  vtkGenericPointIterator(const vtkGenericPointIterator&); // Not implemented.
81  void operator=(const vtkGenericPointIterator&); // Not implemented.
82 };
83 
84 #endif
vtkGenericPointIterator
iterator used to traverse points
Definition: vtkGenericPointIterator.h:42
vtkGenericPointIterator::GetId
virtual vtkIdType GetId()=0
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkCommonDataModelModule.h
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkgl::x
GLint GLint GLint GLint GLint x
Definition: vtkgl.h:11318
vtkGenericPointIterator::Next
virtual void Next()=0
vtkGenericPointIterator::Begin
virtual void Begin()=0
vtkGenericPointIterator::GetPosition
virtual double * GetPosition()=0
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGenericPointIterator::GetPosition
virtual void GetPosition(double x[3])=0
vtkObject.h
vtkGenericPointIterator::IsAtEnd
virtual int IsAtEnd()=0
vtkGenericPointIterator::~vtkGenericPointIterator
virtual ~vtkGenericPointIterator()
VTKCOMMONDATAMODEL_EXPORT
#define VTKCOMMONDATAMODEL_EXPORT
Definition: vtkCommonDataModelModule.h:15
vtkGenericPointIterator::vtkGenericPointIterator
vtkGenericPointIterator()
vtkGenericPointIterator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)