FreeMat
|
Section: Visualization Toolkit Infovis Classes
All subclasses of this class perform a tree map layout on a tree. This involves assigning a rectangular region to each vertex in the tree, and placing that information in a data array with four components per tuple representing (Xmin, Xmax, Ymin, Ymax).
Instances of subclasses of this class may be assigned as the layout strategy to vtkTreeMapLayout
.SECTION Thanks Thanks to Brian Wylie and Ken Moreland from Sandia National Laboratories for help developing this class.
To create an instance of class vtkTreeMapLayoutStrategy, simply invoke its constructor as follows
obj = vtkTreeMapLayoutStrategy
The class vtkTreeMapLayoutStrategy has several methods that can be used. They are listed below. Note that the documentation is translated automatically from the VTK sources, and may not be completely intelligible. When in doubt, consult the VTK website. In the methods listed below, obj
is an instance of the vtkTreeMapLayoutStrategy class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkTreeMapLayoutStrategy = obj.NewInstance ()
vtkTreeMapLayoutStrategy = obj.SafeDownCast (vtkObject o)
vtkIdType = obj.FindVertex (vtkTree tree, vtkDataArray areaArray, float pnt[2])
- Find the vertex at a certain location, or -1 if none found.