10 #ifndef MRPT_COctoMap_H
11 #define MRPT_COctoMap_H
18 #include <octomap/octomap.h>
39 COctoMap(
const double resolution = 0.10);
57 const
mrpt::obs::CObservation* obs,
58 const
mrpt::poses::CPose3D* robotPose) override;
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#define MAP_DEFINITION_END(_CLASS_NAME_, _LINKAGE_)
#define MAP_DEFINITION_START(_CLASS_NAME_)
Add a MAP_DEFINITION_START() ...
A three-dimensional probabilistic occupancy grid, implemented as an octo-tree with the "octomap" C++ ...
A three-dimensional probabilistic occupancy grid, implemented as an octo-tree with the "octomap" C++ ...
bool internal_insertObservation(const mrpt::obs::CObservation *obs, const mrpt::poses::CPose3D *robotPose) override
Internal method called by insertObservation()
virtual void getAsOctoMapVoxels(mrpt::opengl::COctoMapVoxels &gl_obj) const override
Builds a renderizable representation of the octomap as a mrpt::opengl::COctoMapVoxels object.
COctoMap(const double resolution=0.10)
Default constructor.
virtual ~COctoMap()
Destructor.
A flexible renderer of voxels, typically from a 3D octo map (see mrpt::maps::COctoMap).
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.