34#ifndef vtkAdjacentVertexIterator_h
35#define vtkAdjacentVertexIterator_h
37#include "vtkCommonDataModelModule.h"
~vtkAdjacentVertexIterator() override
vtkIdType Next()
Returns the next edge in the graph.
bool HasNext()
Whether this iterator has more edges.
virtual void SetGraph(vtkGraph *graph)
Protected method for setting the graph used by Initialize().
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const vtkOutEdgeType * End
const vtkOutEdgeType * Current
static vtkAdjacentVertexIterator * New()
void Initialize(vtkGraph *g, vtkIdType v)
Initialize the iterator with a graph and vertex.
vtkAdjacentVertexIterator()
Representation of a single graph edge.
Base class for graph data types.
a simple class to control print indentation