21 #ifndef vtkAdjacentVertexIterator_h
22 #define vtkAdjacentVertexIterator_h
24 #include "vtkCommonDataModelModule.h"
29 VTK_ABI_NAMESPACE_BEGIN
67 bool HasNext() {
return this->Current != this->End; }
77 virtual void SetGraph(
vtkGraph* graph);
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Iterates through adjacent vertices in a graph.
Representation of a single graph edge.
bool HasNext()
Whether this iterator has more edges.
Base class for graph data types.
const vtkOutEdgeType * Current
vtkIdType Next()
Returns the next edge in the graph.
const vtkOutEdgeType * End
a simple class to control print indentation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...