UFO
1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
leaf_block.hpp
1
42
#ifndef UFO_CONTAINER_TREE_MAP_LEAF_BLOCK_HPP
43
#define UFO_CONTAINER_TREE_MAP_LEAF_BLOCK_HPP
44
45
// UFO
46
#include <ufo/geometry/aabb.hpp>
47
#include <ufo/numeric/vec.hpp>
48
49
// STL
50
#include <array>
51
#include <cstddef>
52
#include <list>
53
#include <utility>
54
55
namespace
ufo
56
{
57
template
<std::
size_t
Dim, std::
size_t
BF,
class
T>
58
struct
TreeMapLeafBlock
{
59
using
value_type = std::pair<Vec<Dim, float>
const
, T>;
60
using
container_type = std::list<value_type>;
61
using
bounds_type
=
AABB<Dim, float>
;
62
63
std::array<container_type, BF> values;
64
std::array<bounds_type, BF> bounds;
65
};
66
}
// namespace ufo
67
68
#endif
// UFO_CONTAINER_TREE_MAP_LEAF_BLOCK_HPP
ufo
All vision-related classes and functions.
Definition
cloud.hpp:49
ufo::AABB
Axis-Aligned Bounding Box (AABB) in Dim-dimensional space.
Definition
aabb.hpp:70
ufo::TreeMapLeafBlock
Definition
leaf_block.hpp:58
lib
container
include
ufo
container
tree
map
leaf_block.hpp
Generated by
1.9.8