shape_doc 0.1
/Users/mourrain/Devel/mmx/shape/glue/glue_shape.cpp
Go to the documentation of this file.
00001 
00002 #include <basix/system.hpp>
00003 #include <basix/glue.hpp>
00004 
00005 namespace mmx {
00006   extern void glue_algebraic_curve ();
00007   extern void glue_algebraic_surface ();
00008   extern void glue_axel ();
00009   extern void glue_bounding_box ();
00010   extern void glue_color ();
00011   extern void glue_point ();
00012   extern void glue_point_floating ();
00013   extern void glue_point_set_with_color ();
00014   extern void glue_rational_curve ();
00015   
00016   void
00017   glue_shape () {
00018     static bool done = false;
00019     if (done) return;
00020     done = true;
00021     register_glue (string ("glue_algebraic_curve"), (& (glue_algebraic_curve)));
00022     register_glue (string ("glue_algebraic_surface"), (& (glue_algebraic_surface)));
00023     register_glue (string ("glue_axel"), (& (glue_axel)));
00024     register_glue (string ("glue_bounding_box"), (& (glue_bounding_box)));
00025     register_glue (string ("glue_color"), (& (glue_color)));
00026     register_glue (string ("glue_point"), (& (glue_point)));
00027     register_glue (string ("glue_point_floating"), (& (glue_point_floating)));
00028     register_glue (string ("glue_point_set_with_color"), (& (glue_point_set_with_color)));
00029     register_glue (string ("glue_rational_curve"), (& (glue_rational_curve)));
00030     register_glue (string ("glue_shape"), (& (glue_shape)));
00031     dl_link ("realroot");
00032     glue_algebraic_curve ();
00033     glue_algebraic_surface ();
00034     glue_axel ();
00035     glue_bounding_box ();
00036     glue_color ();
00037     glue_point ();
00038     glue_point_floating ();
00039     glue_point_set_with_color ();
00040     glue_rational_curve ();
00041   }
00042 }
00043 
00044 void (*define_shape) () = mmx::glue_shape;