|
Ponca
93eea5457c48839cb5d16642765afa89fc7cfe66
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 = std::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 29 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::difference_type = std::ptrdiff_t |
Definition at line 36 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::iterator_category = std::input_iterator_tag |
Definition at line 35 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::pointer = Index* |
Definition at line 38 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::QueryType = QueryT_ |
Definition at line 42 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::reference = const Index& |
Definition at line 39 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::Scalar = typename DataPoint::Scalar |
Definition at line 41 of file kdTreeRangeIterator.h.
| using Ponca::KdTreeRangeIterator< Index, DataPoint, QueryT_ >::value_type = Index |
Definition at line 37 of file kdTreeRangeIterator.h.
|
inline |
Definition at line 45 of file kdTreeRangeIterator.h.
|
inline |
Inequality operand.
Definition at line 49 of file kdTreeRangeIterator.h.
|
inline |
Dereference operator.
Definition at line 74 of file kdTreeRangeIterator.h.
|
inline |
Prefix increment.
Definition at line 60 of file kdTreeRangeIterator.h.
|
inline |
Postfix increment.
Definition at line 67 of file kdTreeRangeIterator.h.
|
inline |
Equality operand.
Definition at line 54 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 82 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 80 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 79 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 81 of file kdTreeRangeIterator.h.
|
protected |
Definition at line 32 of file kdTreeRangeIterator.h.