Main MRPT website > C++ reference
MRPT logo
List of all members | Public Member Functions | Public Attributes
nanoflann::RadiusResultSet< DistanceType, IndexType > Class Template Reference

Detailed Description

template<typename DistanceType, typename IndexType = size_t>
class nanoflann::RadiusResultSet< DistanceType, IndexType >

A result-set class used when performing a radius based search.

Definition at line 126 of file nanoflann.hpp.

#include <mrpt/otherlibs/nanoflann/nanoflann.hpp>

Public Member Functions

 RadiusResultSet (DistanceType radius_, std::vector< std::pair< IndexType, DistanceType > > &indices_dists)
 
 ~RadiusResultSet ()
 
void init ()
 
size_t size () const
 
bool full () const
 
void addPoint (DistanceType dist, IndexType index)
 
DistanceType worstDist () const
 

Public Attributes

const DistanceType radius
 
std::vector< std::pair
< IndexType, DistanceType > > & 
m_indices_dists
 

Constructor & Destructor Documentation

template<typename DistanceType, typename IndexType = size_t>
nanoflann::RadiusResultSet< DistanceType, IndexType >::RadiusResultSet ( DistanceType  radius_,
std::vector< std::pair< IndexType, DistanceType > > &  indices_dists 
)
inline
template<typename DistanceType, typename IndexType = size_t>
nanoflann::RadiusResultSet< DistanceType, IndexType >::~RadiusResultSet ( )
inline

Definition at line 138 of file nanoflann.hpp.

Member Function Documentation

template<typename DistanceType, typename IndexType = size_t>
void nanoflann::RadiusResultSet< DistanceType, IndexType >::addPoint ( DistanceType  dist,
IndexType  index 
)
inline

Definition at line 146 of file nanoflann.hpp.

template<typename DistanceType, typename IndexType = size_t>
bool nanoflann::RadiusResultSet< DistanceType, IndexType >::full ( ) const
inline

Definition at line 144 of file nanoflann.hpp.

template<typename DistanceType, typename IndexType = size_t>
void nanoflann::RadiusResultSet< DistanceType, IndexType >::init ( )
inline

Definition at line 140 of file nanoflann.hpp.

template<typename DistanceType, typename IndexType = size_t>
size_t nanoflann::RadiusResultSet< DistanceType, IndexType >::size ( ) const
inline
template<typename DistanceType, typename IndexType = size_t>
DistanceType nanoflann::RadiusResultSet< DistanceType, IndexType >::worstDist ( ) const
inline

Definition at line 152 of file nanoflann.hpp.

Member Data Documentation

template<typename DistanceType, typename IndexType = size_t>
std::vector<std::pair<IndexType,DistanceType> >& nanoflann::RadiusResultSet< DistanceType, IndexType >::m_indices_dists

Definition at line 131 of file nanoflann.hpp.

template<typename DistanceType, typename IndexType = size_t>
const DistanceType nanoflann::RadiusResultSet< DistanceType, IndexType >::radius

Definition at line 129 of file nanoflann.hpp.




Page generated by Doxygen 1.8.3 for MRPT 0.9.6 SVN: at Fri Feb 15 22:05:02 EST 2013