Compadre
1.5.9
|
Custom RadiusResultSet for nanoflann that uses pre-allocated space for indices and radii instead of using std::vec for std::pairs. More...
Custom RadiusResultSet for nanoflann that uses pre-allocated space for indices and radii instead of using std::vec for std::pairs.
Definition at line 32 of file Compadre_PointCloudSearch.hpp.
#include <Compadre_PointCloudSearch.hpp>
Public Types | |
typedef _DistanceType | DistanceType |
typedef _IndexType | IndexType |
Public Member Functions | |
RadiusResultSet (DistanceType radius_, DistanceType *r_dist_, IndexType *i_dist_, const IndexType max_size_) | |
void | init () |
void | clear () |
size_t | size () const |
bool | full () const |
bool | addPoint (DistanceType dist, IndexType index) |
DistanceType | worstDist () const |
std::pair< IndexType, DistanceType > | worst_item () const |
void | sort () |
Public Attributes | |
const DistanceType | radius |
IndexType | count |
DistanceType * | r_dist |
IndexType * | i_dist |
const IndexType | max_size |
typedef _DistanceType Compadre::RadiusResultSet< _DistanceType, _IndexType >::DistanceType |
Definition at line 36 of file Compadre_PointCloudSearch.hpp.
typedef _IndexType Compadre::RadiusResultSet< _DistanceType, _IndexType >::IndexType |
Definition at line 37 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 45 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 60 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 54 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 58 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 52 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 56 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 88 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 83 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 81 of file Compadre_PointCloudSearch.hpp.
IndexType Compadre::RadiusResultSet< _DistanceType, _IndexType >::count |
Definition at line 40 of file Compadre_PointCloudSearch.hpp.
IndexType* Compadre::RadiusResultSet< _DistanceType, _IndexType >::i_dist |
Definition at line 42 of file Compadre_PointCloudSearch.hpp.
const IndexType Compadre::RadiusResultSet< _DistanceType, _IndexType >::max_size |
Definition at line 43 of file Compadre_PointCloudSearch.hpp.
DistanceType* Compadre::RadiusResultSet< _DistanceType, _IndexType >::r_dist |
Definition at line 41 of file Compadre_PointCloudSearch.hpp.
const DistanceType Compadre::RadiusResultSet< _DistanceType, _IndexType >::radius |
Definition at line 39 of file Compadre_PointCloudSearch.hpp.