9 #ifndef SE_RAYCAST_CARVER_HPP 10 #define SE_RAYCAST_CARVER_HPP 23 template<
typename MapT,
typename SensorT>
24 inline std::vector<se::OctantBase*>
25 frustum(MapT& map,
const SensorT& sensor,
const Eigen::Matrix4f& T_WS);
33 template<
typename MapT,
typename SensorT>
45 truncation_boundary(map.getRes() * map.getDataConfig().truncation_boundary_factor),
46 band(2 * truncation_boundary)
64 const SensorT& sensor,
66 const Eigen::Matrix4f& T_WS,
74 std::vector<se::OctantBase*> operator()();
89 #include "impl/raycast_carver_impl.hpp" 91 #endif // SE_RAYCAST_CARVER_HPP const float truncation_boundary
Definition: raycast_carver.hpp:50
const float band
Definition: raycast_carver.hpp:51
const RaycastCarverConfig config_
Definition: raycast_carver.hpp:82
const int frame_
Definition: raycast_carver.hpp:81
const Eigen::Matrix4f & T_WS_
Definition: raycast_carver.hpp:80
MapT & map_
Definition: raycast_carver.hpp:76
Definition: raycast_carver.hpp:34
const se::Image< float > & depth_img_
Definition: raycast_carver.hpp:79
MapT::OctreeType OctreeType
Definition: raycast_carver.hpp:36
std::vector< se::OctantBase * > frustum(MapT &map, const SensorT &sensor, const Eigen::Matrix4f &T_WS)
Return the currently allocated Blocks that intersect the camera frustum.
The config file of the raycast carver.
Definition: raycast_carver.hpp:43
OctreeType & octree_
Definition: raycast_carver.hpp:77
const SensorT & sensor_
Definition: raycast_carver.hpp:78
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17
RaycastCarverConfig(const MapT &map)
Definition: raycast_carver.hpp:44