|
VTK
|
abstract superclass for all tree map layout strategies More...
#include <vtkTreeMapLayoutStrategy.h>
Public Types | |
| typedef vtkAreaLayoutStrategy | Superclass |
Public Types inherited from vtkAreaLayoutStrategy | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| 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 () |
| virtual void | Layout (vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray)=0 |
Static Public Member Functions | |
| 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 |
| vtkTreeMapLayoutStrategy () | |
| ~vtkTreeMapLayoutStrategy () | |
| void | AddBorder (float *boxInfo) |
Protected Member Functions inherited from vtkAreaLayoutStrategy | |
| vtkAreaLayoutStrategy () | |
| ~vtkAreaLayoutStrategy () | |
Additional Inherited Members | |
Protected Attributes inherited from vtkAreaLayoutStrategy | |
| double | ShrinkPercentage |
abstract superclass for all tree map layout strategies
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
Definition at line 50 of file vtkTreeMapLayoutStrategy.h.
Definition at line 53 of file vtkTreeMapLayoutStrategy.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkAreaLayoutStrategy.
Reimplemented in vtkSquarifyLayoutStrategy, vtkSliceAndDiceLayoutStrategy, and vtkBoxLayoutStrategy.
|
static |
|
protectedvirtual |
Reimplemented from vtkAreaLayoutStrategy.
Reimplemented in vtkSquarifyLayoutStrategy, vtkSliceAndDiceLayoutStrategy, and vtkBoxLayoutStrategy.
| vtkTreeMapLayoutStrategy* vtkTreeMapLayoutStrategy::NewInstance | ( | ) | const |
| void vtkTreeMapLayoutStrategy::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
virtual |
Find the vertex at a certain location, or -1 if none found.
Implements vtkAreaLayoutStrategy.
|
protected |
1.8.6