Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkAdjacentVertexIterator, simply invoke its constructor as follows
obj = vtkAdjacentVertexIterator
obj
is an instance of the vtkAdjacentVertexIterator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkAdjacentVertexIterator = obj.NewInstance ()
vtkAdjacentVertexIterator = 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.
vtkIdType = obj.Next ()
- Whether this iterator has more edges.
bool = obj.HasNext ()