9#ifndef SE_ALLOCATOR_HPP
10#define SE_ALLOCATOR_HPP
32template<
typename OctreeT>
36template<
typename OctreeT>
53template<
typename OctreeT>
54std::vector<se::OctantBase*>
55blocks(
const std::vector<Eigen::Vector3i, Eigen::aligned_allocator<Eigen::Vector3i>>&
voxel_coords,
73template<
typename OctreeT>
96template<
typename OctreeT>
108#include "impl/allocator_impl.hpp"
The base class of all octants (se::Node and se::Block) in an se::Octree.
Definition octant.hpp:19
bool 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.
se::OctantBase * block(const Eigen::Vector3i &voxel_coord, OctreeT &octree, se::OctantBase *base_parent_ptr)
Allocate a block at the provided voxel coordinates.
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.
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14
uint64_t key_t
key = 1 bit buffer + 57 bits of morton code + 6 bits of scale information The maxium scale is limited...
Definition type_util.hpp:43