UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::TreeNearestIterator< Tree, Geometry > Class Template Reference

Public Types

using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = value_type const *
 
using reference = value_type const &
 
using value_type = DistanceNode
 

Public Member Functions

 TreeNearestIterator (Tree *t, Node const &node, Geometry const &geometry, float epsilon, bool only_leaves, bool only_exists)
 
 TreeNearestIterator (TreeNearestIterator const &)=default
 
template<class Geometry2 >
 TreeNearestIterator (TreeNearestIterator< Tree, Geometry2 > const &other)
 
template<class Geometry2 >
bool operator!= (TreeNearestIterator< Tree, Geometry2 > const &other)
 
reference operator* () const
 
TreeNearestIteratoroperator++ ()
 
TreeNearestIterator operator++ (int)
 
pointer operator-> () const
 
template<class Geometry2 >
bool operator== (TreeNearestIterator< Tree, Geometry2 > const &other)
 

Detailed Description

template<class Tree, class Geometry = DynamicGeometry>
class ufo::TreeNearestIterator< Tree, Geometry >

Definition at line 58 of file nearest_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<class Tree , class Geometry = DynamicGeometry>
using ufo::TreeNearestIterator< Tree, Geometry >::difference_type = std::ptrdiff_t

Definition at line 96 of file nearest_iterator.hpp.

◆ iterator_category

template<class Tree , class Geometry = DynamicGeometry>
using ufo::TreeNearestIterator< Tree, Geometry >::iterator_category = std::forward_iterator_tag

Definition at line 95 of file nearest_iterator.hpp.

◆ pointer

template<class Tree , class Geometry = DynamicGeometry>
using ufo::TreeNearestIterator< Tree, Geometry >::pointer = value_type const*

Definition at line 99 of file nearest_iterator.hpp.

◆ reference

template<class Tree , class Geometry = DynamicGeometry>
using ufo::TreeNearestIterator< Tree, Geometry >::reference = value_type const&

Definition at line 98 of file nearest_iterator.hpp.

◆ value_type

template<class Tree , class Geometry = DynamicGeometry>
using ufo::TreeNearestIterator< Tree, Geometry >::value_type = DistanceNode

Definition at line 97 of file nearest_iterator.hpp.

Constructor & Destructor Documentation

◆ TreeNearestIterator() [1/2]

template<class Tree , class Geometry = DynamicGeometry>
ufo::TreeNearestIterator< Tree, Geometry >::TreeNearestIterator ( Tree t,
Node const &  node,
Geometry const &  geometry,
float  epsilon,
bool  only_leaves,
bool  only_exists 
)
inline

Definition at line 103 of file nearest_iterator.hpp.

◆ TreeNearestIterator() [2/2]

template<class Tree , class Geometry = DynamicGeometry>
template<class Geometry2 >
ufo::TreeNearestIterator< Tree, Geometry >::TreeNearestIterator ( TreeNearestIterator< Tree, Geometry2 > const &  other)
inline

Definition at line 129 of file nearest_iterator.hpp.

Member Function Documentation

◆ operator!=()

template<class Tree , class Geometry = DynamicGeometry>
template<class Geometry2 >
bool ufo::TreeNearestIterator< Tree, Geometry >::operator!= ( TreeNearestIterator< Tree, Geometry2 > const &  other)
inline

Definition at line 165 of file nearest_iterator.hpp.

◆ operator*()

template<class Tree , class Geometry = DynamicGeometry>
reference ufo::TreeNearestIterator< Tree, Geometry >::operator* ( ) const
inline

Definition at line 154 of file nearest_iterator.hpp.

◆ operator++() [1/2]

template<class Tree , class Geometry = DynamicGeometry>
TreeNearestIterator & ufo::TreeNearestIterator< Tree, Geometry >::operator++ ( )
inline

Definition at line 140 of file nearest_iterator.hpp.

◆ operator++() [2/2]

template<class Tree , class Geometry = DynamicGeometry>
TreeNearestIterator ufo::TreeNearestIterator< Tree, Geometry >::operator++ ( int  )
inline

Definition at line 147 of file nearest_iterator.hpp.

◆ operator->()

template<class Tree , class Geometry = DynamicGeometry>
pointer ufo::TreeNearestIterator< Tree, Geometry >::operator-> ( ) const
inline

Definition at line 156 of file nearest_iterator.hpp.

◆ operator==()

template<class Tree , class Geometry = DynamicGeometry>
template<class Geometry2 >
bool ufo::TreeNearestIterator< Tree, Geometry >::operator== ( TreeNearestIterator< Tree, Geometry2 > const &  other)
inline

Definition at line 159 of file nearest_iterator.hpp.

Friends And Related Symbol Documentation

◆ TreeNearestIterator

template<class Tree , class Geometry = DynamicGeometry>
template<class , class >
friend class TreeNearestIterator
friend

Definition at line 66 of file nearest_iterator.hpp.


The documentation for this class was generated from the following file: