Compadre
1.2.0
|
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 24 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 28 of file Compadre_PointCloudSearch.hpp.
typedef _IndexType Compadre::RadiusResultSet< _DistanceType, _IndexType >::IndexType |
Definition at line 29 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 37 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 52 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 46 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 50 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 44 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 48 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 80 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 75 of file Compadre_PointCloudSearch.hpp.
|
inline |
Definition at line 73 of file Compadre_PointCloudSearch.hpp.
IndexType Compadre::RadiusResultSet< _DistanceType, _IndexType >::count |
Definition at line 32 of file Compadre_PointCloudSearch.hpp.
IndexType* Compadre::RadiusResultSet< _DistanceType, _IndexType >::i_dist |
Definition at line 34 of file Compadre_PointCloudSearch.hpp.
const IndexType Compadre::RadiusResultSet< _DistanceType, _IndexType >::max_size |
Definition at line 35 of file Compadre_PointCloudSearch.hpp.
DistanceType* Compadre::RadiusResultSet< _DistanceType, _IndexType >::r_dist |
Definition at line 33 of file Compadre_PointCloudSearch.hpp.
const DistanceType Compadre::RadiusResultSet< _DistanceType, _IndexType >::radius |
Definition at line 31 of file Compadre_PointCloudSearch.hpp.