31 #ifndef __vtkRenderedTreeAreaRepresentation_h
32 #define __vtkRenderedTreeAreaRepresentation_h
34 #include "vtkViewsInfovisModule.h"
70 virtual void SetAreaLabelArrayName(
const char*
name);
71 virtual const char* GetAreaLabelArrayName();
76 virtual void SetAreaSizeArrayName(
const char*
name);
77 virtual const char* GetAreaSizeArrayName();
83 virtual void SetAreaLabelPriorityArrayName(
const char*
name);
84 virtual const char* GetAreaLabelPriorityArrayName();
89 virtual void SetGraphEdgeLabelArrayName(
const char*
name)
91 virtual void SetGraphEdgeLabelArrayName(
const char*
name,
int idx);
92 virtual const char* GetGraphEdgeLabelArrayName()
94 virtual const char* GetGraphEdgeLabelArrayName(
int idx);
101 virtual void SetGraphEdgeLabelTextProperty(
vtkTextProperty* tp,
int idx);
110 vtkSetStringMacro(AreaHoverArrayName);
116 virtual void SetAreaLabelVisibility(
bool vis);
117 virtual bool GetAreaLabelVisibility();
118 vtkBooleanMacro(AreaLabelVisibility,
bool);
129 virtual void SetGraphEdgeLabelVisibility(
bool vis)
131 virtual void SetGraphEdgeLabelVisibility(
bool vis,
int idx);
132 virtual bool GetGraphEdgeLabelVisibility()
134 virtual bool GetGraphEdgeLabelVisibility(
int idx);
135 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
140 void SetAreaColorArrayName(
const char*
name);
141 const char* GetAreaColorArrayName();
146 virtual void SetColorAreasByArray(
bool vis);
147 virtual bool GetColorAreasByArray();
148 vtkBooleanMacro(ColorAreasByArray,
bool);
153 virtual void SetGraphEdgeColorArrayName(
const char*
name)
155 virtual void SetGraphEdgeColorArrayName(
const char*
name,
int idx);
156 virtual const char* GetGraphEdgeColorArrayName()
158 virtual const char* GetGraphEdgeColorArrayName(
int idx);
163 virtual void SetGraphEdgeColorToSplineFraction()
165 virtual void SetGraphEdgeColorToSplineFraction(
int idx);
170 virtual void SetColorGraphEdgesByArray(
bool vis)
172 virtual void SetColorGraphEdgesByArray(
bool vis,
int idx);
173 virtual bool GetColorGraphEdgesByArray()
175 virtual bool GetColorGraphEdgesByArray(
int idx);
176 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
182 virtual void SetGraphHoverArrayName(
const char*
name)
184 virtual void SetGraphHoverArrayName(
const char*
name,
int idx);
185 virtual const char* GetGraphHoverArrayName()
187 virtual const char* GetGraphHoverArrayName(
int idx);
192 virtual void SetShrinkPercentage(
double value);
193 virtual double GetShrinkPercentage();
198 virtual void SetGraphBundlingStrength(
double strength)
200 virtual void SetGraphBundlingStrength(
double strength,
int idx);
201 virtual double GetGraphBundlingStrength()
203 virtual double GetGraphBundlingStrength(
int idx);
210 virtual void SetGraphSplineType(
int type,
int idx);
211 virtual int GetGraphSplineType(
int idx);
230 vtkSetMacro(UseRectangularCoordinates,
bool);
231 vtkGetMacro(UseRectangularCoordinates,
bool);
232 vtkBooleanMacro(UseRectangularCoordinates,
bool);
247 virtual void SetEdgeScalarBarVisibility(
bool b);
248 virtual bool GetEdgeScalarBarVisibility();
272 bool ValidIndex(
int idx);
274 void UpdateHoverHighlight(
vtkView* view,
int x,
int y);
303 vtkSetStringMacro(AreaSizeArrayNameInternal);
306 vtkSetStringMacro(AreaColorArrayNameInternal);
309 vtkSetStringMacro(AreaLabelArrayNameInternal);
312 vtkSetStringMacro(AreaLabelPriorityArrayNameInternal);
315 vtkSetStringMacro(GraphEdgeColorArrayNameInternal);
319 vtkSetStringMacro(AreaHoverTextInternal);