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

Public Types

using Code = typename Tree::Code
 
using Coord = typename Tree::Coord
 
using coord_t = typename Tree::coord_t
 
using depth_t = typename Tree::depth_t
 
using DistanceBounds = typename Block::Bounds
 
using Index = typename Tree::Index
 
using Key = typename Tree::Key
 
using length_t = typename Tree::length_t
 
using Node = typename Tree::Node
 
using offset_t = typename Tree::offset_t
 
using Point = typename Tree::Point
 
using pos_t = typename Tree::pos_t
 

Public Member Functions

template<bool FastAsSonic, class Geometry >
float distance (Geometry const &query, DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<class Geometry , class Predicate = pred::Leaf, std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
float distance (Geometry const &query, Predicate const &pred=pred::Leaf(), DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<bool FastAsSonic, class NodeType , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
float distance (NodeType node, Geometry const &query, DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<class NodeType , class Pred , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
float distance (NodeType node, Predicate const &pred, Geometry const &query, DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
DistanceBounds distanceBounds (NodeType node) const
 
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
bool distanceContainsSurface (NodeType node) const
 
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
DistanceInfo< Dim > distanceInfo (NodeType node) const
 
template<bool FastAsSonic, class Geometry >
std::pair< float, Index > distancePoint (Geometry const &query, DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<bool FastAsSonic, class NodeType , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
std::pair< float, Index > distancePoint (NodeType node, Geometry const &query, DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<class NodeType , class Predicate , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
std::pair< float, Point > distancePoint (NodeType node, Predicate const &pred, Geometry const &query, DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<class Predicate , class Geometry , std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
std::pair< float, Point > distancePoint (Predicate const &pred, Geometry const &query, DistanceInterpolate interpolate=DistanceInterpolate::ALL, float max_distance=std::numeric_limits< float >::max(), float epsilon=0.0f, NearestSearchAlgorithm search_alg=NearestSearchAlgorithm::DEPTH_FIRST) const
 
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void distanceReset (NodeType node, bool propagate=true)
 
template<class NodeType , class UnaryPred , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< std::is_invocable_r_v< bool, UnaryPred, Index >, bool > = true>
void distanceResetIf (NodeType node, UnaryPred p, bool propagate=true)
 
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void distanceSet (NodeType node, DistanceInfo< Dim > info, bool propagate=true)
 
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void distanceSet (NodeType node, Point const &point, float weight=1.0f, bool propagate=true)
 
template<class NodeType , class UnaryOp , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< std::is_invocable_r_v< DistanceInfo< Dim >, UnaryOp, Index >, bool > = true>
void distanceSet (NodeType node, UnaryOp unary_op, bool propagate=true)
 
template<class Geometry >
float distanceSomething (Index node, Geometry const &query) const
 
template<class Geometry >
float distanceSquared (Index node, Geometry const &query) const
 
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void distanceUpdate (NodeType node, Point const &point, float weight=1.0f, bool propagate=true)
 
template<class Geometry >
bool intersects (Index node, Geometry const &query) const
 

Static Public Attributes

static constexpr MapType const Type = MapType::DISTANCE
 

Protected Member Functions

 DistanceMap (DistanceMap &&other)=default
 
 DistanceMap (DistanceMap const &other)=default
 
template<class Derived2 , class Tree2 , bool WithBounds2>
 DistanceMap (DistanceMap< Derived2, Tree2, WithBounds2 > &&other)
 
template<class Derived2 , class Tree2 , bool WithBounds2>
 DistanceMap (DistanceMap< Derived2, Tree2, WithBounds2 > const &other)
 
void createRoot ()
 
constexpr Derived & derived ()
 
constexpr Derived const & derived () const
 
bool isPrunable (pos_t block) const
 
void onClear ()
 
void onCreateChildren (Index node)
 
void onDisable ()
 
void onDotFileInfo (std::ostream &out, Index node) const
 
void onEnable (std::size_t num_blocks)
 
void onFillChildren (Index node, pos_t children)
 
void onPruneChildren (Index node, pos_t)
 
void onRead (ReadBuffer &in, std::vector< std::pair< pos_t, BitSet< BF > > > const &nodes)
 
void onReserve (std::size_t cap)
 
void onSetSize (std::size_t size)
 
void onUpdateNode (Index node, pos_t children)
 
void onWrite (WriteBuffer &out, std::vector< std::pair< pos_t, BitSet< BF > > > const &nodes)
 
DistanceMapoperator= (DistanceMap &&rhs)=default
 
DistanceMapoperator= (DistanceMap const &rhs)=default
 
template<class Derived2 , class Tree2 , bool WithBounds2>
DistanceMapoperator= (DistanceMap< Derived2, Tree2, WithBounds2 > &&rhs)
 
template<class Derived2 , class Tree2 , bool WithBounds2>
DistanceMapoperator= (DistanceMap< Derived2, Tree2, WithBounds2 > const &rhs)
 
constexpr std::size_t serializedSize (std::vector< std::pair< pos_t, BitSet< BF > > > const &, std::size_t num_nodes) const
 
void swap (DistanceMap &other) noexcept(noexcept(distance_.swap(other.distance_)))
 

Static Protected Member Functions

static constexpr std::size_t serializedSizeNode () noexcept
 

Protected Attributes

TreeContainer< Blockdistance_
 

Detailed Description

template<class Derived, class Tree, bool WithBounds = true>
class ufo::DistanceMap< Derived, Tree, WithBounds >

Definition at line 67 of file map.hpp.

Member Typedef Documentation

◆ Code

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::Code = typename Tree::Code

Definition at line 89 of file map.hpp.

◆ Coord

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::Coord = typename Tree::Coord

Definition at line 92 of file map.hpp.

◆ coord_t

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::coord_t = typename Tree::coord_t

Definition at line 93 of file map.hpp.

◆ depth_t

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::depth_t = typename Tree::depth_t

Definition at line 94 of file map.hpp.

◆ DistanceBounds

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::DistanceBounds = typename Block::Bounds

Definition at line 99 of file map.hpp.

◆ Index

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::Index = typename Tree::Index

Definition at line 87 of file map.hpp.

◆ Key

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::Key = typename Tree::Key

Definition at line 90 of file map.hpp.

◆ length_t

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::length_t = typename Tree::length_t

Definition at line 96 of file map.hpp.

◆ Node

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::Node = typename Tree::Node

Definition at line 88 of file map.hpp.

◆ offset_t

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::offset_t = typename Tree::offset_t

Definition at line 95 of file map.hpp.

◆ Point

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::Point = typename Tree::Point

Definition at line 91 of file map.hpp.

◆ pos_t

template<class Derived , class Tree , bool WithBounds = true>
using ufo::DistanceMap< Derived, Tree, WithBounds >::pos_t = typename Tree::pos_t

Definition at line 97 of file map.hpp.

Constructor & Destructor Documentation

◆ DistanceMap() [1/3]

template<class Derived , class Tree , bool WithBounds = true>
ufo::DistanceMap< Derived, Tree, WithBounds >::DistanceMap ( )
inlineprotected

Definition at line 976 of file map.hpp.

◆ DistanceMap() [2/3]

template<class Derived , class Tree , bool WithBounds = true>
template<class Derived2 , class Tree2 , bool WithBounds2>
ufo::DistanceMap< Derived, Tree, WithBounds >::DistanceMap ( DistanceMap< Derived2, Tree2, WithBounds2 > const &  other)
inlineprotected

Definition at line 983 of file map.hpp.

◆ DistanceMap() [3/3]

template<class Derived , class Tree , bool WithBounds = true>
template<class Derived2 , class Tree2 , bool WithBounds2>
ufo::DistanceMap< Derived, Tree, WithBounds >::DistanceMap ( DistanceMap< Derived2, Tree2, WithBounds2 > &&  other)
inlineprotected

Definition at line 989 of file map.hpp.

Member Function Documentation

◆ createRoot()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::createRoot ( )
inlineprotected

Definition at line 1043 of file map.hpp.

◆ derived() [1/2]

template<class Derived , class Tree , bool WithBounds = true>
constexpr Derived & ufo::DistanceMap< Derived, Tree, WithBounds >::derived ( )
inlineconstexprprotected

Definition at line 1051 of file map.hpp.

◆ derived() [2/2]

template<class Derived , class Tree , bool WithBounds = true>
constexpr Derived const & ufo::DistanceMap< Derived, Tree, WithBounds >::derived ( ) const
inlineconstexprprotected

Definition at line 1053 of file map.hpp.

◆ distance() [1/4]

template<class Derived , class Tree , bool WithBounds = true>
template<bool FastAsSonic, class Geometry >
float ufo::DistanceMap< Derived, Tree, WithBounds >::distance ( Geometry const &  query,
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 600 of file map.hpp.

◆ distance() [2/4]

template<class Derived , class Tree , bool WithBounds = true>
template<class Geometry , class Predicate = pred::Leaf, std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
float ufo::DistanceMap< Derived, Tree, WithBounds >::distance ( Geometry const &  query,
Predicate const &  pred = pred::Leaf(),
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 576 of file map.hpp.

◆ distance() [3/4]

template<class Derived , class Tree , bool WithBounds = true>
template<bool FastAsSonic, class NodeType , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
float ufo::DistanceMap< Derived, Tree, WithBounds >::distance ( NodeType  node,
Geometry const &  query,
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 611 of file map.hpp.

◆ distance() [4/4]

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , class Pred , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
float ufo::DistanceMap< Derived, Tree, WithBounds >::distance ( NodeType  node,
Predicate const &  pred,
Geometry const &  query,
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 589 of file map.hpp.

◆ distanceBounds()

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
DistanceBounds ufo::DistanceMap< Derived, Tree, WithBounds >::distanceBounds ( NodeType  node) const
inline

Definition at line 777 of file map.hpp.

◆ distanceContainsSurface()

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
bool ufo::DistanceMap< Derived, Tree, WithBounds >::distanceContainsSurface ( NodeType  node) const
inline

Definition at line 761 of file map.hpp.

◆ distanceInfo()

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
DistanceInfo< Dim > ufo::DistanceMap< Derived, Tree, WithBounds >::distanceInfo ( NodeType  node) const
inline

Definition at line 769 of file map.hpp.

◆ distancePoint() [1/4]

template<class Derived , class Tree , bool WithBounds = true>
template<bool FastAsSonic, class Geometry >
std::pair< float, Index > ufo::DistanceMap< Derived, Tree, WithBounds >::distancePoint ( Geometry const &  query,
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 694 of file map.hpp.

◆ distancePoint() [2/4]

template<class Derived , class Tree , bool WithBounds = true>
template<bool FastAsSonic, class NodeType , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
std::pair< float, Index > ufo::DistanceMap< Derived, Tree, WithBounds >::distancePoint ( NodeType  node,
Geometry const &  query,
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 705 of file map.hpp.

◆ distancePoint() [3/4]

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , class Predicate , class Geometry , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
std::pair< float, Point > ufo::DistanceMap< Derived, Tree, WithBounds >::distancePoint ( NodeType  node,
Predicate const &  pred,
Geometry const &  query,
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 682 of file map.hpp.

◆ distancePoint() [4/4]

template<class Derived , class Tree , bool WithBounds = true>
template<class Predicate , class Geometry , std::enable_if_t< pred::is_pred_v< Predicate >, bool > = true>
std::pair< float, Point > ufo::DistanceMap< Derived, Tree, WithBounds >::distancePoint ( Predicate const &  pred,
Geometry const &  query,
DistanceInterpolate  interpolate = DistanceInterpolate::ALL,
float  max_distance = std::numeric_limits<float>::max(),
float  epsilon = 0.0f,
NearestSearchAlgorithm  search_alg = NearestSearchAlgorithm::DEPTH_FIRST 
) const
inline

Definition at line 669 of file map.hpp.

◆ distanceReset()

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::distanceReset ( NodeType  node,
bool  propagate = true 
)
inline

Definition at line 933 of file map.hpp.

◆ distanceResetIf()

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , class UnaryPred , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< std::is_invocable_r_v< bool, UnaryPred, Index >, bool > = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::distanceResetIf ( NodeType  node,
UnaryPred  p,
bool  propagate = true 
)
inline

Definition at line 942 of file map.hpp.

◆ distanceSet() [1/3]

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::distanceSet ( NodeType  node,
DistanceInfo< Dim >  info,
bool  propagate = true 
)
inline

Definition at line 795 of file map.hpp.

◆ distanceSet() [2/3]

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::distanceSet ( NodeType  node,
Point const &  point,
float  weight = 1.0f,
bool  propagate = true 
)
inline

Definition at line 840 of file map.hpp.

◆ distanceSet() [3/3]

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , class UnaryOp , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true, std::enable_if_t< std::is_invocable_r_v< DistanceInfo< Dim >, UnaryOp, Index >, bool > = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::distanceSet ( NodeType  node,
UnaryOp  unary_op,
bool  propagate = true 
)
inline

Definition at line 850 of file map.hpp.

◆ distanceSomething()

template<class Derived , class Tree , bool WithBounds = true>
template<class Geometry >
float ufo::DistanceMap< Derived, Tree, WithBounds >::distanceSomething ( Index  node,
Geometry const &  query 
) const
inline

Definition at line 569 of file map.hpp.

◆ distanceSquared()

template<class Derived , class Tree , bool WithBounds = true>
template<class Geometry >
float ufo::DistanceMap< Derived, Tree, WithBounds >::distanceSquared ( Index  node,
Geometry const &  query 
) const
inline

Definition at line 115 of file map.hpp.

◆ distanceUpdate()

template<class Derived , class Tree , bool WithBounds = true>
template<class NodeType , std::enable_if_t< Tree::template is_node_type_v< NodeType >, bool > = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::distanceUpdate ( NodeType  node,
Point const &  point,
float  weight = 1.0f,
bool  propagate = true 
)
inline

Definition at line 887 of file map.hpp.

◆ intersects()

template<class Derived , class Tree , bool WithBounds = true>
template<class Geometry >
bool ufo::DistanceMap< Derived, Tree, WithBounds >::intersects ( Index  node,
Geometry const &  query 
) const
inline

Definition at line 108 of file map.hpp.

◆ isPrunable()

template<class Derived , class Tree , bool WithBounds = true>
bool ufo::DistanceMap< Derived, Tree, WithBounds >::isPrunable ( pos_t  block) const
inlineprotected

Definition at line 1125 of file map.hpp.

◆ onClear()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onClear ( )
inlineprotected

Definition at line 1064 of file map.hpp.

◆ onCreateChildren()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onCreateChildren ( Index  node)
inlineprotected

Definition at line 1070 of file map.hpp.

◆ onDisable()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onDisable ( )
inlineprotected

Definition at line 1099 of file map.hpp.

◆ onDotFileInfo()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onDotFileInfo ( std::ostream &  out,
Index  node 
) const
inlineprotected

Definition at line 1193 of file map.hpp.

◆ onEnable()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onEnable ( std::size_t  num_blocks)
inlineprotected

Definition at line 1093 of file map.hpp.

◆ onFillChildren()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onFillChildren ( Index  node,
pos_t  children 
)
inlineprotected

Definition at line 1075 of file map.hpp.

◆ onPruneChildren()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onPruneChildren ( Index  node,
pos_t   
)
inlineprotected

Definition at line 1080 of file map.hpp.

◆ onRead()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onRead ( ReadBuffer in,
std::vector< std::pair< pos_t, BitSet< BF > > > const &  nodes 
)
inlineprotected

Definition at line 1149 of file map.hpp.

◆ onReserve()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onReserve ( std::size_t  cap)
inlineprotected

Definition at line 1089 of file map.hpp.

◆ onSetSize()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onSetSize ( std::size_t  size)
inlineprotected

Definition at line 1091 of file map.hpp.

◆ onUpdateNode()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onUpdateNode ( Index  node,
pos_t  children 
)
inlineprotected

Definition at line 1101 of file map.hpp.

◆ onWrite()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::onWrite ( WriteBuffer out,
std::vector< std::pair< pos_t, BitSet< BF > > > const &  nodes 
)
inlineprotected

Definition at line 1174 of file map.hpp.

◆ operator=() [1/2]

template<class Derived , class Tree , bool WithBounds = true>
template<class Derived2 , class Tree2 , bool WithBounds2>
DistanceMap & ufo::DistanceMap< Derived, Tree, WithBounds >::operator= ( DistanceMap< Derived2, Tree2, WithBounds2 > &&  rhs)
inlineprotected

Definition at line 1020 of file map.hpp.

◆ operator=() [2/2]

template<class Derived , class Tree , bool WithBounds = true>
template<class Derived2 , class Tree2 , bool WithBounds2>
DistanceMap & ufo::DistanceMap< Derived, Tree, WithBounds >::operator= ( DistanceMap< Derived2, Tree2, WithBounds2 > const &  rhs)
inlineprotected

Definition at line 1013 of file map.hpp.

◆ serializedSize()

template<class Derived , class Tree , bool WithBounds = true>
constexpr std::size_t ufo::DistanceMap< Derived, Tree, WithBounds >::serializedSize ( std::vector< std::pair< pos_t, BitSet< BF > > > const &  ,
std::size_t  num_nodes 
) const
inlineconstexprprotected

Definition at line 1142 of file map.hpp.

◆ serializedSizeNode()

template<class Derived , class Tree , bool WithBounds = true>
static constexpr std::size_t ufo::DistanceMap< Derived, Tree, WithBounds >::serializedSizeNode ( )
inlinestaticconstexprprotectednoexcept

Definition at line 1137 of file map.hpp.

◆ swap()

template<class Derived , class Tree , bool WithBounds = true>
void ufo::DistanceMap< Derived, Tree, WithBounds >::swap ( DistanceMap< Derived, Tree, WithBounds > &  other)
inlineprotectednoexcept

Definition at line 1032 of file map.hpp.

Friends And Related Symbol Documentation

◆ DistanceMap

template<class Derived , class Tree , bool WithBounds = true>
template<class Derived2 , class Tree2 , bool WithBounds2>
friend class DistanceMap
friend

Definition at line 70 of file map.hpp.

Member Data Documentation

◆ distance_

template<class Derived , class Tree , bool WithBounds = true>
TreeContainer<Block> ufo::DistanceMap< Derived, Tree, WithBounds >::distance_
protected

Definition at line 1205 of file map.hpp.

◆ Type

template<class Derived , class Tree , bool WithBounds = true>
constexpr MapType const ufo::DistanceMap< Derived, Tree, WithBounds >::Type = MapType::DISTANCE
staticconstexpr

Definition at line 84 of file map.hpp.


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