Main MRPT website > C++ reference for MRPT 1.9.9
Classes | Namespaces | Macros | Functions | Variables
nanoflann.hpp File Reference
#include <vector>
#include <cassert>
#include <algorithm>
#include <stdexcept>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <limits>
Include dependency graph for nanoflann.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nanoflann::KNNResultSet< DistanceType, IndexType, CountType >
 
class  nanoflann::RadiusResultSet< DistanceType, IndexType >
 A result-set class used when performing a radius based search. More...
 
struct  nanoflann::IndexDist_Sorter
 operator "<" for std::sort() More...
 
struct  nanoflann::L1_Adaptor< T, DataSource, _DistanceType >
 Manhattan distance functor (generic version, optimized for high-dimensionality data sets). More...
 
struct  nanoflann::L2_Adaptor< T, DataSource, _DistanceType >
 Squared Euclidean distance functor (generic version, optimized for high-dimensionality data sets). More...
 
struct  nanoflann::L2_Simple_Adaptor< T, DataSource, _DistanceType >
 Squared Euclidean (L2) distance functor (suitable for low-dimensionality datasets, like 2D or 3D point clouds) Corresponding distance traits: nanoflann::metric_L2_Simple. More...
 
struct  nanoflann::metric_L1
 Metaprogramming helper traits class for the L1 (Manhattan) metric. More...
 
struct  nanoflann::metric_L1::traits< T, DataSource >
 
struct  nanoflann::metric_L2
 Metaprogramming helper traits class for the L2 (Euclidean) metric. More...
 
struct  nanoflann::metric_L2::traits< T, DataSource >
 
struct  nanoflann::metric_L2_Simple
 Metaprogramming helper traits class for the L2_simple (Euclidean) metric. More...
 
struct  nanoflann::metric_L2_Simple::traits< T, DataSource >
 
struct  nanoflann::KDTreeSingleIndexAdaptorParams
 Parameters (see README.md) More...
 
struct  nanoflann::SearchParams
 Search options for KDTreeSingleIndexAdaptor::findNeighbors() More...
 
class  nanoflann::PooledAllocator
 
class  nanoflann::CArray< T, N >
 A STL container (as wrapper) for arrays of constant size defined at compile time (class imported from the MRPT project) This code is an adapted version from Boost, modifed for its integration within MRPT (JLBC, Dec/2009) (Renamed array -> CArray to avoid possible potential conflicts). More...
 
struct  nanoflann::array_or_vector_selector< DIM, T >
 Used to declare fixed-size arrays when DIM>0, dynamically-allocated vectors when DIM=-1. More...
 
struct  nanoflann::array_or_vector_selector<-1, T >
 Dynamic size version. More...
 
class  nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >
 kd-tree index More...
 
struct  nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::Node
 
struct  nanoflann::KDTreeSingleIndexAdaptor< Distance, DatasetAdaptor, DIM, IndexType >::Interval
 
struct  nanoflann::KDTreeEigenMatrixAdaptor< MatrixType, DIM, Distance >
 An L2-metric KD-tree adaptor for working with data directly stored in an Eigen Matrix, without duplicating the data storage. More...
 

Namespaces

 nanoflann
 

Macros

#define NOMINMAX
 
#define NANOFLANN_VERSION   0x122
 Library version: 0xMmP (M=Major,m=minor,P=patch) More...
 

Functions

template<typename T >
void nanoflann::save_value (FILE *stream, const T &value, size_t count=1)
 
template<typename T >
void nanoflann::save_value (FILE *stream, const std::vector< T > &value)
 
template<typename T >
void nanoflann::load_value (FILE *stream, T &value, size_t count=1)
 
template<typename T >
void nanoflann::load_value (FILE *stream, std::vector< T > &value)
 
template<typename T >
T * nanoflann::allocate (size_t count=1)
 Allocates (using C's malloc) a generic type T. More...
 

Variables

const size_t nanoflann::WORDSIZE =16
 Pooled storage allocator. More...
 
const size_t nanoflann::BLOCKSIZE =8192
 

Macro Definition Documentation

◆ NOMINMAX

#define NOMINMAX

Definition at line 60 of file nanoflann.hpp.




Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST