00001
00002
00003 #ifndef _SPAFDB_DESCRIPTOR_MATCH_QUERY_HPP_
00004 #define _SPAFDB_DESCRIPTOR_MATCH_QUERY_HPP_
00005
00006 #include <spafdb/MatchQuery.hpp>
00007
00008 namespace jafar {
00009 namespace spafdb {
00015 class DescriptorMatchQuery : public MatchQuery {
00016 public:
00017 DescriptorMatchQuery(double distance);
00018 ~DescriptorMatchQuery();
00019 virtual std::list<spaf::MatchResult> execute(const Storage*, const spaf::FeaturesBag& ) const;
00020 double distance() const;
00021 void setDistance(double d);
00022 private:
00023 struct Private;
00024 Private* const d;
00025 };
00026 }
00027 }
00028
00029 #endif