vtkTreeMapView Class Reference

#include <vtkTreeMapView.h>

Inheritance diagram for vtkTreeMapView:

Inheritance graph
[legend]
Collaboration diagram for vtkTreeMapView:

Collaboration graph
[legend]

List of all members.


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 55 of file vtkTreeMapView.h.


Public Types

typedef vtkRenderView Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetupRenderWindow (vtkRenderWindow *win)
virtual void ApplyViewTheme (vtkViewTheme *theme)
void SetColorArrayName (const char *name)
const char * GetColorArrayName ()
void SetSizeArrayName (const char *name)
const char * GetSizeArrayName ()
void SetLabelArrayName (const char *name)
const char * GetLabelArrayName ()
void SetHoverArrayName (const char *name)
const char * GetHoverArrayName ()
void SetLayoutStrategy (const char *name)
void SetLayoutStrategyToBox ()
void SetLayoutStrategyToSliceAndDice ()
void SetLayoutStrategyToSquarify ()
void SetBorderPercentage (double pcent)
double GetBorderPercentage ()
void SetFontSizeRange (const int maxSize, const int minSize, const int delta=4)
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 ()
virtual void AddInputConnection (vtkAlgorithmOutput *conn)
virtual void RemoveInputConnection (vtkAlgorithmOutput *conn)
virtual void PrepareForRendering ()
virtual void ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData)
virtual void SetColorArrayNameInternal (const char *)
virtual char * GetColorArrayNameInternal ()

Protected Attributes

char * ColorArrayNameInternal
vtkTreeLevelsFilterTreeLevelsFilter
vtkTreeFieldAggregatorTreeFieldAggregator
vtkTreeMapLayoutTreeMapLayout
vtkBoxLayoutStrategyBoxLayout
vtkSliceAndDiceLayoutStrategySliceAndDiceLayout
vtkSquarifyLayoutStrategySquarifyLayout
vtkTreeMapToPolyDataTreeMapToPolyData
vtkPolyDataMapperTreeMapMapper
vtkActorTreeMapActor
vtkLabeledTreeMapDataMapperLabelMapper
vtkActor2DLabelActor
vtkLookupTableColorLUT

Member Typedef Documentation

Reimplemented from vtkRenderView.

Definition at line 59 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 vtkRenderView.

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

Reimplemented from vtkRenderView.

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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkRenderView.

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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkRenderView.

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

Reimplemented from vtkRenderView.

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

void vtkTreeMapView::SetColorArrayName ( const char *  name  ) 

The name of the array used to color the treemap.

const char* vtkTreeMapView::GetColorArrayName (  ) 

The name of the array used to color the treemap.

void vtkTreeMapView::SetSizeArrayName ( const char *  name  ) 

The name of the array used to size the treemap rectangles.

const char* vtkTreeMapView::GetSizeArrayName (  ) 

The name of the array used to size the treemap rectangles.

void vtkTreeMapView::SetLabelArrayName ( const char *  name  ) 

The name of the array used to label the treemap. This must be a string array.

const char* vtkTreeMapView::GetLabelArrayName (  ) 

The name of the array used to label the treemap. This must be a string array.

void vtkTreeMapView::SetHoverArrayName ( const char *  name  ) 

The name of the array whose value appears when the mouse hovers over a rectangle in the treemap. This must be a string array.

const char* vtkTreeMapView::GetHoverArrayName (  ) 

The name of the array whose value appears when the mouse hovers over a rectangle in the treemap. This must be a string array.

void vtkTreeMapView::SetLayoutStrategy ( const char *  name  ) 

Sets the treemap layout strategy

void vtkTreeMapView::SetLayoutStrategyToBox (  ) 

Sets the treemap layout strategy

void vtkTreeMapView::SetLayoutStrategyToSliceAndDice (  ) 

Sets the treemap layout strategy

void vtkTreeMapView::SetLayoutStrategyToSquarify (  ) 

Sets the treemap layout strategy

void vtkTreeMapView::SetBorderPercentage ( double  pcent  ) 

Sets the amount of border around child rectangles. The percentage should be between 0 and 1.

double vtkTreeMapView::GetBorderPercentage (  ) 

Sets the amount of border around child rectangles. The percentage should be between 0 and 1.

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

The sizes of the fonts used for labeling.

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

The sizes of the fonts used for labeling.

virtual void vtkTreeMapView::SetupRenderWindow ( vtkRenderWindow win  )  [virtual]

Sets up interactor style.

Reimplemented from vtkRenderView.

virtual void vtkTreeMapView::ApplyViewTheme ( vtkViewTheme theme  )  [virtual]

Apply the theme to this view.

Reimplemented from vtkRenderView.

virtual void vtkTreeMapView::AddInputConnection ( vtkAlgorithmOutput conn  )  [protected, virtual]

Connects the algorithm output to the internal pipeline.

virtual void vtkTreeMapView::RemoveInputConnection ( vtkAlgorithmOutput conn  )  [protected, virtual]

Disconnects the algorithm output from the internal pipeline.

virtual void vtkTreeMapView::ProcessEvents ( vtkObject caller,
unsigned long  eventId,
void *  callData 
) [protected, virtual]

Called to process the user event from the interactor style.

Reimplemented from vtkRenderView.

virtual void vtkTreeMapView::PrepareForRendering (  )  [protected, virtual]

Prepares the view for rendering.

Reimplemented from vtkRenderView.

virtual void vtkTreeMapView::SetColorArrayNameInternal ( const char *   )  [protected, virtual]

Gets the internal color array name.

virtual char* vtkTreeMapView::GetColorArrayNameInternal (  )  [protected, virtual]

Gets the internal color array name.


Member Data Documentation

Definition at line 137 of file vtkTreeMapView.h.

Definition at line 142 of file vtkTreeMapView.h.

Definition at line 143 of file vtkTreeMapView.h.

Definition at line 144 of file vtkTreeMapView.h.

Definition at line 145 of file vtkTreeMapView.h.

Definition at line 146 of file vtkTreeMapView.h.

Definition at line 147 of file vtkTreeMapView.h.

Definition at line 148 of file vtkTreeMapView.h.

Definition at line 149 of file vtkTreeMapView.h.

Definition at line 150 of file vtkTreeMapView.h.

Definition at line 151 of file vtkTreeMapView.h.

Definition at line 152 of file vtkTreeMapView.h.

Definition at line 153 of file vtkTreeMapView.h.


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

Generated on Sat Dec 27 13:55:25 2008 for VTK by  doxygen 1.5.6