8 #ifndef SE_MAP_INTEGRATOR_HPP 9 #define SE_MAP_INTEGRATOR_HPP 37 template<
typename MapT,
typename SensorT>
38 std::vector<se::OctantBase*>
frustum(MapT& map,
41 const Eigen::Matrix4f& T_WS,
62 template<
typename MapT,
typename SensorT>
63 inline std::vector<se::OctantBase*>
64 frustum(MapT& map,
const SensorT& sensor,
const Eigen::Matrix4f& T_WS);
79 static inline Eigen::Vector3f
get_sample_coord(
const Eigen::Vector3i& octant_coord,
80 const int octant_size);
84 template<
typename MapT>
98 template<
typename SensorT>
99 void integrateDepth(
const SensorT& sensor,
101 const Eigen::Matrix4f& T_WS,
102 const unsigned int frame);
112 #include "impl/map_integrator_impl.hpp" 114 #endif // SE_MAP_INTEGRATOR_HPP
std::vector< se::OctantBase * > frustum(MapT &map, SensorT &sensor, const se::Image< float > &depth_img, const Eigen::Matrix4f &T_WS, const float band)
Allocate frustum in band around the surface.
static Eigen::Vector3f get_sample_coord(const Eigen::Vector3i &octant_coord, const int octant_size)
compute the sample coordinates for a given octant coordinate
Definition: map_integrator.hpp:85
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17