|
Ponca
7df32c91629c89b89840c4d7917cb272433f2d2b
Point Cloud Analysis library
|
Extension of the Query class that allows to read the result of a k-nearest neighbors search on the KnnGraph. More...
#include <knnGraphKNearestQuery.h>
Inheritance diagram for Ponca::KnnGraphKNearestQuery< Traits >:
Collaboration diagram for Ponca::KnnGraphKNearestQuery< Traits >:Public Types | |
| using | Iterator = KnnGraphKNearestIterator< const typename Traits::IndexType *, typename Traits::IndexType > |
| using | QueryType = KNearestIndexQuery< typename Traits::IndexType, typename Traits::DataPoint::Scalar > |
| using | Self = KnnGraphKNearestQuery< Traits > |
Public Types inherited from Ponca::Query< Input_, Output_ > | |
| using | QueryInType = Input_ |
| Alias to the input type. | |
| using | QueryOutType = Output_ |
| Alias to the output type. | |
Public Member Functions | |
| KnnGraphKNearestQuery (const StaticKnnGraphBase< Traits > *graph, int index) | |
| Self & | operator() (int index) |
| Call the k-nearest neighbors query with new input parameter. | |
| Iterator | begin () const |
| Returns an iterator to the beginning of the k-nearest neighbors query. | |
| Iterator | end () const |
| Returns an iterator to the end of the k-nearest neighbors query. | |
Public Member Functions inherited from Ponca::Query< Input_, Output_ > | |
| Query (const typename QueryInType::InputType &in) | |
| Default constructor that initialize the input parameter only. | |
| Query (const typename QueryOutType::OutputParameter &outParam, const typename QueryInType::InputType &in) | |
| Default constructor that initialize the input and output parameters. | |
| template<typename Base , typename... outputType> | |
| Base & | operator() (const typename QueryInType::InputType &in, outputType &&... out) |
| Access operator that resets the input and output parameters. | |
| template<typename Base > | |
| Base & | operator() (const typename QueryInType::InputType &in) |
| Access operator that resets the input parameter only. | |
Protected Attributes | |
| const StaticKnnGraphBase< Traits > * | m_graph {nullptr} |
Extension of the Query class that allows to read the result of a k-nearest neighbors search on the KnnGraph.
Output result of a KnnGraph::kNearestNeighbors query request.
Definition at line 34 of file knnGraphKNearestQuery.h.
| using Ponca::KnnGraphKNearestQuery< Traits >::Iterator = KnnGraphKNearestIterator<const typename Traits::IndexType*, typename Traits::IndexType> |
Definition at line 43 of file knnGraphKNearestQuery.h.
| using Ponca::KnnGraphKNearestQuery< Traits >::QueryType = KNearestIndexQuery<typename Traits::IndexType, typename Traits::DataPoint::Scalar> |
Definition at line 45 of file knnGraphKNearestQuery.h.
Definition at line 49 of file knnGraphKNearestQuery.h.
|
inline |
Definition at line 52 of file knnGraphKNearestQuery.h.
|
inline |
Returns an iterator to the beginning of the k-nearest neighbors query.
Definition at line 60 of file knnGraphKNearestQuery.h.
|
inline |
Returns an iterator to the end of the k-nearest neighbors query.
Definition at line 66 of file knnGraphKNearestQuery.h.
|
inline |
Call the k-nearest neighbors query with new input parameter.
Definition at line 57 of file knnGraphKNearestQuery.h.
|
protected |
Definition at line 72 of file knnGraphKNearestQuery.h.