$search
00001 00007 #ifndef P_OBJECT_3D_HH 00008 #define P_OBJECT_3D_HH 00009 00010 #include <opencv/cv.h> 00011 #include <map> 00012 #include <blort/Recognizer3D/PNamespace.hh> 00013 #include <blort/Recognizer3D/Array.hh> 00014 #include <blort/Recognizer3D/PoseCv.hh> 00015 #include <blort/Recognizer3D/CodebookEntry.hh> 00016 #include <blort/Recognizer3D/SPolygon.hh> 00017 00018 namespace P 00019 { 00020 00021 00022 class Object3D 00023 { 00024 public: 00025 unsigned id; 00026 static unsigned idcnt; 00027 00028 Array<CodebookEntry *> codebook; 00029 00030 double conf; //confidence value [0...1] 00031 double err; //reprojection error [0...Def::DO_RANSAC_INL_DIST] 00032 00033 PoseCv pose; 00034 SPolygon contour; 00035 00036 Object3D(); 00037 ~Object3D(); 00038 }; 00039 00040 00041 void DeleteObjects3D(Array<Object3D*> &objects); 00042 00043 00044 /*********************** INLINE METHODES **************************/ 00045 00046 00047 00048 } 00049 00050 #endif 00051