21 #ifndef FACEITERATOR2_H 22 #define FACEITERATOR2_H 26 #include <tulip/Iterator.h> 27 #include <tulip/Face.h> 28 #include <tulip/Node.h> 29 #include <tulip/Edge.h> 37 class FaceIterator :
public Iterator<Face> {
39 FaceIterator(PlanarConMap* m);
40 virtual ~FaceIterator() {}
52 class FaceAdjIterator :
public Iterator<Face> {
54 FaceAdjIterator(PlanarConMap* m,
const node n);
55 virtual ~FaceAdjIterator() {}
61 std::vector<Face> facesAdj;
67 class NodeFaceIterator :
public Iterator<node> {
69 NodeFaceIterator(PlanarConMap *m,
const Face );
70 virtual ~NodeFaceIterator() {}
77 std::vector<node> nodes;
84 class EdgeFaceIterator :
public Iterator<edge> {
86 EdgeFaceIterator(PlanarConMap *m,
const Face );
87 virtual ~EdgeFaceIterator() {}
Interface for Tulip iterators. Allows basic iteration operations only.