Section: Visualization Toolkit Infovis Classes
.SECTION Thanks Slice and dice algorithm comes from: Shneiderman, B. 1992. Tree visualization with tree-maps: 2-d space-filling approach. ACM Trans. Graph. 11, 1 (Jan. 1992), 92-99.
To create an instance of class vtkSliceAndDiceLayoutStrategy, simply invoke its constructor as follows
obj = vtkSliceAndDiceLayoutStrategy
obj
is an instance of the vtkSliceAndDiceLayoutStrategy class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkSliceAndDiceLayoutStrategy = obj.NewInstance ()
vtkSliceAndDiceLayoutStrategy = obj.SafeDownCast (vtkObject o)
obj.Layout (vtkTree inputTree, vtkDataArray coordsArray, vtkDataArray sizeArray)
- Perform the layout of a tree and place the results as 4-tuples in
coordsArray (Xmin, Xmax, Ymin, Ymax).