Ponca  e26a0e88a45818354616c1a7180bcd203aecad3c
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::KnnGraphKNearestQuery< Traits > Class Template Reference
+ Inheritance diagram for Ponca::KnnGraphKNearestQuery< Traits >:
+ Collaboration diagram for Ponca::KnnGraphKNearestQuery< Traits >:

Public Types

using Iterator = typename Traits::IndexContainer::const_iterator
 
using QueryType = KNearestIndexQuery< typename Traits::IndexType, typename Traits::DataPoint::Scalar >
 
- Public Types inherited from Ponca::KNearestIndexQuery< Traits::IndexType, Traits::DataPoint::Scalar >
using Base = Query< QueryInputIsIndex< Traits::IndexType >, QueryOutputIsKNearest< Traits::IndexType, Traits::DataPoint::Scalar > >
 
- Public Types inherited from Ponca::Query< Input_, Output_ >
using QueryInType = Input_
 
using QueryOutType = Output_
 

Public Member Functions

 KnnGraphKNearestQuery (const KnnGraphBase< Traits > *graph, int index)
 
Iterator begin () const
 
Iterator end () const
 
- Public Member Functions inherited from Ponca::Query< Input_, Output_ >
 Query (const typename QueryInType::InputType &in)
 
 Query (const typename QueryOutType::OutputParameter &outParam, const typename QueryInType::InputType &in)
 

Protected Attributes

const KnnGraphBase< Traits > * m_graph {nullptr}
 

Detailed Description

template<typename Traits>
class Ponca::KnnGraphKNearestQuery< Traits >

Definition at line 23 of file knnGraphKNearestQuery.h.

Member Typedef Documentation

◆ Iterator

template<typename Traits >
using Ponca::KnnGraphKNearestQuery< Traits >::Iterator = typename Traits::IndexContainer::const_iterator

Definition at line 32 of file knnGraphKNearestQuery.h.

◆ QueryType

template<typename Traits >
using Ponca::KnnGraphKNearestQuery< Traits >::QueryType = KNearestIndexQuery<typename Traits::IndexType, typename Traits::DataPoint::Scalar>

Definition at line 34 of file knnGraphKNearestQuery.h.

Constructor & Destructor Documentation

◆ KnnGraphKNearestQuery()

template<typename Traits >
Ponca::KnnGraphKNearestQuery< Traits >::KnnGraphKNearestQuery ( const KnnGraphBase< Traits > *  graph,
int  index 
)
inline

Definition at line 40 of file knnGraphKNearestQuery.h.

Member Function Documentation

◆ begin()

template<typename Traits >
Iterator Ponca::KnnGraphKNearestQuery< Traits >::begin ( ) const
inline

Definition at line 43 of file knnGraphKNearestQuery.h.

◆ end()

template<typename Traits >
Iterator Ponca::KnnGraphKNearestQuery< Traits >::end ( ) const
inline

Definition at line 46 of file knnGraphKNearestQuery.h.

Member Data Documentation

◆ m_graph

template<typename Traits >
const KnnGraphBase<Traits>* Ponca::KnnGraphKNearestQuery< Traits >::m_graph {nullptr}
protected

Definition at line 51 of file knnGraphKNearestQuery.h.