Ponca  aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::KdTreeRangeQueryBase< Traits, IteratorType, QueryType > Class Template Reference
+ Inheritance diagram for Ponca::KdTreeRangeQueryBase< Traits, IteratorType, QueryType >:
+ Collaboration diagram for Ponca::KdTreeRangeQueryBase< 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< IndexType, DataPoint, KdTreeRangeQueryBase >
 
- 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

 KdTreeRangeQueryBase (const KdTreeBase< Traits > *kdtree, Scalar radius, 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 advance (Iterator &it)
 
- 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)
 

Protected Attributes

friend Iterator
 
- 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 > typename IteratorType, typename QueryType>
class Ponca::KdTreeRangeQueryBase< Traits, IteratorType, QueryType >

Definition at line 18 of file kdTreeRangeQueries.h.

Member Typedef Documentation

◆ DataPoint

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

Definition at line 22 of file kdTreeRangeQueries.h.

◆ IndexType

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

Definition at line 23 of file kdTreeRangeQueries.h.

◆ Iterator

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

Definition at line 27 of file kdTreeRangeQueries.h.

◆ QueryAccelType

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

Definition at line 26 of file kdTreeRangeQueries.h.

◆ Scalar

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

Definition at line 24 of file kdTreeRangeQueries.h.

◆ VectorType

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

Definition at line 25 of file kdTreeRangeQueries.h.

Constructor & Destructor Documentation

◆ KdTreeRangeQueryBase()

template<typename Traits , template< typename, typename, typename > typename IteratorType, typename QueryType >
Ponca::KdTreeRangeQueryBase< Traits, IteratorType, QueryType >::KdTreeRangeQueryBase ( const KdTreeBase< Traits > *  kdtree,
Scalar  radius,
typename QueryType::InputType  input 
)
inline

Definition at line 33 of file kdTreeRangeQueries.h.

Member Function Documentation

◆ advance()

template<typename Traits , template< typename, typename, typename > typename IteratorType, typename QueryType >
void Ponca::KdTreeRangeQueryBase< Traits, IteratorType, QueryType >::advance ( Iterator &  it)
inlineprotected

Definition at line 49 of file kdTreeRangeQueries.h.

◆ begin()

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

Definition at line 37 of file kdTreeRangeQueries.h.

◆ end()

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

Definition at line 44 of file kdTreeRangeQueries.h.

Member Data Documentation

◆ Iterator

template<typename Traits , template< typename, typename, typename > typename IteratorType, typename QueryType >
friend Ponca::KdTreeRangeQueryBase< Traits, IteratorType, QueryType >::Iterator
protected

Definition at line 30 of file kdTreeRangeQueries.h.