VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkTreeMapLayoutStrategy Class Reference

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

#include <vtkTreeMapLayoutStrategy.h>

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

List of all members.

Public Types

typedef vtkAreaLayoutStrategy 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])

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkTreeMapLayoutStrategySafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTreeMapLayoutStrategy ()
 ~vtkTreeMapLayoutStrategy ()
void AddBorder (float *boxInfo)

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


Constructor & Destructor Documentation


Member Function Documentation

static int vtkTreeMapLayoutStrategy::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAreaLayoutStrategy.

Reimplemented in vtkSquarifyLayoutStrategy, vtkSliceAndDiceLayoutStrategy, and vtkBoxLayoutStrategy.

virtual int vtkTreeMapLayoutStrategy::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkAreaLayoutStrategy.

Reimplemented in vtkSquarifyLayoutStrategy, vtkSliceAndDiceLayoutStrategy, and vtkBoxLayoutStrategy.

virtual vtkObjectBase* vtkTreeMapLayoutStrategy::NewInstanceInternal ( ) const [protected, virtual]
void vtkTreeMapLayoutStrategy::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkAreaLayoutStrategy.

Reimplemented in vtkSquarifyLayoutStrategy, vtkSliceAndDiceLayoutStrategy, and vtkBoxLayoutStrategy.

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: