|
Ponca
84886bac0b52a686e88046a375da13f12f2b87d2
Point Cloud Analysis library
|
Input iterator to read the KdTreeRangeQueryBase object.
More...
#include <kdTreeRangeIterator.h>
Collaboration diagram for Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >:Public Types | |
| using | iterator_category = PONCA_MULTIARCH_CU_STD_NAMESPACE(input_iterator_tag) |
| using | difference_type = std::ptrdiff_t |
| using | value_type = Index |
| using | pointer = Index * |
| using | reference = const Index & |
| using | Scalar = typename DataPoint::Scalar |
| using | QueryType = QueryT_ |
Public Member Functions | |
| KdTreeRangeIterator (QueryType *query, Index index=-1) | |
| bool | operator!= (const KdTreeRangeIterator &other) const |
| Inequality operand. | |
| bool | operator== (const KdTreeRangeIterator &other) const |
| Equality operand. | |
| KdTreeRangeIterator & | operator++ () |
| Prefix increment. | |
| KdTreeRangeIterator | operator++ (int) |
| Postfix increment. | |
| reference | operator* () const |
| Dereference operator. | |
Protected Attributes | |
| friend | QueryT_ |
| QueryType * | m_query {nullptr} |
| Index | m_index {-1} |
| Index | m_start {0} |
| Index | m_end {0} |
Input iterator to read the KdTreeRangeQueryBase object.
As this is an input iterator, we don't guarantee anything other than reading the values with it. If you need to operate on the values of this iterator with algorithms that relies on forward iterator functionalities, you should copy the index values in an STL-like container.
KdTreeRangeQueryBase::advance(Iterator& it) Since the KdTreeRangeQueryBase::advance method doesn't update the internal state of the KdTreeRangeQuery object, this iterator object can be duplicated without causing issues. If a copy of this iterator is made (e.g., passed by copy to a function), incrementing one iterator won't update the state of the other.Definition at line 30 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::difference_type = std::ptrdiff_t |
Definition at line 37 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::iterator_category = PONCA_MULTIARCH_CU_STD_NAMESPACE(input_iterator_tag) |
Definition at line 36 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::pointer = Index* |
Definition at line 39 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::QueryType = QueryT_ |
Definition at line 43 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::reference = const Index& |
Definition at line 40 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::Scalar = typename DataPoint::Scalar |
Definition at line 42 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::value_type = Index |
Definition at line 38 of file kdTreeRangeIterator.h.
|
inline |
Definition at line 46 of file kdTreeRangeIterator.h.
|
inline |
Inequality operand.
Definition at line 50 of file kdTreeRangeIterator.h.
|
inline |
Dereference operator.
Definition at line 75 of file kdTreeRangeIterator.h.
|
inline |
Prefix increment.
Definition at line 61 of file kdTreeRangeIterator.h.
|
inline |
Postfix increment.
Definition at line 68 of file kdTreeRangeIterator.h.
|
inline |
Equality operand.
Definition at line 55 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 83 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 81 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 80 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 82 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 33 of file kdTreeRangeIterator.h.