|
Ponca
84886bac0b52a686e88046a375da13f12f2b87d2
Point Cloud Analysis library
|
Extension of the Query class that allows to read the result of a k-nearest neighbors search on the KdTree. More...
#include <kdTreeKNearestQueries.h>
Inheritance diagram for Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >:
Collaboration diagram for Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >:Public Types | |
| using | DataPoint = typename Traits::DataPoint |
| using | IndexType = typename Traits::IndexType |
| using | Scalar = typename DataPoint::Scalar |
| using | VectorType = typename DataPoint::VectorType |
| using | QueryAccelType = KdTreeQuery< Traits > |
| using | Iterator = IteratorType< typename Traits::IndexType, typename Traits::DataPoint > |
| using | Self = KdTreeKNearestQueryBase< Traits, IteratorType, QueryType > |
Public Types inherited from Ponca::KdTreeQuery< Traits > | |
| using | DataPoint = typename Traits::DataPoint |
| using | IndexType = typename Traits::IndexType |
| using | Scalar = typename DataPoint::Scalar |
| using | VectorType = typename DataPoint::VectorType |
Public Member Functions | |
| KdTreeKNearestQueryBase (const KdTreeBase< Traits > *kdtree, IndexType k, typename QueryType::InputType input) | |
| Self & | operator() (typename QueryType::InputType input, IndexType k) |
| Call the k-nearest neighbors query with new input and neighbor number parameters. | |
| Self & | operator() (typename QueryType::InputType input) |
| Call the k-nearest neighbors query with new input parameter. | |
| Iterator | begin () |
| Returns an iterator to the beginning of the k-nearest neighbors query. | |
| Iterator | end () |
| Returns an iterator to the end of the k-nearest neighbors query. | |
Public Member Functions inherited from Ponca::KdTreeQuery< Traits > | |
| KdTreeQuery (const KdTreeBase< Traits > *kdtree) | |
Protected Member Functions | |
| void | search () |
Protected Member Functions inherited from Ponca::KdTreeQuery< Traits > | |
| void | reset () |
| Init stack for a new search. | |
| template<typename LeafPreparationFunctor , typename DescentDistanceThresholdFunctor , typename SkipIndexFunctor , typename ProcessNeighborFunctor > | |
| bool | searchInternal (const VectorType &point, LeafPreparationFunctor prepareLeafTraversal, DescentDistanceThresholdFunctor descentDistanceThreshold, SkipIndexFunctor skipFunctor, ProcessNeighborFunctor processNeighborFunctor) |
| Search internally the neighbors of a point using the kdtree. | |
Additional Inherited Members | |
Protected Attributes inherited from Ponca::KdTreeQuery< Traits > | |
| const KdTreeBase< Traits > * | m_kdtree { nullptr } |
| [KdTreeQuery kdtree type] | |
| Stack< IndexSquaredDistance< IndexType, Scalar >, 2 *Traits::MAX_DEPTH > | m_stack |
| [KdTreeQuery kdtree type] | |
Extension of the Query class that allows to read the result of a k-nearest neighbors search on the KdTree.
Output result of a KdTreeBase::kNearestNeighbors query request.
Definition at line 25 of file kdTreeKNearestQueries.h.
| using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::DataPoint = typename Traits::DataPoint |
Definition at line 28 of file kdTreeKNearestQueries.h.
| using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::IndexType = typename Traits::IndexType |
Definition at line 29 of file kdTreeKNearestQueries.h.
| using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::Iterator = IteratorType<typename Traits::IndexType, typename Traits::DataPoint> |
Definition at line 33 of file kdTreeKNearestQueries.h.
| using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::QueryAccelType = KdTreeQuery<Traits> |
Definition at line 32 of file kdTreeKNearestQueries.h.
| using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::Scalar = typename DataPoint::Scalar |
Definition at line 30 of file kdTreeKNearestQueries.h.
| using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::Self = KdTreeKNearestQueryBase<Traits, IteratorType, QueryType> |
Definition at line 34 of file kdTreeKNearestQueries.h.
| using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::VectorType = typename DataPoint::VectorType |
Definition at line 31 of file kdTreeKNearestQueries.h.
|
inline |
Definition at line 36 of file kdTreeKNearestQueries.h.
|
inline |
Returns an iterator to the beginning of the k-nearest neighbors query.
Definition at line 51 of file kdTreeKNearestQueries.h.
|
inline |
Returns an iterator to the end of the k-nearest neighbors query.
Definition at line 59 of file kdTreeKNearestQueries.h.
|
inline |
Call the k-nearest neighbors query with new input parameter.
Definition at line 45 of file kdTreeKNearestQueries.h.
|
inline |
Call the k-nearest neighbors query with new input and neighbor number parameters.
Definition at line 40 of file kdTreeKNearestQueries.h.
|
inlineprotected |
Definition at line 64 of file kdTreeKNearestQueries.h.