Go to the documentation of this file.
40 #ifndef vtkTreeAreaView_h
41 #define vtkTreeAreaView_h
43 #include "vtkViewsInfovisModule.h"
119 vtkBooleanMacro(AreaLabelVisibility,
bool);
128 vtkBooleanMacro(EdgeLabelVisibility,
bool);
145 vtkBooleanMacro(ColorAreas,
bool);
175 vtkBooleanMacro(ColorEdges,
bool);
216 vtkBooleanMacro(UseRectangularCoordinates,
bool);
virtual int GetEdgeLabelFontSize()
double GetShrinkPercentage()
const char * GetAreaHoverArrayName()
void SetColorAreas(bool vis)
Whether to color vertices.
A view containing a renderer.
static vtkTreeAreaView * New()
virtual void SetAreaToPolyData(vtkPolyDataAlgorithm *areaToPoly)
The filter for converting areas to polydata.
virtual vtkPolyDataAlgorithm * GetAreaToPolyData()
vtkDataRepresentation * SetTreeFromInput(vtkTree *input)
virtual void SetLayoutStrategy(vtkAreaLayoutStrategy *strategy)
The layout strategy for producing spatial regions for the tree.
void SetAreaLabelVisibility(bool vis)
Whether to show area labels.
virtual void SetEdgeLabelFontSize(const int size)
The size of the font used for edge labeling.
const char * GetAreaColorArrayName()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetEdgeLabelVisibility(bool vis)
Whether to show edge labels.
virtual bool GetEdgeScalarBarVisibility()
virtual int GetAreaLabelFontSize()
const char * GetEdgeLabelArrayName()
vtkDataRepresentation * CreateDefaultRepresentation(vtkAlgorithmOutput *conn) override
Overrides behavior in vtkView to create a vtkRenderedGraphRepresentation by default.
void SetEdgeColorToSplineFraction()
Set the color to be the spline fraction.
void SetAreaHoverArrayName(const char *name)
The name of the array whose value appears when the mouse hovers over a rectangle in the treemap.
const char * GetAreaLabelArrayName()
A rooted tree data structure.
void SetBundlingStrength(double strength)
Set the bundling strength.
bool GetEdgeLabelVisibility()
const char * GetLabelPriorityArrayName()
virtual void SetAreaLabelMapper(vtkLabeledDataMapper *mapper)
The mapper for rendering labels on areas.
The superclass for all representations.
a simple class to control print indentation
void SetAreaSizeArrayName(const char *name)
The array to use for area sizes.
vtkDataRepresentation * SetTreeFromInputConnection(vtkAlgorithmOutput *conn)
Set the tree and graph representations to the appropriate input ports.
virtual void SetAreaLabelFontSize(const int size)
The size of the font used for area labeling.
virtual vtkAreaLayoutStrategy * GetLayoutStrategy()
void SetAreaColorArrayName(const char *name)
The array to use for coloring vertices.
virtual void SetUseRectangularCoordinates(bool rect)
Whether the area represents radial or rectangular coordinates.
bool GetAreaLabelVisibility()
vtkDataRepresentation * SetGraphFromInput(vtkGraph *input)
void SetColorEdges(bool vis)
Whether to color edges.
void SetLabelPriorityArrayName(const char *name)
The array to use for area labeling priority.
virtual vtkRenderedTreeAreaRepresentation * GetTreeAreaRepresentation()
draw text labels at dataset points
const char * GetEdgeColorArrayName()
virtual vtkLabeledDataMapper * GetAreaLabelMapper()
void SetEdgeColorArrayName(const char *name)
The array to use for coloring edges.
Proxy object to connect input/output ports.
void SetAreaLabelArrayName(const char *name)
The array to use for area labeling.
vtkDataRepresentation * SetGraphFromInputConnection(vtkAlgorithmOutput *conn)
const char * GetAreaSizeArrayName()
double GetBundlingStrength()
~vtkTreeAreaView() override
Base class for graph data types.
abstract superclass for all area layout strategies
virtual void SetEdgeScalarBarVisibility(bool b)
Visibility of scalar bar actor for edges.
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display.
void SetShrinkPercentage(double value)
Set the region shrink percentage between 0.0 and 1.0.
virtual bool GetUseRectangularCoordinates()
void SetEdgeLabelArrayName(const char *name)
The array to use for edge labeling.
Superclass for algorithms that produce only polydata as output.