47 #ifndef BSFM_SLAM_OBSERVATION_H
48 #define BSFM_SLAM_OBSERVATION_H
50 #include <gflags/gflags.h>
51 #include <glog/logging.h>
54 #include "../matching/distance_metric.h"
55 #include "../matching/feature.h"
56 #include "../util/types.h"
65 typedef std::shared_ptr<Observation>
Ptr;
66 typedef std::shared_ptr<const Observation>
ConstPtr;
72 const ::bsfm::Feature& feature,
77 std::shared_ptr<View>
GetView()
const;
100 const ::bsfm::Feature&
Feature()
const;
115 const ::bsfm::Feature& feature,
std::shared_ptr< Landmark > GetLandmark() const
std::shared_ptr< Observation > Ptr
unsigned int LandmarkIndex
LandmarkIndex landmark_index_
const ::bsfm::Feature & Feature() const
static Observation::Ptr Create(const std::shared_ptr< View > &view_ptr, const ::bsfm::Feature &feature, const ::bsfm::Descriptor &descriptor)
std::shared_ptr< const Observation > ConstPtr
const ::bsfm::Descriptor & Descriptor() const
std::shared_ptr< View > GetView() const
::bsfm::Descriptor descriptor_
void SetMatchedLandmark(LandmarkIndex landmark_index)
bool IsIncorporated() const
::Eigen::Matrix< double, Eigen::Dynamic, 1 > Descriptor
void SetIncorporatedLandmark(LandmarkIndex landmark_index)