contrib/mul/msm/msm_add_all_loaders.cxx
Go to the documentation of this file.
00001 #include "msm_add_all_loaders.h"
00002 //:
00003 // \file
00004 #include <msm/msm_translation_aligner.h>
00005 #include <msm/msm_zoom_aligner.h>
00006 #include <msm/msm_similarity_aligner.h>
00007 
00008 #include <msm/msm_no_limiter.h>
00009 #include <msm/msm_box_limiter.h>
00010 #include <msm/msm_ellipsoid_limiter.h>
00011 
00012 #include <mbl/mbl_cloneables_factory.h>
00013 
00014 //: Add all binary loaders and factory objects for msm library
00015 void msm_add_all_loaders()
00016 {
00017   // msm_aligner classes:
00018   mbl_cloneables_factory<msm_aligner>::add(msm_translation_aligner());
00019   mbl_cloneables_factory<msm_aligner>::add(msm_zoom_aligner());
00020   mbl_cloneables_factory<msm_aligner>::add(msm_similarity_aligner());
00021 
00022   vsl_add_to_binary_loader(msm_translation_aligner());
00023   vsl_add_to_binary_loader(msm_zoom_aligner());
00024   vsl_add_to_binary_loader(msm_similarity_aligner());
00025 
00026   // msm_param_limiter classes:
00027   mbl_cloneables_factory<msm_param_limiter>::add(msm_no_limiter());
00028   mbl_cloneables_factory<msm_param_limiter>::add(msm_box_limiter());
00029   mbl_cloneables_factory<msm_param_limiter>::add(msm_ellipsoid_limiter());
00030 
00031   vsl_add_to_binary_loader(msm_no_limiter());
00032   vsl_add_to_binary_loader(msm_box_limiter());
00033   vsl_add_to_binary_loader(msm_ellipsoid_limiter());
00034 }