Keypoint.cc
Go to the documentation of this file.
00001 
00008 #include <blort/Recognizer3D/Keypoint.hh>
00009 
00010 namespace P 
00011 {
00012 
00013 int Keypoint::nbcnt=0;
00014 unsigned Keypoint::idcnt=0;
00015 
00016 
00020 Keypoint::Keypoint()
00021  : mi11(0), mi12(1), mi21(1), mi22(0), bw(0), fw(0), nb(0), id(UINT_MAX)
00022 {
00023   scale = 1.;
00024   angle = 0.;
00025   error = FLT_MAX;
00026 }
00027 
00028 Keypoint::Keypoint(double x, double y)
00029  : p(P::Vector2(x,y)), mi11(0), mi12(1), mi21(1), mi22(0), bw(0), fw(0), 
00030    nb(0), id(UINT_MAX)
00031 {
00032   scale = 1.;
00033   angle = 0.;
00034   error = FLT_MAX;
00035 }
00036 
00037 Keypoint::Keypoint(double x, double y, Keypoint *b)
00038  : p(P::Vector2(x,y)),  mi11(0), mi12(1), mi21(1), mi22(0), bw(b), fw(0), 
00039    nb(0), id(UINT_MAX)
00040 {
00041   scale = 1.;
00042   angle = 0.;
00043   error = FLT_MAX;
00044 }
00045 
00046 Keypoint::~Keypoint()
00047 {
00048 }
00049 
00050 Keypoint::Keypoint(Keypoint *k)
00051 {
00052   p=k->p;
00053   scale=k->scale;
00054   angle=k->angle;
00055   mi11=k->mi11;
00056   mi12=k->mi12;
00057   mi21=k->mi21;
00058   mi22=k->mi22;
00059   bw=k->bw;
00060   fw=k->fw;
00061   nb=k->nb;
00062   id=k->id;
00063   error=k->error;
00064 }
00065 
00066 Keypoint::Keypoint(double x, double y, float s, float a)
00067  : p(P::Vector2(x,y)), scale(s), angle(a), mi11(1), mi12(0), mi21(0), mi22(1),
00068    bw(0), fw(0), nb(0), id(UINT_MAX)
00069 {
00070   error=FLT_MAX;
00071 }
00072 
00073 Keypoint::Keypoint(double x, double y, float s, float a,
00074                    float _m11,float _m12,float _m21,float _m22)
00075  : p(P::Vector2(x,y)), scale(s),angle(a),mi11(_m11),mi12(_m12),mi21(_m21),mi22(_m22),
00076    bw(0), fw(0), nb(0), id(UINT_MAX)
00077 {
00078   error=FLT_MAX;
00079 }
00080 
00081 }
00082 


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