supereight
Namespaces | Functions
allocator.hpp File Reference
#include <Eigen/StdVector>
#include <set>
#include "octree.hpp"
#include "se/map/utils/type_util.hpp"
#include "impl/allocator_impl.hpp"

Go to the source code of this file.

Namespaces

 se
 Helper wrapper to allocate and de-allocate octants in the octree.
 
 se::allocator
 
 se::allocator::detail
 

Functions

template<typename OctreeT >
se::OctantBasese::allocator::block (const Eigen::Vector3i &voxel_coord, OctreeT &octree, se::OctantBase *base_parent_ptr)
 Allocate a block at the provided voxel coordinates. More...
 
template<typename OctreeT >
se::OctantBasese::allocator::block (const se::key_t voxel_key, OctreeT &octree, se::OctantBase *base_parent_ptr)
 
template<typename OctreeT >
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. More...
 
template<typename OctreeT >
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. More...
 
template<typename OctreeT >
bool se::allocator::detail::allocate_key (const se::key_t key, OctreeT &octree, se::OctantBase *base_parent_ptr, se::OctantBase *&allocated_octant)
 Allocate a given key in the octree. More...