Ponca  e26a0e88a45818354616c1a7180bcd203aecad3c
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType > Class Template Reference
+ 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 >
 
- 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)
 
Iterator begin ()
 
Iterator end ()
 
- 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 search_internal (const VectorType &point, LeafPreparationFunctor prepareLeafTraversal, DescentDistanceThresholdFunctor descentDistanceThreshold, SkipIndexFunctor skipFunctor, ProcessNeighborFunctor processNeighborFunctor)
 

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]
 

Detailed Description

template<typename Traits, template< typename, typename > typename IteratorType, typename QueryType>
class Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >

Definition at line 18 of file kdTreeKNearestQueries.h.

Member Typedef Documentation

◆ DataPoint

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::DataPoint = typename Traits::DataPoint

Definition at line 21 of file kdTreeKNearestQueries.h.

◆ IndexType

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::IndexType = typename Traits::IndexType

Definition at line 22 of file kdTreeKNearestQueries.h.

◆ Iterator

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::Iterator = IteratorType<typename Traits::IndexType, typename Traits::DataPoint>

Definition at line 26 of file kdTreeKNearestQueries.h.

◆ QueryAccelType

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::QueryAccelType = KdTreeQuery<Traits>

Definition at line 25 of file kdTreeKNearestQueries.h.

◆ Scalar

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::Scalar = typename DataPoint::Scalar

Definition at line 23 of file kdTreeKNearestQueries.h.

◆ VectorType

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
using Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::VectorType = typename DataPoint::VectorType

Definition at line 24 of file kdTreeKNearestQueries.h.

Constructor & Destructor Documentation

◆ KdTreeKNearestQueryBase()

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::KdTreeKNearestQueryBase ( const KdTreeBase< Traits > *  kdtree,
IndexType  k,
typename QueryType::InputType  input 
)
inline

Definition at line 28 of file kdTreeKNearestQueries.h.

Member Function Documentation

◆ begin()

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
Iterator Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::begin ( )
inline

Definition at line 32 of file kdTreeKNearestQueries.h.

◆ end()

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
Iterator Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::end ( )
inline

Definition at line 38 of file kdTreeKNearestQueries.h.

◆ search()

template<typename Traits , template< typename, typename > typename IteratorType, typename QueryType >
void Ponca::KdTreeKNearestQueryBase< Traits, IteratorType, QueryType >::search ( )
inlineprotected

Definition at line 43 of file kdTreeKNearestQueries.h.