Go to the documentation of this file.00001
00008 #ifndef __FeatureAbstract_H__
00009 #define __FeatureAbstract_H__
00010
00011
00012
00013
00014
00015 #include "jmath/jblas.hpp"
00016
00017 #include "rtslam/rtSlam.hpp"
00018 #include "rtslam/objectAbstract.hpp"
00019 #include "rtslam/gaussian.hpp"
00020 #include "rtslam/measurement.hpp"
00021
00022 namespace jafar {
00023 namespace rtslam {
00024
00030 class FeatureAbstract : public ObjectAbstract {
00031 public:
00032 appearance_ptr_t appearancePtr;
00033 Measurement measurement;
00034
00035 FeatureAbstract(): measurement(0) {}
00036 FeatureAbstract(size_t size, appearance_ptr_t appearancePtr_) :
00037 appearancePtr(appearancePtr_), measurement(size)
00038 {
00039 measurement.matchScore = 0.0;
00040 }
00041
00042 virtual ~FeatureAbstract() {
00043 }
00044
00045 virtual std::string categoryName() const {
00046 return "FEATURE";
00047 }
00048
00049 };
00050
00051 }
00052
00053 }
00054
00055 #endif // #ifndef __FeatureAbstract_H__
00056
00057
00058
00059
00060
00061
00062
00063