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 | DistanceType = _DistanceType |
using | IndexType = _IndexType |
Public Member Functions | |
RadiusResultSet (DistanceType radius_, std::vector< ResultItem< IndexType, DistanceType > > &indices_dists) | |
void | init () |
void | clear () |
size_t | size () const |
size_t | empty () const |
bool | full () const |
bool | addPoint (DistanceType dist, IndexType index) |
DistanceType | worstDist () const |
ResultItem< IndexType, DistanceType > | worst_item () const |
Public Attributes | |
const DistanceType | radius |
std::vector< ResultItem< IndexType, DistanceType > > & | m_indices_dists |
A result-set class used when performing a radius based search.
using nanoflann::RadiusResultSet< _DistanceType, _IndexType >::DistanceType = _DistanceType |
using nanoflann::RadiusResultSet< _DistanceType, _IndexType >::IndexType = _IndexType |
|
inlineexplicit |
|
inline |
Called during search to add an element matching the criteria.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Find the worst result (farthest neighbor) without copying or sorting Pre-conditions: size() > 0
|
inline |
std::vector<ResultItem<IndexType, DistanceType> >& nanoflann::RadiusResultSet< _DistanceType, _IndexType >::m_indices_dists |
const DistanceType nanoflann::RadiusResultSet< _DistanceType, _IndexType >::radius |