Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

keypointpair.h

Go to the documentation of this file.
00001 #ifndef __KEYPOINTPAIR_H
00002 #define __KEYPOINTPAIR_H
00003 
00004 class keypoint;
00005 
00006 class keypointPair {
00007 private:
00008   keypoint* key1;
00009   keypoint* key2;
00010   double xDiff, yDiff, scaleZoom, orientationDiff;
00011   
00012 public:
00013   
00014   keypointPair(keypoint* k1, keypoint* k2);
00015   
00016   // copy constructor
00017   keypointPair(const keypointPair& o) : key1(o.key1), key2(o.key2), xDiff(o.xDiff), yDiff(o.yDiff), scaleZoom(o.scaleZoom), orientationDiff(o.orientationDiff) {}
00018   keypointPair(keypointPair* k);
00019   keypointPair& operator=(const keypointPair& o) {
00020     key1=o.key1;
00021     key2=o.key2;
00022     xDiff=o.xDiff;
00023     yDiff=o.yDiff;
00024     scaleZoom=o.scaleZoom;
00025     orientationDiff=o.orientationDiff;
00026     return *this;
00027   }
00028   
00029   keypoint* getKey1() const { return key1; }
00030   keypoint* getKey2() const { return key2; }
00031   
00032   void getForwardTransform(double* xTranslate, double* yTranslate, double* zoom, double* rotation);
00033   void getBackwardTransform(double* xTranslate, double* yTranslate, double* zoom, double* rotation);
00034 };
00035 
00036 #endif

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:42 2016 by Doxygen 1.6.3