31 #ifndef vtkTanglegramItem_h
32 #define vtkTanglegramItem_h
53 virtual void SetTree1(
vtkTree *tree);
56 virtual void SetTree2(
vtkTree *tree);
71 vtkGetStringMacro(Tree1Label);
72 vtkSetStringMacro(Tree1Label);
77 vtkGetStringMacro(Tree2Label);
78 vtkSetStringMacro(Tree2Label);
93 vtkGetMacro(MinimumVisibleFontSize,
int);
94 vtkSetMacro(MinimumVisibleFontSize,
int);
102 vtkGetMacro(LabelSizeDifference,
int);
103 vtkSetMacro(LabelSizeDifference,
int);
109 vtkGetMacro(CorrespondenceLineWidth,
float);
110 vtkSetMacro(CorrespondenceLineWidth,
float);
116 float GetTreeLineWidth();
117 void SetTreeLineWidth(
float width);
139 void PositionTree2();
164 void GenerateLookupTable();
177 double Tree1Bounds[4];
178 double Tree2Bounds[4];
187 int MinimumVisibleFontSize;
188 int LabelSizeDifference;
189 float CorrespondenceLineWidth;
Display two related trees.
A 2D graphics item for rendering a tree as a dendrogram.
base class for items that are part of a vtkContextScene.
virtual bool Paint(vtkContext2D *painter)
map scalar values into colors via a lookup table
a vtkAbstractArray subclass for strings
Class for drawing 2D primitives to a graphical context.
data structure to represent mouse events.
a simple class to control print indentation
A table, which contains similar-typed columns of data.
virtual bool Hit(const vtkContextMouseEvent &mouse)
virtual void PrintSelf(ostream &os, vtkIndent indent)
A rooted tree data structure.
virtual bool MouseDoubleClickEvent(const vtkContextMouseEvent &mouse)
#define VTKVIEWSINFOVIS_EXPORT