Brute-force nearest neighbour. More...
#include <nabo_private.h>
Public Types | |
typedef NearestNeighbourSearch < T, CloudType >::Index | Index |
an index to a Vector or a Matrix, for refering to data points | |
typedef NearestNeighbourSearch < T, CloudType >::IndexMatrix | IndexMatrix |
a matrix of indices to data points | |
typedef NearestNeighbourSearch < T, CloudType >::IndexVector | IndexVector |
a vector of indices to data points | |
typedef NearestNeighbourSearch < T, CloudType >::Matrix | Matrix |
a column-major Eigen matrix in which each column is a point; this matrix has dim rows | |
typedef NearestNeighbourSearch < T, CloudType >::Vector | Vector |
an Eigen vector of type T, to hold the coordinates of a point | |
Public Member Functions | |
BruteForceSearch (const CloudType &cloud, const Index dim, const unsigned creationOptionFlags) | |
constructor, calls NearestNeighbourSearch<T>(cloud) | |
virtual unsigned long | knn (const Matrix &query, IndexMatrix &indices, Matrix &dists2, const Index k, const T epsilon, const unsigned optionFlags, const T maxRadius) const |
virtual unsigned long | knn (const Matrix &query, IndexMatrix &indices, Matrix &dists2, const Vector &maxRadii, const Index k=1, const T epsilon=0, const unsigned optionFlags=0) const |
Brute-force nearest neighbour.
Definition at line 76 of file nabo_private.h.
typedef NearestNeighbourSearch<T, CloudType>::Index Nabo::BruteForceSearch< T, CloudType >::Index |
an index to a Vector or a Matrix, for refering to data points
Reimplemented from Nabo::NearestNeighbourSearch< T, CloudType >.
Definition at line 80 of file nabo_private.h.
typedef NearestNeighbourSearch<T, CloudType>::IndexMatrix Nabo::BruteForceSearch< T, CloudType >::IndexMatrix |
a matrix of indices to data points
Reimplemented from Nabo::NearestNeighbourSearch< T, CloudType >.
Definition at line 82 of file nabo_private.h.
typedef NearestNeighbourSearch<T, CloudType>::IndexVector Nabo::BruteForceSearch< T, CloudType >::IndexVector |
a vector of indices to data points
Reimplemented from Nabo::NearestNeighbourSearch< T, CloudType >.
Definition at line 81 of file nabo_private.h.
typedef NearestNeighbourSearch<T, CloudType>::Matrix Nabo::BruteForceSearch< T, CloudType >::Matrix |
a column-major Eigen matrix in which each column is a point; this matrix has dim rows
Reimplemented from Nabo::NearestNeighbourSearch< T, CloudType >.
Definition at line 79 of file nabo_private.h.
typedef NearestNeighbourSearch<T, CloudType>::Vector Nabo::BruteForceSearch< T, CloudType >::Vector |
an Eigen vector of type T, to hold the coordinates of a point
Reimplemented from Nabo::NearestNeighbourSearch< T, CloudType >.
Definition at line 78 of file nabo_private.h.
Nabo::BruteForceSearch< T, CloudType >::BruteForceSearch | ( | const CloudType & | cloud, |
const Index | dim, | ||
const unsigned | creationOptionFlags | ||
) |
constructor, calls NearestNeighbourSearch<T>(cloud)
Definition at line 45 of file brute_force_cpu.cpp.
unsigned long Nabo::BruteForceSearch< T, CloudType >::knn | ( | const Matrix & | query, |
IndexMatrix & | indices, | ||
Matrix & | dists2, | ||
const Index | k, | ||
const T | epsilon, | ||
const unsigned | optionFlags, | ||
const T | maxRadius | ||
) | const [virtual] |
Definition at line 64 of file brute_force_cpu.cpp.
unsigned long Nabo::BruteForceSearch< T, CloudType >::knn | ( | const Matrix & | query, |
IndexMatrix & | indices, | ||
Matrix & | dists2, | ||
const Vector & | maxRadii, | ||
const Index | k = 1 , |
||
const T | epsilon = 0 , |
||
const unsigned | optionFlags = 0 |
||
) | const [virtual] |
Definition at line 71 of file brute_force_cpu.cpp.