Go to the documentation of this file.
37 #ifndef vtkAdjacentVertexIterator_h
38 #define vtkAdjacentVertexIterator_h
40 #include "vtkCommonDataModelModule.h"
84 return this->Current != this->End;
bool HasNext()
Whether this iterator has more edges.
abstract base class for most VTK objects
vtkIdType Next()
Returns the next edge in the graph.
vtkAdjacentVertexIterator()
void Initialize(vtkGraph *g, vtkIdType v)
Initialize the iterator with a graph and vertex.
virtual void SetGraph(vtkGraph *graph)
Protected method for setting the graph used by Initialize().
~vtkAdjacentVertexIterator() override
Representation of a single graph edge.
a simple class to control print indentation
static vtkAdjacentVertexIterator * New()
const vtkOutEdgeType * End
Iterates through adjacent vertices in a graph.
const vtkOutEdgeType * Current
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Base class for graph data types.