|
Ponca
03745f3c84c0c8d40cec269af63efe7d3cf77f30
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>
Inheritance diagram for Ponca::NeighborGraphOneConnectedQuery< _NeighborGraph >:
Collaboration diagram for Ponca::NeighborGraphOneConnectedQuery< _NeighborGraph >: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. | |
| Query (const typename QueryOutType::OutputParameter &outParam, const typename QueryInType::InputType &in) | |
| Default constructor that initialize the input and output parameters. | |
| Base & | operator() (const typename QueryInType::InputType &in, outputType &&... out) |
| Access operator that resets the input and output parameters. | |
| Base & | operator() (const typename QueryInType::InputType &in) |
| Access operator that resets the input parameter only. | |
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< InputType_ > | |
| 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< InputType_ > | |
| 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 = NeighborGraphOneConnectedIterator<const typename Traits::IndexType*, typename Traits::IndexType> |
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.
|
inline |
Returns an iterator to the beginning of the k-nearest neighbors query.
Definition at line 50 of file neighborGraphOneConnectedQuery.h.
|
inline |
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.