32 #ifndef NEWFEATUREDB_H_ 33 #define NEWFEATUREDB_H_ 36 #include <boost/unordered_map.hpp> bool isFeatureStored(Feature::Id f_id) const
boost::tuple< double, double, double > Location
MapOfFeatureLocations getAllFeaturesNextToLastLocation() const
bool addFeatureLocation(Feature::Id f_id, Feature::Location f_loc)
Feature::Location getFeatureNextToLastLocation(Feature::Id f_id) const
void clearListOfAliveFeatureIds()
virtual ~FeaturesDataBase()
double getFeatureLastX(Feature::Id f_id) const
MapOfFeatures getAllFeatures() const
size_t getFeatureAge(Feature::Id f_id) const
Feature::LocationPair getFeatureTwoLastLocations(Feature::Id f_id) const
Feature::Location getFeatureFirstLocation(Feature::Id f_id) const
std::pair< Location, Location > LocationPair
Feature::Location getFeatureNToLastLocation(Feature::Id f_id, int frames_to_last) const
boost::shared_ptr< FeaturesDataBase > Ptr
std::vector< Feature::Id > _alive_feat_ids
double getFeatureLastY(Feature::Id f_id) const
MapOfFeatureLocations getAllFeaturesLastLocation() const
Feature::Trajectory getFeatureTrajectory(Feature::Id f_id) const
boost::unordered_map< Feature::Id, Feature::LocationPair > MapOfFeatureLocationPairs
std::vector< Location > Trajectory
std::vector< Feature::Id > getListOfAliveFeatureIds() const
double getFeatureLastZ(Feature::Id f_id) const
MapOfFeatures _map_of_features
boost::unordered_map< Feature::Id, Feature::Location > MapOfFeatureLocations
MapOfFeatureLocationPairs getAllFeaturesTwoLastLocations() const
Feature::Ptr getFeature(Feature::Id f_id) const
boost::unordered_map< Feature::Id, Feature::Ptr > MapOfFeatures
Feature::Ptr getFeatureClone(Feature::Id f_id) const
Feature::Location getFeatureLastLocation(Feature::Id f_id) const