supereight
integrator.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2016-2019 Emanuele Vespa
3  * SPDX-FileCopyrightText: 2020-2021 Smart Robotics Lab, Imperial College London, Technical University of Munich
4  * SPDX-FileCopyrightText: 2020-2021 Nils Funk
5  * SPDX-FileCopyrightText: 2021 Sotiris Papatheodorou
6  * SPDX-License-Identifier: BSD-3-Clause
7  */
8 
9 #ifndef SE_INTEGRATOR_HPP
10 #define SE_INTEGRATOR_HPP
11 
12 #include "allocator.hpp"
13 
14 namespace se {
15 
19 namespace integrator {
20 
31 template<typename OctreeT>
32 inline bool setData(OctreeT& octree,
33  const Eigen::Vector3i& voxel_coord,
34  const typename OctreeT::DataType& data);
35 
36 } // namespace integrator
37 } // namespace se
38 
39 #include "impl/integrator_impl.hpp"
40 
41 #endif // SE_INTEGRATOR_HPP
bool setData(OctreeT &octree, const Eigen::Vector3i &voxel_coord, const typename OctreeT::DataType &data)
Set voxel data for a given coordinate.
Helper wrapper to allocate and de-allocate octants in the octree.
Definition: colour_utils.hpp:17