VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTreeMapView Class Reference

Displays a tree as a tree map. More...

#include <vtkTreeMapView.h>

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

List of all members.

Public Types

typedef vtkTreeAreaView Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetLayoutStrategy (vtkAreaLayoutStrategy *s)
virtual void SetLayoutStrategy (const char *name)
virtual void SetLayoutStrategyToBox ()
virtual void SetLayoutStrategyToSliceAndDice ()
virtual void SetLayoutStrategyToSquarify ()
virtual void SetFontSizeRange (const int maxSize, const int minSize, const int delta=4)
virtual void GetFontSizeRange (int range[3])

Static Public Member Functions

static vtkTreeMapViewNew ()
static int IsTypeOf (const char *type)
static vtkTreeMapViewSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkTreeMapView ()
 ~vtkTreeMapView ()

Protected Attributes

vtkSmartPointer
< vtkBoxLayoutStrategy
BoxLayout
vtkSmartPointer
< vtkSliceAndDiceLayoutStrategy
SliceAndDiceLayout
vtkSmartPointer
< vtkSquarifyLayoutStrategy
SquarifyLayout

Detailed Description

Displays a tree as a tree map.

vtkTreeMapView shows a vtkTree in a tree map, where each vertex in the tree is represented by a box. Child boxes are contained within the parent box, and may be colored and sized by various parameters.

Examples:
vtkTreeMapView (Examples)
Tests:
vtkTreeMapView (Tests)

Definition at line 44 of file vtkTreeMapView.h.


Member Typedef Documentation

Reimplemented from vtkTreeAreaView.

Definition at line 48 of file vtkTreeMapView.h.


Constructor & Destructor Documentation

vtkTreeMapView::vtkTreeMapView ( ) [protected]
vtkTreeMapView::~vtkTreeMapView ( ) [protected]

Member Function Documentation

static vtkTreeMapView* vtkTreeMapView::New ( ) [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkTreeAreaView.

virtual const char* vtkTreeMapView::GetClassName ( ) [virtual]

Reimplemented from vtkTreeAreaView.

static int vtkTreeMapView::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 vtkTreeAreaView.

virtual int vtkTreeMapView::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 vtkTreeAreaView.

static vtkTreeMapView* vtkTreeMapView::SafeDownCast ( vtkObject o) [static]

Reimplemented from vtkTreeAreaView.

void vtkTreeMapView::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 vtkTreeAreaView.

virtual void vtkTreeMapView::SetLayoutStrategy ( vtkAreaLayoutStrategy s) [virtual]

Sets the treemap layout strategy

Reimplemented from vtkTreeAreaView.

virtual void vtkTreeMapView::SetLayoutStrategy ( const char *  name) [virtual]

Sets the treemap layout strategy

virtual void vtkTreeMapView::SetLayoutStrategyToBox ( ) [virtual]

Sets the treemap layout strategy

virtual void vtkTreeMapView::SetLayoutStrategyToSliceAndDice ( ) [virtual]

Sets the treemap layout strategy

virtual void vtkTreeMapView::SetLayoutStrategyToSquarify ( ) [virtual]

Sets the treemap layout strategy

virtual void vtkTreeMapView::SetFontSizeRange ( const int  maxSize,
const int  minSize,
const int  delta = 4 
) [virtual]

The sizes of the fonts used for labeling.

virtual void vtkTreeMapView::GetFontSizeRange ( int  range[3]) [virtual]

The sizes of the fonts used for labeling.


Member Data Documentation

Definition at line 72 of file vtkTreeMapView.h.

Definition at line 73 of file vtkTreeMapView.h.

Definition at line 74 of file vtkTreeMapView.h.


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