Loading...
Searching...
No Matches
ompl::FLANNDistance< _T > Class Template Reference

Wrapper class to allow FLANN access to the NearestNeighbors::distFun_ callback function. More...

#include <ompl/datastructures/NearestNeighborsFLANN.h>

Public Types

using ElementType = _T
 
using ResultType = double
 

Public Member Functions

 FLANNDistance (const typename NearestNeighbors< _T >::DistanceFunction &distFun)
 
template<typename Iterator1 , typename Iterator2 >
ResultType operator() (Iterator1 a, Iterator2 b, size_t, ResultType=-1) const
 

Protected Attributes

const NearestNeighbors< _T >::DistanceFunction & distFun_
 

Detailed Description

template<typename _T>
class ompl::FLANNDistance< _T >

Wrapper class to allow FLANN access to the NearestNeighbors::distFun_ callback function.

Definition at line 57 of file NearestNeighborsFLANN.h.

Member Typedef Documentation

◆ ElementType

template<typename _T >
using ompl::FLANNDistance< _T >::ElementType = _T

Definition at line 60 of file NearestNeighborsFLANN.h.

◆ ResultType

template<typename _T >
using ompl::FLANNDistance< _T >::ResultType = double

Definition at line 61 of file NearestNeighborsFLANN.h.

Constructor & Destructor Documentation

◆ FLANNDistance()

template<typename _T >
ompl::FLANNDistance< _T >::FLANNDistance ( const typename NearestNeighbors< _T >::DistanceFunction &  distFun)
inline

Definition at line 63 of file NearestNeighborsFLANN.h.

Member Function Documentation

◆ operator()()

template<typename _T >
template<typename Iterator1 , typename Iterator2 >
ResultType ompl::FLANNDistance< _T >::operator() ( Iterator1  a,
Iterator2  b,
size_t  ,
ResultType  = -1 
) const
inline

Definition at line 68 of file NearestNeighborsFLANN.h.

Member Data Documentation

◆ distFun_

template<typename _T >
const NearestNeighbors<_T>::DistanceFunction& ompl::FLANNDistance< _T >::distFun_
protected

Definition at line 74 of file NearestNeighborsFLANN.h.


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