Section: Visualization Toolkit Infovis Classes
.SECION Thanks Thanks to Brian Wylie from Sandia National Laboratories for adding incremental layout capabilities.
To create an instance of class vtkGraphLayout, simply invoke its constructor as follows
obj = vtkGraphLayout
obj
is an instance of the vtkGraphLayout class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkGraphLayout = obj.NewInstance ()
vtkGraphLayout = obj.SafeDownCast (vtkObject o)
obj.SetLayoutStrategy (vtkGraphLayoutStrategy strategy)
- The layout strategy to use during graph layout.
vtkGraphLayoutStrategy = obj.GetLayoutStrategy ()
- The layout strategy to use during graph layout.
int = obj.IsLayoutComplete ()
- Ask the layout algorithm if the layout is complete
long = obj.GetMTime ()
- Get the modification time of the layout algorithm.
double = obj.GetZRange ()
- Set the ZRange for the output data.
If the initial layout is planar (i.e. all z coordinates are zero),
the coordinates will be evenly spaced from 0.0 to ZRange.
The default is zero, which has no effect.
obj.SetZRange (double )
- Set the ZRange for the output data.
If the initial layout is planar (i.e. all z coordinates are zero),
the coordinates will be evenly spaced from 0.0 to ZRange.
The default is zero, which has no effect.
vtkAbstractTransform = obj.GetTransform ()
- Transform the graph vertices after the layout.
obj.SetTransform (vtkAbstractTransform t)
- Transform the graph vertices after the layout.
obj.SetUseTransform (bool )
- Whether to use the specified transform after layout.
bool = obj.GetUseTransform ()
- Whether to use the specified transform after layout.
obj.UseTransformOn ()
- Whether to use the specified transform after layout.
obj.UseTransformOff ()
- Whether to use the specified transform after layout.