32 #ifndef vtkTanglegramItem_h
33 #define vtkTanglegramItem_h
35 #include "vtkViewsInfovisModule.h"
56 virtual void SetTree1(
vtkTree *tree);
61 virtual void SetTree2(
vtkTree *tree);
82 vtkSetStringMacro(Tree1Label);
90 vtkSetStringMacro(Tree2Label);
102 int GetOrientation();
111 vtkGetMacro(MinimumVisibleFontSize,
int);
122 vtkGetMacro(LabelSizeDifference,
int);
130 vtkGetMacro(CorrespondenceLineWidth,
float);
138 float GetTreeLineWidth();
139 void SetTreeLineWidth(
float width);
165 void PositionTree2();
202 void GenerateLookupTable();
217 double Tree1Bounds[4];
218 double Tree2Bounds[4];
227 int MinimumVisibleFontSize;
228 int LabelSizeDifference;
229 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)
Paint event for the item, called whenever the item needs to be drawn.
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
A table, which contains similar-typed columns of data.
virtual bool Hit(const vtkContextMouseEvent &mouse)
Return true if the supplied x, y coordinate is inside the item.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
A rooted tree data structure.
virtual bool MouseDoubleClickEvent(const vtkContextMouseEvent &mouse)
Mouse button double click event.