41 #ifndef vtkHierarchicalGraphView_h
42 #define vtkHierarchicalGraphView_h
45 #include "vtkViewsInfovisModule.h"
80 vtkBooleanMacro(GraphEdgeLabelVisibility,
bool);
102 vtkBooleanMacro(ColorGraphEdgesByArray,
bool);
119 vtkBooleanMacro(GraphVisibility,
bool);
Proxy object to connect input/output ports.
general representation of visualization data
The superclass for all representations.
Lays out and displays a graph.
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display.
vtkDataRepresentation * SetHierarchyFromInput(vtkDataObject *input)
virtual void SetGraphEdgeColorArrayName(const char *name)
The array to use for coloring edges.
virtual const char * GetGraphEdgeColorArrayName()
vtkHierarchicalGraphView()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetBundlingStrength(double strength)
Set the bundling strength.
virtual const char * GetGraphEdgeLabelArrayName()
virtual void SetGraphVisibility(bool b)
Whether the graph edges are visible (default off).
virtual bool GetGraphVisibility()
virtual void SetGraphEdgeColorToSplineFraction()
Set the color to be the spline fraction.
virtual double GetBundlingStrength()
~vtkHierarchicalGraphView() override
virtual int GetGraphEdgeLabelFontSize()
virtual void SetGraphEdgeLabelArrayName(const char *name)
The array to use for edge labeling.
vtkDataRepresentation * SetGraphFromInput(vtkDataObject *input)
vtkDataRepresentation * SetHierarchyFromInputConnection(vtkAlgorithmOutput *conn)
Set the tree and graph representations to the appropriate input ports.
virtual void SetColorGraphEdgesByArray(bool vis)
Whether to color edges.
vtkDataRepresentation * CreateDefaultRepresentation(vtkAlgorithmOutput *conn) override
Overrides behavior in vtkGraphLayoutView to create a vtkRenderedHierarchyRepresentation by default.
virtual bool GetColorGraphEdgesByArray()
virtual void SetGraphEdgeLabelVisibility(bool vis)
Whether to show edge labels.
static vtkHierarchicalGraphView * New()
vtkRenderedGraphRepresentation * GetGraphRepresentation() override
virtual void SetGraphEdgeLabelFontSize(const int size)
The size of the font used for edge labeling.
virtual vtkRenderedHierarchyRepresentation * GetHierarchyRepresentation()
virtual bool GetGraphEdgeLabelVisibility()
vtkDataRepresentation * SetGraphFromInputConnection(vtkAlgorithmOutput *conn)
a simple class to control print indentation