29 #ifndef POINTCLOUD_HPP
30 #define POINTCLOUD_HPP
32 #include <octomap/octomap.h>
47 PointCloud (
const octomap::Pointcloud &other) : octomap::Pointcloud (other) {}
48 PointCloud (octomap::Pointcloud *other) : octomap::Pointcloud (other) {}
51 inline void resize (
size_t n) { points.resize (n); }
52 inline octomap::point3d *
data () {
return points.data (); }
53 inline void emplace_back (
float x,
float y,
float z) { points.emplace_back (x, y, z); }
59 #endif // POINTCLOUD_HPP
Enhances octomap::Pointcloud.
Definition: pointcloud.hpp:43
PointCloud(size_t n)
Definition: pointcloud.hpp:50
PointCloud(const octomap::Pointcloud &other)
Definition: pointcloud.hpp:47
PointCloud(octomap::Pointcloud *other)
Definition: pointcloud.hpp:48
Offers classes which set up kernel execution parameters and provide interfaces for the handling of me...
Definition: algorithms.hpp:45
Offers functions that are serial CPU implementations of the relevant algorithms in the OCLSLAM pipeli...
Definition: helper_funcs.hpp:47
void resize(size_t n)
Definition: pointcloud.hpp:51
void emplace_back(float x, float y, float z)
Definition: pointcloud.hpp:53
PointCloud()
Definition: pointcloud.hpp:46
PointCloud(PointCloud *other)
Definition: pointcloud.hpp:49
octomap::point3d * data()
Definition: pointcloud.hpp:52