supereight
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
fetcher.hpp File Reference
#include <se/map/utils/octant_util.hpp>
#include "impl/fetcher_impl.hpp"
Include dependency graph for fetcher.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::fetcher
 

Functions

template<typename OctreeT >
OctantBasese::fetcher::octant (const Eigen::Vector3i &octant_coord, const scale_t scale_desired, OctantBase *const base_parent_ptr)
 Return the octant with coordinates in voxels octant_coord and scale scale_desired.
 
template<typename OctreeT >
const OctantBasese::fetcher::octant (const Eigen::Vector3i &octant_coord, const scale_t scale_desired, const OctantBase *const base_parent_ptr)
 Same as se::fetcher::octant() but returning a pointer to const.
 
template<typename OctreeT >
OctantBasese::fetcher::finest_octant (const Eigen::Vector3i &octant_coord, const scale_t scale_desired, OctantBase *const base_parent_ptr)
 Return the finest allocated octant with coordinates in voxels octant_coord and scale up to scale_desired.
 
template<typename OctreeT >
const OctantBasese::fetcher::finest_octant (const Eigen::Vector3i &octant_coord, const scale_t scale_desired, const OctantBase *const base_parent_ptr)
 Same as se::fetcher::finest_octant() but returning a pointer to const.
 
template<typename OctreeT >
OctantBasese::fetcher::block (const Eigen::Vector3i &block_coord, OctantBase *const base_parent_ptr)
 Return the block with coordinates in voxels block_coord.
 
template<typename OctreeT >
const OctantBasese::fetcher::block (const Eigen::Vector3i &block_coord, const OctantBase *const base_parent_ptr)
 Same as se::fetcher::block() but returning a pointer to const.
 
template<typename OctreeT >
OctantBasese::fetcher::leaf (const Eigen::Vector3i &leaf_coord, OctantBase *const base_parent_ptr)
 Return the finest allocated octant with coordinates in voxels block_coord.
 
template<typename OctreeT >
const OctantBasese::fetcher::leaf (const Eigen::Vector3i &leaf_coord, const OctantBase *const base_parent_ptr)
 Same as se::fetcher::leaf() but returning a pointer to const.
 
template<typename OctreeT >
std::vector< const OctantBase * > se::fetcher::face_neighbours (const OctantBase *const octant_ptr, const OctreeT &octree)
 Return the face neighbours of octant_ptr which is an octant of octree.
 

Variables

static const Eigen::Matrix< int, 3, 6 > se::fetcher::face_neighbour_offsets
 Unit-less relative offsets to the 6 face neighbours of an octant.