|
VTK
|
uses the squarify tree map layout algorithm More...
#include <vtkSquarifyLayoutStrategy.h>
Public Types | |
| typedef vtkTreeMapLayoutStrategy | Superclass |
Public Types inherited from vtkTreeMapLayoutStrategy | |
| typedef vtkAreaLayoutStrategy | Superclass |
Public Types inherited from vtkAreaLayoutStrategy | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkSquarifyLayoutStrategy * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| void | Layout (vtkTree *inputTree, vtkDataArray *coordsArray, vtkDataArray *sizeArray) |
Public Member Functions inherited from vtkTreeMapLayoutStrategy | |
| vtkTreeMapLayoutStrategy * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkIdType | FindVertex (vtkTree *tree, vtkDataArray *areaArray, float pnt[2]) |
Public Member Functions inherited from vtkAreaLayoutStrategy | |
| vtkAreaLayoutStrategy * | NewInstance () const |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual void | LayoutEdgePoints (vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray, vtkTree *edgeLayoutTree) |
| virtual void | SetShrinkPercentage (double) |
| virtual double | GetShrinkPercentage () |
Static Public Member Functions | |
| static vtkSquarifyLayoutStrategy * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkSquarifyLayoutStrategy * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkTreeMapLayoutStrategy | |
| static int | IsTypeOf (const char *type) |
| static vtkTreeMapLayoutStrategy * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkAreaLayoutStrategy | |
| static int | IsTypeOf (const char *type) |
| static vtkAreaLayoutStrategy * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkSquarifyLayoutStrategy () | |
| ~vtkSquarifyLayoutStrategy () | |
Protected Member Functions inherited from vtkTreeMapLayoutStrategy | |
| vtkTreeMapLayoutStrategy () | |
| ~vtkTreeMapLayoutStrategy () | |
| void | AddBorder (float *boxInfo) |
Protected Member Functions inherited from vtkAreaLayoutStrategy | |
| vtkAreaLayoutStrategy () | |
| ~vtkAreaLayoutStrategy () | |
Additional Inherited Members | |
Protected Attributes inherited from vtkAreaLayoutStrategy | |
| double | ShrinkPercentage |
uses the squarify tree map layout algorithm
vtkSquarifyLayoutStrategy partitions the space for child vertices into regions that use all available space and are as close to squares as possible. The algorithm also takes into account the relative vertex size.
Definition at line 47 of file vtkSquarifyLayoutStrategy.h.
Definition at line 51 of file vtkSquarifyLayoutStrategy.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkTreeMapLayoutStrategy.
|
static |
|
protectedvirtual |
Reimplemented from vtkTreeMapLayoutStrategy.
| vtkSquarifyLayoutStrategy* vtkSquarifyLayoutStrategy::NewInstance | ( | ) | const |
| void vtkSquarifyLayoutStrategy::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
virtual |
Perform the layout of a tree and place the results as 4-tuples in coordsArray (Xmin, Xmax, Ymin, Ymax).
Implements vtkAreaLayoutStrategy.
1.8.6