title
Graph Drawing Toolkit

An object-oriented C++ library for handling and drawing graphs

morpher Class Reference

#include <rm3_morpher.h>

Collaboration diagram for morpher:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 morpher (const draw_undi_graph &start_graph, const draw_undi_graph &end_graph)
 ~morpher ()
draw_undi_graphupdate_intermediate (float alpha)


Detailed Description

Global class morpher. This class allows to trasform an orthogonal drawing of a graph into another drawing of the same graph.

Definition at line 28 of file rm3_morpher.h.


Constructor & Destructor Documentation

morpher::morpher ( const draw_undi_graph start_graph,
const draw_undi_graph end_graph 
)

Constructor.

PRECONDITIONS: "start_graph" and "end_graph" must have corresponding nodes and edges (with the same gdtnode and gdtedge id).

morpher::~morpher (  ) 

Destructor.


Member Function Documentation

draw_undi_graph* morpher::update_intermediate ( float  alpha  ) 

update the intermediate_graph with coordinates between those of start_graph and those of end_graph. If "alpha" is 0, then intermediate_graph has the same coordinates than start_graph, if "alpha" is 1, then intermediate_graph has the same coordinates than end_graph.


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:48:53 2008 for GDToolkit GAPI by  doxygen 1.5.3