9#ifndef SE_RAYCAST_CARVER_HPP
10#define SE_RAYCAST_CARVER_HPP
12#include <Eigen/Geometry>
26template<
typename MapT,
typename SensorT>
27inline std::vector<se::OctantBase*>
39template<
typename MapT,
typename SensorT>
55 const Eigen::Isometry3f&
T_WS,
61 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
65 typename MapT::OctreeType& octree_;
68 const Eigen::Isometry3f& T_WS_;
74#include "impl/raycast_carver_impl.hpp"
Allocator used for TSDF mapping.
Definition raycast_carver.hpp:40
RaycastCarver(MapT &map, const SensorT &sensor, const se::Image< float > &depth_img, const Eigen::Isometry3f &T_WS, const timestamp_t timestamp)
Constructs a RaycastCarver but doesn't perform any allocations yet.
std::vector< se::OctantBase * > operator()()
Performs the necessary allocations and returns the allocated blocks.
std::vector< se::OctantBase * > frustum(MapT &map, const SensorT &sensor, const Eigen::Isometry3f &T_WS)
Return the currently allocated Blocks that intersect the camera frustum.
Helper wrapper to allocate and de-allocate octants in the octree.
Definition bounded_vector.hpp:14