template struct mrpt::vision::detail::TSURFDesc2KDTree_Adaptor

#include <mrpt/vision/descriptor_kdtrees.h>

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

    const CFeatureList& m_feats;

    // construction

    TSURFDesc2KDTree_Adaptor(const CFeatureList& feats);

    //
methods

    size_t kdtree_get_point_count() const;

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

    element_t kdtree_get_pt(
        size_t idx,
        int dim
        ) const;

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