Section: Visualization Toolkit Infovis Classes
To create an instance of class vtkPassThroughLayoutStrategy, simply invoke its constructor as follows
obj = vtkPassThroughLayoutStrategy
obj
is an instance of the vtkPassThroughLayoutStrategy class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkPassThroughLayoutStrategy = obj.NewInstance ()
vtkPassThroughLayoutStrategy = obj.SafeDownCast (vtkObject o)
obj.Initialize ()
- This strategy sets up some data structures
for faster processing of each Layout() call
obj.Layout ()
- This is the layout method where the graph that was
set in SetGraph() is laid out. The method can either
entirely layout the graph or iteratively lay out the
graph. If you have an iterative layout please implement
the IsLayoutComplete() method.
int = obj.IsLayoutComplete ()