UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::TreeQueryNearestIterator< Tree, Predicate, 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

 TreeQueryNearestIterator (Tree *t, Node const &node, Predicate const &pred, Geometry const &geometry, float epsilon, bool only_exists, bool early_stopping)
 
 TreeQueryNearestIterator (TreeQueryNearestIterator const &)=default
 
template<class Predicate2 , class Geometry2 >
 TreeQueryNearestIterator (TreeQueryNearestIterator< Tree, Predicate2, Geometry2 > const &other)
 
template<class Predicate2 , class Geometry2 >
bool operator!= (TreeQueryNearestIterator< Tree, Predicate2, Geometry2 > const &other)
 
reference operator* () const
 
TreeQueryNearestIteratoroperator++ ()
 
TreeQueryNearestIterator operator++ (int)
 
pointer operator-> () const
 
template<class Predicate2 , class Geometry2 >
bool operator== (TreeQueryNearestIterator< Tree, Predicate2, Geometry2 > const &other)
 

Detailed Description

template<class Tree, class Predicate = pred::Predicate<Tree>, class Geometry = DynamicGeometry>
class ufo::TreeQueryNearestIterator< Tree, Predicate, Geometry >

Definition at line 61 of file query_nearest_iterator.hpp.

Member Typedef Documentation

◆ difference_type

template<class Tree , class Predicate = pred::Predicate<Tree>, class Geometry = DynamicGeometry>
using ufo::TreeQueryNearestIterator< Tree, Predicate, Geometry >::difference_type = std::ptrdiff_t

Definition at line 101 of file query_nearest_iterator.hpp.

◆ iterator_category

template<class Tree , class Predicate = pred::Predicate<Tree>, class Geometry = DynamicGeometry>
using ufo::TreeQueryNearestIterator< Tree, Predicate, Geometry >::iterator_category = std::forward_iterator_tag

Definition at line 100 of file query_nearest_iterator.hpp.

◆ pointer

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

Definition at line 104 of file query_nearest_iterator.hpp.

◆ reference

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

Definition at line 103 of file query_nearest_iterator.hpp.

◆ value_type

template<class Tree , class Predicate = pred::Predicate<Tree>, class Geometry = DynamicGeometry>
using ufo::TreeQueryNearestIterator< Tree, Predicate, Geometry >::value_type = DistanceNode

Definition at line 102 of file query_nearest_iterator.hpp.

Constructor & Destructor Documentation

◆ TreeQueryNearestIterator() [1/2]

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

Definition at line 108 of file query_nearest_iterator.hpp.

◆ TreeQueryNearestIterator() [2/2]

template<class Tree , class Predicate = pred::Predicate<Tree>, class Geometry = DynamicGeometry>
template<class Predicate2 , class Geometry2 >
ufo::TreeQueryNearestIterator< Tree, Predicate, Geometry >::TreeQueryNearestIterator ( TreeQueryNearestIterator< Tree, Predicate2, Geometry2 > const &  other)
inline

Definition at line 141 of file query_nearest_iterator.hpp.

Member Function Documentation

◆ operator!=()

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

Definition at line 179 of file query_nearest_iterator.hpp.

◆ operator*()

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

Definition at line 168 of file query_nearest_iterator.hpp.

◆ operator++() [1/2]

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

Definition at line 154 of file query_nearest_iterator.hpp.

◆ operator++() [2/2]

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

Definition at line 161 of file query_nearest_iterator.hpp.

◆ operator->()

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

Definition at line 170 of file query_nearest_iterator.hpp.

◆ operator==()

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

Definition at line 173 of file query_nearest_iterator.hpp.

Friends And Related Symbol Documentation

◆ TreeQueryNearestIterator

template<class Tree , class Predicate = pred::Predicate<Tree>, class Geometry = DynamicGeometry>
template<class , class , class >
friend class TreeQueryNearestIterator
friend

Definition at line 69 of file query_nearest_iterator.hpp.


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