template struct mrpt::vision::detail::TSIFTDesc2KDTree_Adaptor

#include <mrpt/vision/descriptor_kdtrees.h>

template <typename distance_t, typename element_t>
struct TSIFTDesc2KDTree_Adaptor
{
    //
fields

    const CFeatureList& m_feats;

    // construction

    TSIFTDesc2KDTree_Adaptor(const CFeatureList& feats);

    //
methods

    size_t kdtree_get_point_count() const;

    distance_t kdtree_distance(
        const element_t* p1,
        const size_t idx_p2,
        size_t size
        ) const;

    element_t kdtree_get_pt(
        const size_t idx,
        int dim
        ) const;

    template <class BBOX>
    bool kdtree_get_bbox(BBOX& bb) const;
};