VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkHierarchicalGraphView Class Reference

Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display. Currently, this means displaying the hierarchy using a tree layout, then rendering the graph vertices as leaves of the tree with curved graph edges between leaves. More...

#include <vtkHierarchicalGraphView.h>

Inheritance diagram for vtkHierarchicalGraphView:
Inheritance graph
[legend]
Collaboration diagram for vtkHierarchicalGraphView:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkGraphLayoutView Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkHierarchicalGraphViewNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetGraphEdgeColorToSplineFraction ()
vtkDataRepresentationSetHierarchyFromInputConnection (vtkAlgorithmOutput *conn)
vtkDataRepresentationSetHierarchyFromInput (vtkDataObject *input)
vtkDataRepresentationSetGraphFromInputConnection (vtkAlgorithmOutput *conn)
vtkDataRepresentationSetGraphFromInput (vtkDataObject *input)
virtual void SetGraphEdgeLabelArrayName (const char *name)
virtual const char * GetGraphEdgeLabelArrayName ()
virtual void SetGraphEdgeLabelVisibility (bool vis)
virtual bool GetGraphEdgeLabelVisibility ()
virtual void GraphEdgeLabelVisibilityOn ()
virtual void GraphEdgeLabelVisibilityOff ()
virtual void SetGraphEdgeColorArrayName (const char *name)
virtual const char * GetGraphEdgeColorArrayName ()
virtual void SetColorGraphEdgesByArray (bool vis)
virtual bool GetColorGraphEdgesByArray ()
virtual void ColorGraphEdgesByArrayOn ()
virtual void ColorGraphEdgesByArrayOff ()
virtual void SetBundlingStrength (double strength)
virtual double GetBundlingStrength ()
virtual void SetGraphVisibility (bool b)
virtual bool GetGraphVisibility ()
virtual void GraphVisibilityOn ()
virtual void GraphVisibilityOff ()
virtual void SetGraphEdgeLabelFontSize (const int size)
virtual int GetGraphEdgeLabelFontSize ()

Static Public Member Functions

static vtkHierarchicalGraphViewNew ()
static int IsTypeOf (const char *type)
static vtkHierarchicalGraphViewSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkHierarchicalGraphView ()
 ~vtkHierarchicalGraphView ()
virtual vtkDataRepresentationCreateDefaultRepresentation (vtkAlgorithmOutput *conn)
virtual
vtkRenderedGraphRepresentation
GetGraphRepresentation ()
virtual
vtkRenderedHierarchyRepresentation
GetHierarchyRepresentation ()

Detailed Description

Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display. Currently, this means displaying the hierarchy using a tree layout, then rendering the graph vertices as leaves of the tree with curved graph edges between leaves.

Takes a graph and a hierarchy (currently a tree) and lays out the graph vertices based on their categorization within the hierarchy.

.SEE ALSO vtkGraphLayoutView

Thanks:
Thanks to the turtle with jets for feet, without you this class wouldn't have been possible.
Examples:
vtkHierarchicalGraphView (Examples)
Tests:
vtkHierarchicalGraphView (Tests)

Definition at line 54 of file vtkHierarchicalGraphView.h.


Member Typedef Documentation

Reimplemented from vtkGraphLayoutView.

Definition at line 58 of file vtkHierarchicalGraphView.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkGraphLayoutView.

static int vtkHierarchicalGraphView::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGraphLayoutView.

virtual int vtkHierarchicalGraphView::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGraphLayoutView.

Reimplemented from vtkGraphLayoutView.

virtual vtkObjectBase* vtkHierarchicalGraphView::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkGraphLayoutView.

Reimplemented from vtkGraphLayoutView.

void vtkHierarchicalGraphView::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkGraphLayoutView.

Set the tree and graph representations to the appropriate input ports.

Set the tree and graph representations to the appropriate input ports.

Set the tree and graph representations to the appropriate input ports.

Set the tree and graph representations to the appropriate input ports.

virtual void vtkHierarchicalGraphView::SetGraphEdgeLabelArrayName ( const char *  name) [virtual]

The array to use for edge labeling. Default is "label".

virtual const char* vtkHierarchicalGraphView::GetGraphEdgeLabelArrayName ( ) [virtual]

The array to use for edge labeling. Default is "label".

virtual void vtkHierarchicalGraphView::SetGraphEdgeLabelVisibility ( bool  vis) [virtual]

Whether to show edge labels. Default is off.

Whether to show edge labels. Default is off.

Whether to show edge labels. Default is off.

Whether to show edge labels. Default is off.

virtual void vtkHierarchicalGraphView::SetGraphEdgeColorArrayName ( const char *  name) [virtual]

The array to use for coloring edges. Default is "color".

virtual const char* vtkHierarchicalGraphView::GetGraphEdgeColorArrayName ( ) [virtual]

The array to use for coloring edges. Default is "color".

Set the color to be the spline fraction

virtual void vtkHierarchicalGraphView::SetColorGraphEdgesByArray ( bool  vis) [virtual]

Whether to color edges. Default is off.

Whether to color edges. Default is off.

Whether to color edges. Default is off.

Whether to color edges. Default is off.

virtual void vtkHierarchicalGraphView::SetBundlingStrength ( double  strength) [virtual]

Set the bundling strength.

Set the bundling strength.

virtual void vtkHierarchicalGraphView::SetGraphVisibility ( bool  b) [virtual]

Whether the graph edges are visible (default off).

Whether the graph edges are visible (default off).

virtual void vtkHierarchicalGraphView::GraphVisibilityOn ( ) [virtual]

Whether the graph edges are visible (default off).

Whether the graph edges are visible (default off).

virtual void vtkHierarchicalGraphView::SetGraphEdgeLabelFontSize ( const int  size) [virtual]

The size of the font used for edge labeling

The size of the font used for edge labeling

Overrides behavior in vtkGraphLayoutView to create a vtkRenderedHierarchyRepresentation by default.

Reimplemented from vtkGraphLayoutView.

Overrides behavior in vtkGraphLayoutView to create a vtkRenderedHierarchyRepresentation by default.

Reimplemented from vtkGraphLayoutView.

Overrides behavior in vtkGraphLayoutView to create a vtkRenderedHierarchyRepresentation by default.


The documentation for this class was generated from the following file: