Keypoint.hh
Go to the documentation of this file.
00001 
00006 #ifndef P_KEYPOINT_HH
00007 #define P_KEYPOINT_HH
00008 
00009 #include <blort/Recognizer3D/PNamespace.hh>
00010 #include <blort/Recognizer3D/Vector2.hh>
00011 #include "float.h"
00012 
00013 namespace P
00014 {
00015 
00016 class Keypoint
00017 {
00018 public:
00019   Vector2 p;            //location of the keypoint with respect to center of the object
00020   float scale;
00021   float angle;
00022   float mi11,mi12,mi21,mi22;
00023 
00024   Keypoint *bw, *fw;     //backward/forward link for tracking
00025 
00026   int nb;
00027   static int nbcnt;
00028   unsigned id;
00029   static unsigned idcnt;
00030 
00031   float error;
00032 
00033   Keypoint();
00034   Keypoint(Keypoint *k);
00035   Keypoint(double x, double y);
00036   Keypoint(double x, double y, float s, float a);
00037   Keypoint(double x, double y, Keypoint *bw);
00038   Keypoint(double x,double y,float s,float a,float _m11,float _m12,float _m21,float _m22);
00039   ~Keypoint();
00040 
00041   inline double X() {return p.x;}
00042   inline double Y() {return p.y;}
00043   inline float Scale() {return scale;}
00044   inline float Angle() {return angle;}
00045   inline float Mi11() {return mi11;}
00046   inline float Mi12() {return mi12;}
00047   inline float Mi21() {return mi21;}
00048   inline float Mi22() {return mi22;} 
00049 };
00050 
00051 /******************************** INLINE METHODES ***************************/
00052 
00053 
00054 
00055 
00056 
00057 
00058 
00059 } //--END--
00060 
00061 #endif
00062 


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12