Section: Visualization Toolkit Filtering Classes
To create an instance of class vtkGraphEdge, simply invoke its constructor as follows
obj = vtkGraphEdge
obj
is an instance of the vtkGraphEdge class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGraphEdge = obj.NewInstance ()
vtkGraphEdge = obj.SafeDownCast (vtkObject o)
obj.SetSource (vtkIdType )
- The source of the edge.
vtkIdType = obj.GetSource ()
- The source of the edge.
obj.SetTarget (vtkIdType )
- The target of the edge.
vtkIdType = obj.GetTarget ()
- The target of the edge.
obj.SetId (vtkIdType )
- The id of the edge.
vtkIdType = obj.GetId ()
- The id of the edge.