vtkInEdgeIterator

Section: Visualization Toolkit Filtering Classes

Usage

vtkInEdgeIterator iterates through all edges whose target 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 vtkInEdgeType structure, which contains Id, the edge's id, and Source, the edge's source vertex.

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

  obj = vtkInEdgeIterator

Methods

The class vtkInEdgeIterator 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 vtkInEdgeIterator class.