00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
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
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
00042
00043
00044
00045
00046
00047
00048
00049 bool
00050 check_compatibility
00051 (
00052 );
00053
00054
00055 public:
00056
00057
00058
00059
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
00087
00088
00089
00090
00100 draw_undi_graph*
00101 update_intermediate
00102 (
00103 float alpha
00104 );
00105
00106 };
00107
00108
00109 #endif