UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::TreeSetBlock< Dim, BF > Struct Template Reference
Inheritance diagram for ufo::TreeSetBlock< Dim, BF >:
ufo::TreeBlock< Dim, BF >

Public Types

using Base = TreeBlock< Dim, BF >
 
using Bounds = AABB< Dim, typename Point::value_type >
 
using Code = TreeCode< Dim >
 
using container_type = std::list< value_type >
 
using Length = typename Base::Length
 
using length_t = typename Base::length_t
 
using Point = typename Base::Point
 
using scalar_type = typename Point::value_type
 
using value_type = Point
 
- Public Types inherited from ufo::TreeBlock< Dim, BF >
using InnerBlock = TreeInnerBlock< Dim, BF >
 
using LeafBlock = TreeLeafBlock< Dim, BF >
 

Public Member Functions

constexpr TreeSetBlock (TreeIndex::pos_t parent_block, Code code, Point center, Length half_length)
 
constexpr TreeSetBlock (TreeIndex::pos_t parent_block, TreeSetBlock const &parent, std::size_t offset, Length half_length)
 

Public Attributes

std::array< Bounds, BF > bounds = createArray<BF>(Bounds(MAX, MIN))
 
std::array< container_type, BF > values
 

Static Public Attributes

static constexpr auto const MAX
 
static constexpr auto const MIN
 

Detailed Description

template<std::size_t Dim, std::size_t BF>
struct ufo::TreeSetBlock< Dim, BF >

Definition at line 60 of file block.hpp.

Member Typedef Documentation

◆ Base

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::Base = TreeBlock<Dim, BF>

Definition at line 61 of file block.hpp.

◆ Bounds

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::Bounds = AABB<Dim, typename Point::value_type>

Definition at line 67 of file block.hpp.

◆ Code

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::Code = TreeCode<Dim>

Definition at line 63 of file block.hpp.

◆ container_type

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::container_type = std::list<value_type>

Definition at line 70 of file block.hpp.

◆ Length

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::Length = typename Base::Length

Definition at line 65 of file block.hpp.

◆ length_t

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::length_t = typename Base::length_t

Definition at line 64 of file block.hpp.

◆ Point

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::Point = typename Base::Point

Definition at line 66 of file block.hpp.

◆ scalar_type

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::scalar_type = typename Point::value_type

Definition at line 68 of file block.hpp.

◆ value_type

template<std::size_t Dim, std::size_t BF>
using ufo::TreeSetBlock< Dim, BF >::value_type = Point

Definition at line 69 of file block.hpp.

Constructor & Destructor Documentation

◆ TreeSetBlock() [1/2]

template<std::size_t Dim, std::size_t BF>
constexpr ufo::TreeSetBlock< Dim, BF >::TreeSetBlock ( TreeIndex::pos_t  parent_block,
Code  code,
Point  center,
Length  half_length 
)
inlineconstexpr

Definition at line 82 of file block.hpp.

◆ TreeSetBlock() [2/2]

template<std::size_t Dim, std::size_t BF>
constexpr ufo::TreeSetBlock< Dim, BF >::TreeSetBlock ( TreeIndex::pos_t  parent_block,
TreeSetBlock< Dim, BF > const &  parent,
std::size_t  offset,
Length  half_length 
)
inlineconstexpr

Definition at line 88 of file block.hpp.

Member Data Documentation

◆ bounds

template<std::size_t Dim, std::size_t BF>
std::array<Bounds, BF> ufo::TreeSetBlock< Dim, BF >::bounds = createArray<BF>(Bounds(MAX, MIN))

Definition at line 77 of file block.hpp.

◆ MAX

template<std::size_t Dim, std::size_t BF>
constexpr auto const ufo::TreeSetBlock< Dim, BF >::MAX
staticconstexpr
Initial value:
=
Point(std::numeric_limits<typename Point::value_type>::max())

Definition at line 74 of file block.hpp.

◆ MIN

template<std::size_t Dim, std::size_t BF>
constexpr auto const ufo::TreeSetBlock< Dim, BF >::MIN
staticconstexpr
Initial value:
=
Point(std::numeric_limits<typename Point::value_type>::lowest())

Definition at line 72 of file block.hpp.

◆ values

template<std::size_t Dim, std::size_t BF>
std::array<container_type, BF> ufo::TreeSetBlock< Dim, BF >::values

Definition at line 78 of file block.hpp.


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