VTK
|
Displays a tree as a tree map. More...
#include <vtkTreeMapView.h>
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 vtkTreeMapView * | New () |
static int | IsTypeOf (const char *type) |
static vtkTreeMapView * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkTreeMapView () | |
~vtkTreeMapView () | |
Protected Attributes | |
vtkSmartPointer < vtkBoxLayoutStrategy > | BoxLayout |
vtkSmartPointer < vtkSliceAndDiceLayoutStrategy > | SliceAndDiceLayout |
vtkSmartPointer < vtkSquarifyLayoutStrategy > | SquarifyLayout |
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.
Definition at line 44 of file vtkTreeMapView.h.
Reimplemented from vtkTreeAreaView.
Definition at line 48 of file vtkTreeMapView.h.
vtkTreeMapView::vtkTreeMapView | ( | ) | [protected] |
vtkTreeMapView::~vtkTreeMapView | ( | ) | [protected] |
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.
vtkSmartPointer<vtkBoxLayoutStrategy> vtkTreeMapView::BoxLayout [protected] |
Definition at line 72 of file vtkTreeMapView.h.
Definition at line 73 of file vtkTreeMapView.h.
Definition at line 74 of file vtkTreeMapView.h.