supereight
|
Namespaces | |
namespace | detail |
Functions | |
template<typename MapT , typename SensorT > | |
std::vector< se::OctantBase * > | frustum (MapT &map, SensorT &sensor, const se::Image< float > &depth_img, const Eigen::Isometry3f &T_WS, const float band) |
Allocate frustum in band around the surface. | |
template<typename OctreeT > | |
se::OctantBase * | block (const Eigen::Vector3i &voxel_coord, OctreeT &octree, se::OctantBase *base_parent_ptr) |
Allocate a block at the provided voxel coordinates. | |
template<typename OctreeT > | |
se::OctantBase * | block (const se::key_t voxel_key, OctreeT &octree, se::OctantBase *base_parent_ptr) |
template<typename OctreeT > | |
std::vector< se::OctantBase * > | blocks (const std::vector< Eigen::Vector3i, Eigen::aligned_allocator< Eigen::Vector3i > > &voxel_coords, OctreeT &octree, se::OctantBase *base_parent_ptr, const bool only_allocated=false) |
Allocate Blocks at the provided voxel coordinates. | |
template<typename OctreeT > | |
std::vector< se::OctantBase * > | blocks (std::vector< se::key_t > &voxel_keys, OctreeT &octree, se::OctantBase *base_parent_ptr, const bool only_allocated=false) |
Allocate Blocks at the provided voxel Morton codes. | |
std::vector< se::OctantBase * > se::allocator::frustum | ( | MapT & | map, |
SensorT & | sensor, | ||
const se::Image< float > & | depth_img, | ||
const Eigen::Isometry3f & | T_WS, | ||
const float | band | ||
) |
Allocate frustum in band around the surface.
MapT | |
SensorT |
[in] | map | The reference to the map |
[in] | sensor | The sensor use for the projection |
[in] | depth_img | The sensor depth image |
[in] | T_WS | The transformation from sensor to world frame |
[in] | band | The size of the band allocated around the surface |
|
inline |
Allocate a block at the provided voxel coordinates.
OctreeT | The Octree template |
[in] | voxel_coord | The 3D coordinates of a voxel within the block |
[in] | octree | The octree to allocate the block in |
[in] | base_parent_ptr | The starting node pointer (default nullptr will be replaced with octree root) |
|
inline |
std::vector< se::OctantBase * > se::allocator::blocks | ( | const std::vector< Eigen::Vector3i, Eigen::aligned_allocator< Eigen::Vector3i > > & | voxel_coords, |
OctreeT & | octree, | ||
se::OctantBase * | base_parent_ptr, | ||
const bool | only_allocated = false |
||
) |
Allocate Blocks at the provided voxel coordinates.
OctreeT | The Octree template. |
[in] | voxel_coords | The 3D coordinates of a voxel within each block. |
[in] | octree | The octree to allocate the blocks in. |
[in] | base_parent_ptr | The starting node pointer. A nullptr will be replaced with the octree root. |
[in] | only_allocated | Return pointers only for the newly allocated Blocks instead of all the Blocks corresponding to the coordinates in voxel_coords. |
std::vector< se::OctantBase * > se::allocator::blocks | ( | std::vector< se::key_t > & | voxel_keys, |
OctreeT & | octree, | ||
se::OctantBase * | base_parent_ptr, | ||
const bool | only_allocated = false |
||
) |
Allocate Blocks at the provided voxel Morton codes.
OctreeT | The Octree template. |
[in] | voxel_keys | The Morton code of a voxel within each block. |
[in] | octree | The octree to allocate the blocks in. |
[in] | base_parent_ptr | The starting node pointer. A nullptr will be replaced with the octree root. |
[in] | only_allocated | Return pointers only for the newly allocated Blocks instead of all the Blocks corresponding to the Morton codes in voxel_keys. |