29 #ifndef vtkTanglegramItem_h 30 #define vtkTanglegramItem_h 32 #include "vtkViewsInfovisModule.h" 53 virtual void SetTree1(
vtkTree *tree);
58 virtual void SetTree2(
vtkTree *tree);
79 vtkSetStringMacro(Tree1Label);
87 vtkSetStringMacro(Tree2Label);
108 vtkGetMacro(MinimumVisibleFontSize,
int);
119 vtkGetMacro(LabelSizeDifference,
int);
127 vtkGetMacro(CorrespondenceLineWidth,
float);
135 float GetTreeLineWidth();
136 void SetTreeLineWidth(
float width);
162 void PositionTree2();
199 void GenerateLookupTable();
214 double Tree1Bounds[4];
215 double Tree2Bounds[4];
224 int MinimumVisibleFontSize;
225 int LabelSizeDifference;
226 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.
map scalar values into colors via a lookup table
a vtkAbstractArray subclass for strings
Hold a reference to a vtkObjectBase instance.
Class for drawing 2D primitives to a graphical context.
data structure to represent mouse events.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
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.
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.