VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkSliceAndDiceLayoutStrategy Class Reference

a horizontal and vertical slicing tree map layout More...

#include <vtkSliceAndDiceLayoutStrategy.h>

Inheritance diagram for vtkSliceAndDiceLayoutStrategy:
[legend]
Collaboration diagram for vtkSliceAndDiceLayoutStrategy:
[legend]

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)
 
vtkSliceAndDiceLayoutStrategyNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void Layout (vtkTree *inputTree, vtkDataArray *coordsArray, vtkDataArray *sizeArray)
 
- Public Member Functions inherited from vtkTreeMapLayoutStrategy
vtkTreeMapLayoutStrategyNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual vtkIdType FindVertex (vtkTree *tree, vtkDataArray *areaArray, float pnt[2])
 
- Public Member Functions inherited from vtkAreaLayoutStrategy
vtkAreaLayoutStrategyNewInstance () 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
vtkSliceAndDiceLayoutStrategy
New ()
 
static int IsTypeOf (const char *type)
 
static
vtkSliceAndDiceLayoutStrategy
SafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkTreeMapLayoutStrategy
static int IsTypeOf (const char *type)
 
static vtkTreeMapLayoutStrategySafeDownCast (vtkObjectBase *o)
 
- Static Public Member Functions inherited from vtkAreaLayoutStrategy
static int IsTypeOf (const char *type)
 
static vtkAreaLayoutStrategySafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkSliceAndDiceLayoutStrategy ()
 
 ~vtkSliceAndDiceLayoutStrategy ()
 
- 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
 

Detailed Description

a horizontal and vertical slicing tree map layout

Lays out a tree-map alternating between horizontal and vertical slices, taking into account the relative size of each vertex.

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.
Tests:
vtkSliceAndDiceLayoutStrategy (Tests)

Definition at line 42 of file vtkSliceAndDiceLayoutStrategy.h.

Member Typedef Documentation

Definition at line 47 of file vtkSliceAndDiceLayoutStrategy.h.

Constructor & Destructor Documentation

vtkSliceAndDiceLayoutStrategy::vtkSliceAndDiceLayoutStrategy ( )
protected
vtkSliceAndDiceLayoutStrategy::~vtkSliceAndDiceLayoutStrategy ( )
protected

Member Function Documentation

static vtkSliceAndDiceLayoutStrategy* vtkSliceAndDiceLayoutStrategy::New ( )
static
static int vtkSliceAndDiceLayoutStrategy::IsTypeOf ( const char *  type)
static
virtual int vtkSliceAndDiceLayoutStrategy::IsA ( const char *  type)
virtual

Reimplemented from vtkTreeMapLayoutStrategy.

static vtkSliceAndDiceLayoutStrategy* vtkSliceAndDiceLayoutStrategy::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkSliceAndDiceLayoutStrategy::NewInstanceInternal ( ) const
protectedvirtual

Reimplemented from vtkTreeMapLayoutStrategy.

vtkSliceAndDiceLayoutStrategy* vtkSliceAndDiceLayoutStrategy::NewInstance ( ) const
void vtkSliceAndDiceLayoutStrategy::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void vtkSliceAndDiceLayoutStrategy::Layout ( vtkTree *  inputTree,
vtkDataArray *  coordsArray,
vtkDataArray *  sizeArray 
)
virtual

Perform the layout of a tree and place the results as 4-tuples in coordsArray (Xmin, Xmax, Ymin, Ymax).

Implements vtkAreaLayoutStrategy.


The documentation for this class was generated from the following file: