36 #ifndef __vtkAdjacentVertexIterator_h
37 #define __vtkAdjacentVertexIterator_h
39 #include "vtkCommonDataModelModule.h"
54 void Initialize(vtkGraph *g,
vtkIdType v);
58 vtkGetObjectMacro(Graph, vtkGraph);
66 vtkOutEdgeType e = *this->Current;
76 return this->Current != this->End;
85 virtual void SetGraph(vtkGraph *graph);
89 const vtkOutEdgeType *
End;
abstract base class for most VTK objects
Iterates through adjacent vertices in a graph.
const vtkOutEdgeType * Current
virtual void PrintSelf(ostream &os, vtkIndent indent)
const vtkOutEdgeType * End
a simple class to control print indentation