VTK
vtkBridgePointIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkBridgePointIterator.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 =========================================================================*/
27 #ifndef __vtkBridgePointIterator_h
28 #define __vtkBridgePointIterator_h
29 
30 #include "vtkBridgeExport.h"
32 
33 class vtkBridgeDataSet;
34 class vtkBridgeCell;
38 
39 
41 {
42 public:
43  static vtkBridgePointIterator *New();
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
48  void Begin();
49 
51  int IsAtEnd();
52 
55  void Next();
56 
59  double *GetPosition();
60 
63  void GetPosition(double x[3]);
64 
67  vtkIdType GetId();
68 
71  void InitWithDataSet(vtkBridgeDataSet *ds);
72 
74 
78  void InitWithOnePoint(vtkBridgeDataSet *ds,
79  vtkIdType id);
81 
84  void InitWithCell(vtkBridgeCell *cell);
85 
86 protected:
89 
91  virtual ~vtkBridgePointIterator();
92 
97 
98 private:
99  vtkBridgePointIterator(const vtkBridgePointIterator&); // Not implemented
100  void operator=(const vtkBridgePointIterator&); // Not implemented
101 };
102 
103 #endif