22#ifndef vtkInEdgeIterator_h 
   23#define vtkInEdgeIterator_h 
   25#include "vtkCommonDataModelModule.h"  
   30VTK_ABI_NAMESPACE_BEGIN
 
   77  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