9 #ifndef SE_SINGLERES_TSDF_UPDATER_HPP 10 #define SE_SINGLERES_TSDF_UPDATER_HPP 24 template<se::Colour ColB, se::Semantics SemB,
int BlockSize,
typename SensorT>
29 typedef typename MapType::OctreeType::NodeType
NodeType;
30 typedef typename MapType::OctreeType::BlockType
BlockType;
32 struct UpdaterConfig {
34 truncation_boundary(map.getRes() * map.getDataConfig().truncation_boundary_factor)
49 const SensorT& sensor,
51 const Eigen::Matrix4f& T_WS,
56 void operator()(std::vector<se::OctantBase*>& block_ptrs);
59 void updateVoxel(DataType& data,
const field_t sdf_value);
62 const SensorT& sensor_;
64 const Eigen::Matrix4f& T_WS_;
66 const UpdaterConfig config_;
73 #include "impl/singleres_tsdf_updater_impl.hpp" 75 #endif // SE_SINGLERES_TSDF_UPDATER_HPP Map< Data< se::Field::TSDF, ColB, SemB >, se::Res::Single, BlockSize > MapType
Definition: singleres_tsdf_updater.hpp:27
Updater(MapT &map, const SensorT &sensor, const se::Image< float > &depth_img, const Eigen::Matrix4f &T_WS, const int frame)
UpdaterConfig(const MapType &map)
Definition: singleres_tsdf_updater.hpp:33
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::BlockType BlockType
Definition: singleres_tsdf_updater.hpp:30
MapType::OctreeType::NodeType NodeType
Definition: singleres_tsdf_updater.hpp:29
MapType::DataType DataType
Definition: singleres_tsdf_updater.hpp:28
const float truncation_boundary
Definition: singleres_tsdf_updater.hpp:38
void operator()(UpdateListT &updating_list)
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17