|
Ponca
292d8d7132745e0d4242ff9a01e93697fc96b204
Point Cloud Analysis library
|
Extension of the Query class that allows to read the neighbors that are directly connected to the query point in the neighbor graph. More...
#include <neighborGraphOneConnectedQuery.h>
Public Types | |
| using | NeighborGraph = _NeighborGraph |
| using | Traits = typename NeighborGraph::Traits |
| using | Iterator |
| using | QueryType = Query<QueryInputIsIndex<typename Traits::IndexType>, NeighborGraphQueryOutputType> |
| using | Self = NeighborGraphOneConnectedQuery<NeighborGraph> |
| Public Types inherited from Ponca::Query< QueryInputIsIndex< _NeighborGraph::Traits::IndexType >, NeighborGraphQueryOutputType > | |
| using | QueryInType |
| Alias to the input type. | |
| using | QueryOutType |
| Alias to the output type. | |
| Public Types inherited from Ponca::QueryInputIsIndex< _NeighborGraph::Traits::IndexType > | |
| using | Base |
| Alias to the inherited type. | |
| using | InputType |
| Alias to the templated input type (Index). | |
| Public Types inherited from Ponca::QueryInput< _NeighborGraph::Traits::IndexType > | |
| using | InputType |
| Alias to the templated input type. | |
| Public Types inherited from Ponca::NeighborGraphQueryOutputType | |
| using | OutputParameter = typename QueryOutputBase::DummyOutputParameter |
Public Member Functions | |
| NeighborGraphOneConnectedQuery (const NeighborGraph *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< QueryInputIsIndex< _NeighborGraph::Traits::IndexType >, NeighborGraphQueryOutputType > | |
| Query (const typename QueryInType::InputType &in) | |
| Default constructor that initialize the input parameter only. | |
| Base & | operator() (const typename QueryInType::InputType &in, outputType &&... out) |
| Access operator that resets the input and output parameters. | |
| Public Member Functions inherited from Ponca::QueryInputIsIndex< _NeighborGraph::Traits::IndexType > | |
| QueryInputIsIndex (const InputType &point=-1) | |
| Default constructor that initialize the input index. | |
| void | operator() (const InputType &point=InputType::Zero()) |
| Access operator that resets the input index. | |
| Public Member Functions inherited from Ponca::QueryInput< _NeighborGraph::Traits::IndexType > | |
| QueryInput (InputType input) | |
| Default constructor that initialize the input field. | |
| const InputType & | input () const |
| Read access to the input. | |
Protected Attributes | |
| const NeighborGraph * | m_graph {nullptr} |
Additional Inherited Members | |
| Protected Member Functions inherited from Ponca::QueryInputIsIndex< _NeighborGraph::Traits::IndexType > | |
| bool | skipIndexFunctor (IndexType idx) const |
| Functor used to check if a given Idx must be skipped. | |
| const VectorType | getInputPosition (const Container &c) |
| Generic method to access input position. The VectorType needs to be passed as a template argument. | |
| Protected Member Functions inherited from Ponca::QueryInput< _NeighborGraph::Traits::IndexType > | |
| void | setInput (const InputType &input) |
| Edit the input. | |
Extension of the Query class that allows to read the neighbors that are directly connected to the query point in the neighbor graph.
Output result of a KnnGraph::oneConnectedNeighbors query request.
Definition at line 29 of file neighborGraphOneConnectedQuery.h.
| using Ponca::NeighborGraphOneConnectedQuery< _NeighborGraph >::Iterator |
Definition at line 35 of file neighborGraphOneConnectedQuery.h.
| using Ponca::NeighborGraphOneConnectedQuery< _NeighborGraph >::NeighborGraph = _NeighborGraph |
Definition at line 33 of file neighborGraphOneConnectedQuery.h.
| using Ponca::NeighborGraphOneConnectedQuery< _NeighborGraph >::QueryType = Query<QueryInputIsIndex<typename Traits::IndexType>, NeighborGraphQueryOutputType> |
Definition at line 37 of file neighborGraphOneConnectedQuery.h.
| using Ponca::NeighborGraphOneConnectedQuery< _NeighborGraph >::Self = NeighborGraphOneConnectedQuery<NeighborGraph> |
Definition at line 39 of file neighborGraphOneConnectedQuery.h.
| using Ponca::NeighborGraphOneConnectedQuery< _NeighborGraph >::Traits = typename NeighborGraph::Traits |
Definition at line 34 of file neighborGraphOneConnectedQuery.h.
|
inline |
Definition at line 42 of file neighborGraphOneConnectedQuery.h.
|
inlinenodiscard |
Returns an iterator to the beginning of the k-nearest neighbors query.
Definition at line 50 of file neighborGraphOneConnectedQuery.h.
|
inlinenodiscard |
Returns an iterator to the end of the k-nearest neighbors query.
Definition at line 56 of file neighborGraphOneConnectedQuery.h.
|
inline |
Call the k-nearest neighbors query with new input parameter.
Definition at line 47 of file neighborGraphOneConnectedQuery.h.
|
protected |
Definition at line 62 of file neighborGraphOneConnectedQuery.h.