title
Graph Drawing Toolkit

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

rm3_morpher.h

Go to the documentation of this file.
00001 /*******************************************************************************
00002 +
00003 +  rm3_morpher.h
00004 +
00005 +  This file is part of GDToolkit. It can be 
00006 +  used free of charge in academic research and teaching. 
00007 +  Any direct or indirect commercial use of this software is illegal 
00008 +  without a written authorization of
00009 +  the Dipartimento di Informatica e Automazione
00010 +  Universita' di Roma Tre, Roma, ITALIA
00011 +  
00012 *******************************************************************************/
00016 #ifndef RM3_ANIMATE_H
00017 #define RM3_ANIMATE_H
00018 
00019 
00020 #include <fstream>
00021 #include <GDT/rm3_draw_undi_graph.h>
00022 
00028         class GDT_NONSTANDARD_DECL
00029 morpher
00030         {
00031         private:
00032                 // -----------------
00033                 // private variables
00034                 // -----------------
00035 
00036                 const draw_undi_graph& start_graph;
00037                 const draw_undi_graph& end_graph;
00038                 draw_undi_graph* intermediate_graph;
00039                 
00040                 // ---------------
00041                 // private methods
00042                 // ---------------
00043 
00044                         /*
00045                         Check if the start_graph and the end_graph are compatible with a morphing
00046                         operation between the two. 
00047                         */
00048 
00049                         bool
00050                 check_compatibility
00051                         (
00052                         );
00053                 
00054 
00055         public:
00056 
00057                 /*
00058                 CATEGORY constructors_destructors
00059                 Constructors and destructors.
00060                 */
00061 
00068                 morpher
00069                         (
00070                         const draw_undi_graph& start_graph, 
00071                         const draw_undi_graph& end_graph
00072                         );                                              
00073 
00074                         
00079                 ~morpher
00080                         (
00081                         );                                      
00082                 
00083                 
00084 
00085                 /*
00086                 CATEGORY update & access
00087                 Access operations for informations about defaults.
00088                 */
00089                 
00090                         
00100                         draw_undi_graph*
00101                 update_intermediate
00102                         (
00103                         float alpha
00104                         );      
00105                 
00106         };
00107         
00108         
00109 #endif

Generated on Thu Jan 10 14:48:01 2008 for GDToolkit GAPI by  doxygen 1.5.3