vtkHierarchicalGraphView Class Reference

#include <vtkHierarchicalGraphView.h>

Inheritance diagram for vtkHierarchicalGraphView:

Inheritance graph
[legend]
Collaboration diagram for vtkHierarchicalGraphView:

Collaboration graph
[legend]

List of all members.


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 53 of file vtkHierarchicalGraphView.h.


Public Types

typedef vtkGraphLayoutView Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

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

Member Typedef Documentation

Reimplemented from vtkGraphLayoutView.

Definition at line 57 of file vtkHierarchicalGraphView.h.


Constructor & Destructor Documentation

vtkHierarchicalGraphView::vtkHierarchicalGraphView (  )  [protected]

vtkHierarchicalGraphView::~vtkHierarchicalGraphView (  )  [protected]


Member Function Documentation

static vtkHierarchicalGraphView* vtkHierarchicalGraphView::New (  )  [static]

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

Reimplemented from vtkGraphLayoutView.

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

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.

static vtkHierarchicalGraphView* vtkHierarchicalGraphView::SafeDownCast ( vtkObject o  )  [static]

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.

vtkDataRepresentation* vtkHierarchicalGraphView::SetHierarchyFromInputConnection ( vtkAlgorithmOutput conn  ) 

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

vtkDataRepresentation* vtkHierarchicalGraphView::SetHierarchyFromInput ( vtkDataObject input  ) 

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

vtkDataRepresentation* vtkHierarchicalGraphView::SetGraphFromInputConnection ( vtkAlgorithmOutput conn  ) 

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

vtkDataRepresentation* vtkHierarchicalGraphView::SetGraphFromInput ( vtkDataObject input  ) 

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.

virtual bool vtkHierarchicalGraphView::GetGraphEdgeLabelVisibility (  )  [virtual]

Whether to show edge labels. Default is off.

virtual void vtkHierarchicalGraphView::GraphEdgeLabelVisibilityOn (  )  [virtual]

Whether to show edge labels. Default is off.

virtual void vtkHierarchicalGraphView::GraphEdgeLabelVisibilityOff (  )  [virtual]

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".

virtual void vtkHierarchicalGraphView::SetGraphEdgeColorToSplineFraction (  )  [virtual]

Set the color to be the spline fraction

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

Whether to color edges. Default is off.

virtual bool vtkHierarchicalGraphView::GetColorGraphEdgesByArray (  )  [virtual]

Whether to color edges. Default is off.

virtual void vtkHierarchicalGraphView::ColorGraphEdgesByArrayOn (  )  [virtual]

Whether to color edges. Default is off.

virtual void vtkHierarchicalGraphView::ColorGraphEdgesByArrayOff (  )  [virtual]

Whether to color edges. Default is off.

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

Set the bundling strength.

virtual double vtkHierarchicalGraphView::GetBundlingStrength (  )  [virtual]

Set the bundling strength.

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

Whether the graph edges are visible (default off).

virtual bool vtkHierarchicalGraphView::GetGraphVisibility (  )  [virtual]

Whether the graph edges are visible (default off).

virtual void vtkHierarchicalGraphView::GraphVisibilityOn (  )  [virtual]

Whether the graph edges are visible (default off).

virtual void vtkHierarchicalGraphView::GraphVisibilityOff (  )  [virtual]

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

virtual int vtkHierarchicalGraphView::GetGraphEdgeLabelFontSize (  )  [virtual]

The size of the font used for edge labeling

virtual vtkDataRepresentation* vtkHierarchicalGraphView::CreateDefaultRepresentation ( vtkAlgorithmOutput conn  )  [protected, virtual]

Overrides behavior in vtkGraphLayoutView to create a vtkRenderedHierarchyRepresentation by default.

Reimplemented from vtkGraphLayoutView.

virtual vtkRenderedGraphRepresentation* vtkHierarchicalGraphView::GetGraphRepresentation (  )  [protected, virtual]

Overrides behavior in vtkGraphLayoutView to create a vtkRenderedHierarchyRepresentation by default.

Reimplemented from vtkGraphLayoutView.

virtual vtkRenderedHierarchyRepresentation* vtkHierarchicalGraphView::GetHierarchyRepresentation (  )  [protected, virtual]

Overrides behavior in vtkGraphLayoutView to create a vtkRenderedHierarchyRepresentation by default.


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

Generated on Wed Aug 24 11:39:27 2011 for VTK by  doxygen 1.5.6