Class IndexInterface

Inheritance Relationships

Derived Types

Class Documentation

class loop_closure::IndexInterface

Subclassed by loop_closure::InvertedIndexInterface, loop_closure::InvertedMultiIndexInterface, loop_closure::InvertedMultiProductQuantizationIndexInterface, loop_closure::KDTreeIndexInterface

Public Functions

inline virtual ~IndexInterface()
virtual void Clear() = 0
virtual void ProjectDescriptors(const DescriptorContainer &descriptors, Eigen::MatrixXf *projected_descriptors) const = 0
virtual int GetNumDescriptorsInIndex() const = 0
virtual void ProjectDescriptors(const std::vector<aslam::common::FeatureDescriptorConstRef> &descriptors, Eigen::MatrixXf *projected_descriptors) const = 0
virtual void AddDescriptors(const Eigen::MatrixXf &descriptors) = 0
virtual void GetNNearestNeighborsForFeatures(const Eigen::MatrixXf &query_features, int num_neighbors, Eigen::MatrixXi *indices, Eigen::MatrixXf *distances) const = 0