00001 #ifndef rgrl_matcher_fixed_h_ 00002 #define rgrl_matcher_fixed_h_ 00003 00004 //: 00005 // \file 00006 // \author Charlene Tsai 00007 // \date Sep 2003 00008 #include "rgrl_matcher.h" 00009 00010 //: Returns a set of pre-computed matches for the current view. 00011 // 00012 class rgrl_matcher_fixed 00013 : public rgrl_matcher 00014 { 00015 public: 00016 //: Initialize the matcher with a fixed set of matches 00017 // 00018 rgrl_matcher_fixed( rgrl_match_set_sptr init_match_set_ ); 00019 00020 virtual ~rgrl_matcher_fixed(); 00021 00022 rgrl_match_set_sptr 00023 compute_matches( rgrl_feature_set const& /* from_features */, 00024 rgrl_feature_set const& /* to_features */, 00025 rgrl_view const& current_view, 00026 rgrl_transformation const& current_xform, 00027 rgrl_scale const& /* current_scale */, 00028 rgrl_match_set_sptr const& old_matches=0 ); 00029 00030 // Defines type-related functions 00031 rgrl_type_macro( rgrl_matcher_fixed, rgrl_matcher ); 00032 00033 private: 00034 rgrl_match_set_sptr match_set_; 00035 }; 00036 00037 #endif // rgrl_matcher_fixed_h_