|
UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
|
Public Types | |
| using | code_type = std::uint32_t |
| using | depth_type = std::uint32_t |
| using | key_type = typename TreeKey< Dim >::key_type |
| using | size_type = std::size_t |
Public Member Functions | |
| constexpr | TreeCode (std::array< code_type, 3 > const &code) |
| constexpr | TreeCode (std::array< code_type, 3 > const &code, depth_type const &depth) |
| constexpr | TreeCode (TreeCode const &) noexcept=default |
| constexpr | TreeCode (TreeKey< Dim > const &key) |
| constexpr TreeCode | child (std::size_t idx) const |
| Get the code of a specific child of this code. | |
| constexpr depth_type | depth () const noexcept |
| constexpr TreeCode | firstborn () const |
| Get the code of the firstborn child of this code (same as child(0)). | |
| constexpr TreeCode | firstbornSibling (std::size_t idx) const |
| Get the code of a specific sibling of this firstborn code. | |
| constexpr void | invalidate () noexcept |
| constexpr bool | isAncestorOf (TreeCode const &other) const noexcept |
| constexpr bool | isDescendantOf (TreeCode const &other) const noexcept |
| constexpr bool | isSiblingOf (TreeCode const &other) const noexcept |
| code_type | lowestOffsets () const |
| void | lowestOffsets (code_type lowest_offsets, depth_type depth=0) |
| constexpr TreeCode | nextSibling () const |
| constexpr code_type | offset () const |
Get the offset at the current depth (same as c.offset(c.depth())). | |
| constexpr code_type | offset (depth_type depth) const |
| Get the offset at a specific depth for this code. | |
| constexpr | operator TreeKey< Dim > () const noexcept |
| constexpr TreeCode & | operator= (TreeCode const &) noexcept=default |
| constexpr key_type | operator[] (size_type pos) const noexcept |
| constexpr TreeCode | parent () const |
| constexpr TreeCode | prevSibling () const |
| constexpr void | setDepth (depth_type depth) |
| constexpr void | setOffset (code_type offset) |
| constexpr void | setOffset (depth_type depth, code_type offset) |
| constexpr TreeCode | sibling (std::size_t idx) const |
| Get the code of a specific sibling of this code. | |
| constexpr TreeCode | toDepth (depth_type depth) const |
| constexpr bool | valid () const noexcept |
Static Public Member Functions | |
| static constexpr std::size_t | branchingFactor () noexcept |
| static constexpr TreeCode | invalid () noexcept |
| static constexpr depth_type | lowestCommonAncestor (TreeCode const &lhs, TreeCode const &rhs) noexcept |
| static constexpr depth_type | maxDepth () noexcept |
| static constexpr bool | sameAncestorAtDepth (TreeCode const &lhs, TreeCode const &rhs, depth_type depth) noexcept |
| static constexpr size_type | size () noexcept |
Friends | |
| constexpr bool | operator!= (TreeCode const &lhs, TreeCode const &rhs) noexcept |
| constexpr bool | operator< (TreeCode const &lhs, TreeCode const &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &os, TreeCode const &code) |
| constexpr bool | operator<= (TreeCode const &lhs, TreeCode const &rhs) noexcept |
| constexpr bool | operator== (TreeCode const &lhs, TreeCode const &rhs) noexcept |
| constexpr bool | operator> (TreeCode const &lhs, TreeCode const &rhs) noexcept |
| constexpr bool | operator>= (TreeCode const &lhs, TreeCode const &rhs) noexcept |
| class | std::hash< TreeCode > |
| using ufo::TreeCode< Dim >::code_type = std::uint32_t |
| using ufo::TreeCode< Dim >::depth_type = std::uint32_t |
| using ufo::TreeCode< Dim >::key_type = typename TreeKey<Dim>::key_type |
| using ufo::TreeCode< Dim >::size_type = std::size_t |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineexplicitconstexpr |
|
inlinestaticconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |
|
inline |
|
inline |
|
inlinestaticconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
friend |
|
friend |