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

abstract superclass for all tree map layout strategies More...

#include <vtkTreeMapLayoutStrategy.h>

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

Public Types

typedef vtkAreaLayoutStrategy Superclass
 
- Public Types inherited from vtkAreaLayoutStrategy
typedef vtkObject Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
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 ()
 
virtual void Layout (vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray)=0
 

Static Public Member Functions

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
 
 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

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

Thanks:
Thanks to Brian Wylie and Ken Moreland from Sandia National Laboratories for help developing this class.
Tests:
vtkTreeMapLayoutStrategy (Tests)

Definition at line 50 of file vtkTreeMapLayoutStrategy.h.

Member Typedef Documentation

Definition at line 53 of file vtkTreeMapLayoutStrategy.h.

Constructor & Destructor Documentation

vtkTreeMapLayoutStrategy::vtkTreeMapLayoutStrategy ( )
protected
vtkTreeMapLayoutStrategy::~vtkTreeMapLayoutStrategy ( )
protected

Member Function Documentation

static int vtkTreeMapLayoutStrategy::IsTypeOf ( const char *  type)
static
virtual int vtkTreeMapLayoutStrategy::IsA ( const char *  type)
virtual
static vtkTreeMapLayoutStrategy* vtkTreeMapLayoutStrategy::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkTreeMapLayoutStrategy::NewInstanceInternal ( ) const
protectedvirtual
vtkTreeMapLayoutStrategy* vtkTreeMapLayoutStrategy::NewInstance ( ) const
void vtkTreeMapLayoutStrategy::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual vtkIdType vtkTreeMapLayoutStrategy::FindVertex ( vtkTree *  tree,
vtkDataArray *  areaArray,
float  pnt[2] 
)
virtual

Find the vertex at a certain location, or -1 if none found.

Implements vtkAreaLayoutStrategy.

void vtkTreeMapLayoutStrategy::AddBorder ( float *  boxInfo)
protected

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