ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::ml::impl::Adaptor< T > Class Template Reference

Adaptor for nanoflann. More...

#include <NeighborSearchCommon.h>

Public Member Functions

 Adaptor (size_t num_points, const T *const data)
 
size_t kdtree_get_point_count () const
 
kdtree_get_pt (const size_t idx, int dim) const
 
template<class BBOX >
bool kdtree_get_bbox (BBOX &) const
 

Detailed Description

template<class T>
class cloudViewer::ml::impl::Adaptor< T >

Adaptor for nanoflann.

Definition at line 54 of file NeighborSearchCommon.h.

Constructor & Destructor Documentation

◆ Adaptor()

template<class T >
cloudViewer::ml::impl::Adaptor< T >::Adaptor ( size_t  num_points,
const T *const  data 
)
inline

Definition at line 56 of file NeighborSearchCommon.h.

Member Function Documentation

◆ kdtree_get_bbox()

template<class T >
template<class BBOX >
bool cloudViewer::ml::impl::Adaptor< T >::kdtree_get_bbox ( BBOX &  ) const
inline

Definition at line 66 of file NeighborSearchCommon.h.

◆ kdtree_get_point_count()

template<class T >
size_t cloudViewer::ml::impl::Adaptor< T >::kdtree_get_point_count ( ) const
inline

Definition at line 59 of file NeighborSearchCommon.h.

◆ kdtree_get_pt()

template<class T >
T cloudViewer::ml::impl::Adaptor< T >::kdtree_get_pt ( const size_t  idx,
int  dim 
) const
inline

Definition at line 61 of file NeighborSearchCommon.h.


The documentation for this class was generated from the following file: