39 #ifndef __vtkInteractorStyleTreeMapHover_h
40 #define __vtkInteractorStyleTreeMapHover_h
42 #include "vtkViewsInfovisModule.h"
43 #include "vtkInteractorStyleImage.h"
45 class vtkBalloonRepresentation;
51 class vtkWorldPointPicker;
58 void PrintSelf(ostream& os, vtkIndent indent);
77 vtkSetStringMacro(LabelField);
78 vtkGetStringMacro(LabelField);
85 void OnLeftButtonUp();
90 void HighLightItem(vtkIdType
id);
91 void HighLightCurrentSelectedItem();
94 virtual void SetInteractor(vtkRenderWindowInteractor *rwi);
97 void SetHighLightColor(
double r,
double g,
double b);
100 void SetSelectionLightColor(
double r,
double g,
double b);
104 void SetHighLightWidth(
double lw);
105 double GetHighLightWidth();
110 void SetSelectionWidth(
double lw);
111 double GetSelectionWidth();
123 vtkIdType GetTreeMapIdAtPos(
int x,
int y);
124 void GetBoundingBoxForTreeMapItem(vtkIdType
id,
float *binfo);
126 vtkWorldPointPicker* Picker;
127 vtkBalloonRepresentation* Balloon;
128 vtkActor *HighlightActor;
129 vtkActor *SelectionActor;
130 vtkPoints *HighlightPoints;
131 vtkPoints *SelectionPoints;
135 vtkIdType CurrentSelectedId;
layout a vtkTree into a tree map
converts a tree to a polygonal data representing a tree map
An interactor style for a tree map view.