Section: Visualization Toolkit Filtering Classes
Note that this class does NOT guarantee that the edges will be processed in order of their ids (i.e. it will not necessarily return edge 0, then edge 1, etc.).
To create an instance of class vtkEdgeListIterator, simply invoke its constructor as follows
obj = vtkEdgeListIterator
obj
is an instance of the vtkEdgeListIterator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkEdgeListIterator = obj.NewInstance ()
vtkEdgeListIterator = obj.SafeDownCast (vtkObject o)
vtkGraph = obj.GetGraph ()
obj.SetGraph (vtkGraph graph)
vtkGraphEdge = obj.NextGraphEdge ()
- Just like Next(), but
returns heavy-weight vtkGraphEdge object instead of
the vtkEdgeType struct, for use with wrappers.
The graph edge is owned by this iterator, and changes
after each call to NextGraphEdge().
bool = obj.HasNext ()
- Whether this iterator has more edges.