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