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