9 #ifndef SE_MULTIRES_TSDF_UPDATER_HPP 10 #define SE_MULTIRES_TSDF_UPDATER_HPP 25 template<se::Colour ColB, se::Semantics SemB,
int BlockSize,
typename SensorT>
31 typedef typename MapType::OctreeType::NodeType
NodeType;
32 typedef typename MapType::OctreeType::BlockType
BlockType;
34 struct UpdaterConfig {
36 truncation_boundary(map.getRes() * map.getDataConfig().truncation_boundary_factor)
51 const SensorT& sensor,
53 const Eigen::Matrix4f& T_WS,
57 void operator()(std::vector<se::OctantBase*>& block_ptrs);
60 void updateVoxel(
typename BlockType::DataUnion& data_union,
const field_t sdf_value);
63 const SensorT& sensor_;
65 const Eigen::Matrix4f& T_WS_;
67 const UpdaterConfig config_;
74 #include "impl/multires_tsdf_updater_impl.hpp" 76 #endif // SE_MULTIRES_TSDF_UPDATER_HPP Updater(MapT &map, const SensorT &sensor, const se::Image< float > &depth_img, const Eigen::Matrix4f &T_WS, const int frame)
const float truncation_boundary
Definition: multires_tsdf_updater.hpp:40
float field_t
The type of the stored field (e.g. TSDF, ESDF or occupancy)
Definition: type_util.hpp:50
Definition: updater.hpp:18
MapType::OctreeType::NodeType NodeType
Definition: multires_tsdf_updater.hpp:31
MapType::OctreeType OctreeType
Definition: multires_tsdf_updater.hpp:30
UpdaterConfig(const MapType &map)
Definition: multires_tsdf_updater.hpp:35
Map< Data< se::Field::TSDF, ColB, SemB >, se::Res::Multi, BlockSize > MapType
Definition: multires_tsdf_updater.hpp:28
MapType::DataType DataType
Definition: multires_tsdf_updater.hpp:29
MapType::OctreeType::BlockType BlockType
Definition: multires_tsdf_updater.hpp:32
void operator()(UpdateListT &updating_list)
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17