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