aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp.test/inc/match.h
diff options
context:
space:
mode:
Diffstat (limited to 'meowpp.test/inc/match.h')
-rw-r--r--meowpp.test/inc/match.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/meowpp.test/inc/match.h b/meowpp.test/inc/match.h
new file mode 100644
index 0000000..d05e8e8
--- /dev/null
+++ b/meowpp.test/inc/match.h
@@ -0,0 +1,47 @@
+#ifndef aligement_H__
+#define aligement_H__
+
+#include "meowpp/geo/Vectors.h"
+
+
+struct MatchInfo {
+ meow::Vector2D<double> x_axis;
+ meow::Vector2D<double> y_axis;
+ double x_offset, y_offset;
+ meow::Vector2D<double> depth;
+
+ std::vector<std::pair<Vector2D<double>, Vector2D<double> > > pairs;
+};
+
+class MatchAlls: public meow::ObjBase {
+public:
+ virtual ~MatchAlls() { }
+ virtual std::vector<PairToPair<size_t> > match(
+ std::vector<std::vector<FeaturePoint<double, double> > > > const& fpss) = 0;
+ virtual std::string description() const = 0;
+ virtual meow::Usage usage( ) const = 0;
+ virtual bool usage(meow::Usage const& usg) = 0;
+};
+
+int const kMatchAllsID = 456;
+
+class TryAndChecks: public meow::ObjBase {
+public:
+ virtual TryAndChecks() { }
+ virtual MatchInfo run(std::vector<meow::Vector2D<double> > const& fps1,
+ size_t w1,
+ size_t h1,
+ std::vector<meow::Vector2D<double> > const& fps2,
+ size_t w2,
+ size_t h2,
+ std::vector<std::pair<size_t,size_t> >const& pairs) = 0;
+ virtual std::string description() const = 0;
+ virtual meow::Usage usage( ) const = 0;
+ virtual bool usage(meow::Usage const& usg) = 0;
+ virtual int minNumber() const = 0;
+};
+
+int const kTryAndChecksID = 123;
+
+
+#endif // aligement_H__