supereight
Loading...
Searching...
No Matches
Namespaces | Functions
allocator.hpp File Reference
#include <se/map/utils/octant_util.hpp>
#include <set>
#include "impl/allocator_impl.hpp"
Include dependency graph for allocator.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  se
 Helper wrapper to allocate and de-allocate octants in the octree.
 
namespace  se::allocator
 
namespace  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.
 
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.
 
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.
 
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.