Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkInEdgeIterator, simply invoke its constructor as follows
obj = vtkInEdgeIterator
obj
is an instance of the vtkInEdgeIterator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkInEdgeIterator = obj.NewInstance ()
vtkInEdgeIterator = obj.SafeDownCast (vtkObject o)
obj.Initialize (vtkGraph g, vtkIdType v)
- Initialize the iterator with a graph and vertex.
vtkGraph = obj.GetGraph ()
- Get the graph and vertex associated with this iterator.
vtkIdType = obj.GetVertex ()
- Get the graph and vertex associated with this iterator.
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 ()