Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkVertexListIterator, simply invoke its constructor as follows
obj = vtkVertexListIterator
obj
is an instance of the vtkVertexListIterator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkVertexListIterator = obj.NewInstance ()
vtkVertexListIterator = obj.SafeDownCast (vtkObject o)
obj.SetGraph (vtkGraph graph)
- Setup the iterator with a graph.
vtkGraph = obj.GetGraph ()
- Get the graph associated with this iterator.
vtkIdType = obj.Next ()
- Whether this iterator has more edges.
bool = obj.HasNext ()