Go to the documentation of this file.
38 #ifndef vtkInEdgeIterator_h
39 #define vtkInEdgeIterator_h
41 #include "vtkCommonDataModelModule.h"
94 return this->Current != this->End;
vtkInEdgeType Next()
Returns the next edge in the graph.
static vtkInEdgeIterator * New()
bool HasNext()
Whether this iterator has more edges.
abstract base class for most VTK objects
vtkGraphEdge * NextGraphEdge()
Just like Next(), but returns heavy-weight vtkGraphEdge object instead of the vtkEdgeType struct,...
Iterates through all incoming edges to a vertex.
~vtkInEdgeIterator() override
Representation of a single graph edge.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Initialize(vtkGraph *g, vtkIdType v)
Initialize the iterator with a graph and vertex.
Base class for graph data types.