31 #ifndef __vtkRenderedTreeAreaRepresentation_h
32 #define __vtkRenderedTreeAreaRepresentation_h
69 virtual void SetAreaLabelArrayName(
const char*
name);
70 virtual const char* GetAreaLabelArrayName();
75 virtual void SetAreaSizeArrayName(
const char*
name);
76 virtual const char* GetAreaSizeArrayName();
82 virtual void SetAreaLabelPriorityArrayName(
const char*
name);
83 virtual const char* GetAreaLabelPriorityArrayName();
88 virtual void SetGraphEdgeLabelArrayName(
const char*
name)
90 virtual void SetGraphEdgeLabelArrayName(
const char*
name,
int idx);
91 virtual const char* GetGraphEdgeLabelArrayName()
93 virtual const char* GetGraphEdgeLabelArrayName(
int idx);
100 virtual void SetGraphEdgeLabelTextProperty(
vtkTextProperty* tp,
int idx);
109 vtkSetStringMacro(AreaHoverArrayName);
110 vtkGetStringMacro(AreaHoverArrayName);
115 virtual void SetAreaLabelVisibility(
bool vis);
116 virtual bool GetAreaLabelVisibility();
117 vtkBooleanMacro(AreaLabelVisibility,
bool);
128 virtual void SetGraphEdgeLabelVisibility(
bool vis)
130 virtual void SetGraphEdgeLabelVisibility(
bool vis,
int idx);
131 virtual bool GetGraphEdgeLabelVisibility()
133 virtual bool GetGraphEdgeLabelVisibility(
int idx);
134 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
139 void SetAreaColorArrayName(
const char*
name);
140 const char* GetAreaColorArrayName();
145 virtual void SetColorAreasByArray(
bool vis);
146 virtual bool GetColorAreasByArray();
147 vtkBooleanMacro(ColorAreasByArray,
bool);
152 virtual void SetGraphEdgeColorArrayName(
const char*
name)
154 virtual void SetGraphEdgeColorArrayName(
const char*
name,
int idx);
155 virtual const char* GetGraphEdgeColorArrayName()
157 virtual const char* GetGraphEdgeColorArrayName(
int idx);
162 virtual void SetGraphEdgeColorToSplineFraction()
164 virtual void SetGraphEdgeColorToSplineFraction(
int idx);
169 virtual void SetColorGraphEdgesByArray(
bool vis)
171 virtual void SetColorGraphEdgesByArray(
bool vis,
int idx);
172 virtual bool GetColorGraphEdgesByArray()
174 virtual bool GetColorGraphEdgesByArray(
int idx);
175 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
181 virtual void SetGraphHoverArrayName(
const char*
name)
183 virtual void SetGraphHoverArrayName(
const char*
name,
int idx);
184 virtual const char* GetGraphHoverArrayName()
186 virtual const char* GetGraphHoverArrayName(
int idx);
191 virtual void SetShrinkPercentage(
double value);
192 virtual double GetShrinkPercentage();
197 virtual void SetGraphBundlingStrength(
double strength)
199 virtual void SetGraphBundlingStrength(
double strength,
int idx);
200 virtual double GetGraphBundlingStrength()
202 virtual double GetGraphBundlingStrength(
int idx);
209 virtual void SetGraphSplineType(
int type,
int idx);
210 virtual int GetGraphSplineType(
int idx);
229 vtkSetMacro(UseRectangularCoordinates,
bool);
230 vtkGetMacro(UseRectangularCoordinates,
bool);
231 vtkBooleanMacro(UseRectangularCoordinates,
bool);
246 virtual void SetEdgeScalarBarVisibility(
bool b);
247 virtual bool GetEdgeScalarBarVisibility();
271 bool ValidIndex(
int idx);
273 void UpdateHoverHighlight(
vtkView* view,
int x,
int y);
302 vtkSetStringMacro(AreaSizeArrayNameInternal);
303 vtkGetStringMacro(AreaSizeArrayNameInternal);
305 vtkSetStringMacro(AreaColorArrayNameInternal);
306 vtkGetStringMacro(AreaColorArrayNameInternal);
308 vtkSetStringMacro(AreaLabelArrayNameInternal);
309 vtkGetStringMacro(AreaLabelArrayNameInternal);
311 vtkSetStringMacro(AreaLabelPriorityArrayNameInternal);
312 vtkGetStringMacro(AreaLabelPriorityArrayNameInternal);
314 vtkSetStringMacro(GraphEdgeColorArrayNameInternal);
315 vtkGetStringMacro(GraphEdgeColorArrayNameInternal);
317 vtkGetStringMacro(AreaHoverTextInternal);
318 vtkSetStringMacro(AreaHoverTextInternal);