#include <vtkTreeMapViewer.h>
vtkTreeMapViewer is a convenience class for displaying a 2D TreeMap. It packages up the functionality found in vtkRenderWindow, vtkRenderer, and vtkActor into a single easy to use class. This class also creates an image interactor style(vtkInteractorStyleImage) that allows zooming and panning of the tree map.
Definition at line 67 of file vtkTreeMapViewer.h.
anonymous enum |
Definition at line 96 of file vtkTreeMapViewer.h.
vtkTreeMapViewer::vtkTreeMapViewer | ( | ) | [protected] |
vtkTreeMapViewer::~vtkTreeMapViewer | ( | ) | [protected] |
static vtkTreeMapViewer* vtkTreeMapViewer::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkTreeMapViewer::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
static int vtkTreeMapViewer::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 vtkObject.
virtual int vtkTreeMapViewer::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 vtkObject.
static vtkTreeMapViewer* vtkTreeMapViewer::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
void vtkTreeMapViewer::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
virtual void vtkTreeMapViewer::SetInput | ( | vtkTree * | arg | ) | [virtual] |
Set the input data to the viewer.
virtual void vtkTreeMapViewer::SetRenderWindow | ( | vtkRenderWindow * | arg | ) | [virtual] |
Set your own renderwindow
virtual vtkRenderWindow* vtkTreeMapViewer::GetRenderWindow | ( | ) | [virtual] |
Set your own renderwindow
virtual void vtkTreeMapViewer::SetAggregationFieldName | ( | const char * | field | ) | [virtual] |
Set the aggregration field (defaults to "size")
virtual char* vtkTreeMapViewer::GetAggregationFieldName | ( | ) | [virtual] |
Set the aggregration field (defaults to "size")
virtual vtkInteractorStyleTreeMapHover* vtkTreeMapViewer::GetInteractorStyle | ( | ) | [virtual] |
Get the Interactor Style object pointer
virtual void vtkTreeMapViewer::SetLayoutStrategy | ( | int | strategy | ) | [virtual] |
Set layout strategy for the tree map
void vtkTreeMapViewer::SetLayoutStrategyToBox | ( | ) | [inline] |
Set layout strategy for the tree map
Definition at line 107 of file vtkTreeMapViewer.h.
void vtkTreeMapViewer::SetLayoutStrategyToSliceAndDice | ( | ) | [inline] |
Set layout strategy for the tree map
Definition at line 108 of file vtkTreeMapViewer.h.
void vtkTreeMapViewer::SetLayoutStrategyToSquarify | ( | ) | [inline] |
Set layout strategy for the tree map
Definition at line 111 of file vtkTreeMapViewer.h.
virtual int vtkTreeMapViewer::GetLayoutStrategy | ( | ) | [virtual] |
Set layout strategy for the tree map
void vtkTreeMapViewer::SetBorderPercentage | ( | double | pcent | ) |
Get/Set the fraction of the treemap box to use in the border.
double vtkTreeMapViewer::GetBorderPercentage | ( | ) |
Get/Set the fraction of the treemap box to use in the border.
virtual void vtkTreeMapViewer::SetLayoutStrategy | ( | const char * | layoutType | ) | [virtual] |
These convenience functions use strings for use in GUIs and scripts.
static const char* vtkTreeMapViewer::GetLayoutStrategyName | ( | int | strategy | ) | [static] |
These convenience functions use strings for use in GUIs and scripts.
virtual void vtkTreeMapViewer::SetColorFieldName | ( | const char * | field | ) | [virtual] |
The name of the field used for coloring the data
virtual char* vtkTreeMapViewer::GetColorFieldName | ( | ) | [virtual] |
The name of the field used for coloring the data
virtual void vtkTreeMapViewer::SetLabelFieldName | ( | const char * | field | ) | [virtual] |
The name of the field used for labeling
virtual char* vtkTreeMapViewer::GetLabelFieldName | ( | ) | [virtual] |
The name of the field used for labeling
virtual void vtkTreeMapViewer::SetFontSizeRange | ( | const int | maxSize, | |
const int | minSize | |||
) | [virtual] |
The sizes of the fonts used for labeling
bool vtkTreeMapViewer::GetLogScale | ( | ) |
Set whether the tree map uses a logarithmic scaling of sizes.
void vtkTreeMapViewer::SetLogScale | ( | bool | value | ) |
Set whether the tree map uses a logarithmic scaling of sizes.
void vtkTreeMapViewer::HighLightItem | ( | vtkIdType | id | ) |
Highlight the tree item that matches the pedigree id
void vtkTreeMapViewer::SetLabelLevelRange | ( | int | start, | |
int | end | |||
) |
Get/Set the range of levels to attempt to label. The level of a vertex is the length of the path to the root (the root has level 0).
void vtkTreeMapViewer::GetLabelLevelRange | ( | int | range[2] | ) |
Get/Set the range of levels to attempt to label. The level of a vertex is the length of the path to the root (the root has level 0).
void vtkTreeMapViewer::SetDynamicLabelLevel | ( | int | level | ) |
Get/Set the level at which treemap labeling is dynamic.
int vtkTreeMapViewer::GetDynamicLabelLevel | ( | ) |
Get/Set the level at which treemap labeling is dynamic.
void vtkTreeMapViewer::SetChildLabelMotion | ( | int | mode | ) |
Get/Set whether the label may be moved by its ancestors.
int vtkTreeMapViewer::GetChildLabelMotion | ( | ) |
Get/Set whether the label may be moved by its ancestors.
void vtkTreeMapViewer::SetLabelClipMode | ( | int | mode | ) |
Get/Set if the label can be displayed clipped by the window. 0 - ok to clip labels 1 - auto center labels w/r to the area of the vertex's clipped region
int vtkTreeMapViewer::GetLabelClipMode | ( | ) |
Get/Set if the label can be displayed clipped by the window. 0 - ok to clip labels 1 - auto center labels w/r to the area of the vertex's clipped region
virtual void vtkTreeMapViewer::SetupPipeline | ( | ) | [protected, virtual] |
Setup the internal pipeline for the tree map view
vtkTree* vtkTreeMapViewer::Input [protected] |
Definition at line 189 of file vtkTreeMapViewer.h.
vtkRenderWindow* vtkTreeMapViewer::RenderWindow [protected] |
Definition at line 190 of file vtkTreeMapViewer.h.
Definition at line 191 of file vtkTreeMapViewer.h.
Definition at line 193 of file vtkTreeMapViewer.h.
Definition at line 194 of file vtkTreeMapViewer.h.
Definition at line 195 of file vtkTreeMapViewer.h.
Definition at line 196 of file vtkTreeMapViewer.h.
Definition at line 197 of file vtkTreeMapViewer.h.
vtkSmartPointer<vtkRenderer> vtkTreeMapViewer::Renderer [protected] |
Definition at line 198 of file vtkTreeMapViewer.h.
vtkSmartPointer<vtkActor> vtkTreeMapViewer::Actor [protected] |
Definition at line 199 of file vtkTreeMapViewer.h.
vtkSmartPointer<vtkActor2D> vtkTreeMapViewer::LabelActor [protected] |
Definition at line 200 of file vtkTreeMapViewer.h.
vtkSmartPointer<vtkLookupTable> vtkTreeMapViewer::ColorLUT [protected] |
Definition at line 201 of file vtkTreeMapViewer.h.
Definition at line 202 of file vtkTreeMapViewer.h.