36 #ifndef __vtkAdjacentVertexIterator_h
37 #define __vtkAdjacentVertexIterator_h
53 void Initialize(vtkGraph *g,
vtkIdType v);
57 vtkGetObjectMacro(Graph, vtkGraph);
65 vtkOutEdgeType e = *this->Current;
75 return this->Current != this->End;
84 virtual void SetGraph(vtkGraph *graph);
88 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