uvgVPCCenc 1.0.0
uvgVPCCenc is an open-source real-time V-PCC encoder library written in C++ from scratch.
|
#include <nanoflann.hpp>
Public Types | |
using | ElementType = T |
using | DistanceType = _DistanceType |
Public Member Functions | |
L1_Adaptor (const DataSource &_data_source) | |
DistanceType | evalMetric (const T *a, const IndexType b_idx, size_t size, DistanceType worst_dist=-1) const |
template<typename U , typename V > | |
DistanceType | accum_dist (const U a, const V b, const size_t) const |
Public Attributes | |
const DataSource & | data_source |
Manhattan distance functor (generic version, optimized for high-dimensionality data sets). Corresponding distance traits: nanoflann::metric_L1
T | Type of the elements (e.g. double, float, uint8_t) |
DataSource | Source of the data, i.e. where the vectors are stored |
_DistanceType | Type of distance variables (must be signed) |
IndexType | Type of the arguments with which the data can be accessed (e.g. float, double, int64_t, T*) |
using nanoflann::L1_Adaptor< T, DataSource, _DistanceType, IndexType >::DistanceType = _DistanceType |
using nanoflann::L1_Adaptor< T, DataSource, _DistanceType, IndexType >::ElementType = T |
|
inline |
|
inline |
|
inline |
const DataSource& nanoflann::L1_Adaptor< T, DataSource, _DistanceType, IndexType >::data_source |