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
vtkBoxLayoutStrategy Class Reference

a tree map layout that puts vertices in square-ish boxes More...

#include <vtkBoxLayoutStrategy.h>

Inheritance diagram for vtkBoxLayoutStrategy:
[legend]
Collaboration diagram for vtkBoxLayoutStrategy:
[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)
 
vtkBoxLayoutStrategyNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual 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 vtkBoxLayoutStrategyNew ()
 
static int IsTypeOf (const char *type)
 
static vtkBoxLayoutStrategySafeDownCast (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
 
 vtkBoxLayoutStrategy ()
 
 ~vtkBoxLayoutStrategy ()
 
- 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 tree map layout that puts vertices in square-ish boxes

vtkBoxLayoutStrategy recursively partitions the space for children vertices in a tree-map into square regions (or regions very close to a square).

Thanks:
Thanks to Brian Wylie from Sandia National Laboratories for creating this class.
Tests:
vtkBoxLayoutStrategy (Tests)

Definition at line 40 of file vtkBoxLayoutStrategy.h.

Member Typedef Documentation

Definition at line 45 of file vtkBoxLayoutStrategy.h.

Constructor & Destructor Documentation

vtkBoxLayoutStrategy::vtkBoxLayoutStrategy ( )
protected
vtkBoxLayoutStrategy::~vtkBoxLayoutStrategy ( )
protected

Member Function Documentation

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

Reimplemented from vtkTreeMapLayoutStrategy.

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

Reimplemented from vtkTreeMapLayoutStrategy.

vtkBoxLayoutStrategy* vtkBoxLayoutStrategy::NewInstance ( ) const
void vtkBoxLayoutStrategy::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkBoxLayoutStrategy::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: