vtkOutEdgeIterator

Section: Visualization Toolkit Filtering Classes

Usage

vtkOutEdgeIterator iterates through all edges whose source is a particular vertex. Instantiate this class directly and call Initialize() to traverse the vertex of a graph. Alternately, use GetInEdges() on the graph to initialize the iterator. it->Next() returns a vtkOutEdgeType structure, which contains Id, the edge's id, and Target, the edge's target vertex.

To create an instance of class vtkOutEdgeIterator, simply invoke its constructor as follows

  obj = vtkOutEdgeIterator

Methods

The class vtkOutEdgeIterator has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj is an instance of the vtkOutEdgeIterator class.