Class IndexInterface¶
Defined in File index-interface.h
Inheritance Relationships¶
Derived Types¶
public loop_closure::InvertedIndexInterface
(Class InvertedIndexInterface)public loop_closure::InvertedMultiIndexInterface
(Class InvertedMultiIndexInterface)public loop_closure::InvertedMultiProductQuantizationIndexInterface
(Class InvertedMultiProductQuantizationIndexInterface)public loop_closure::KDTreeIndexInterface
(Class KDTreeIndexInterface)
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¶
-
inline virtual ~IndexInterface()¶