18 #include <mrpt/maps/CPointsMap.h>
19 #include <mrpt/maps/NearestNeighborsCapable.h>
20 #include <mrpt/math/TLine3D.h>
21 #include <mrpt/math/TPoint3D.h>
22 #include <mrpt/math/geometry.h>
23 #include <mrpt/poses/CPose3DPDFGaussian.h>
24 #include <mrpt/serialization/CSerializable.h>
25 #include <mrpt/topography/data_types.h>
50 public std::enable_shared_from_this<metric_map_t>
76 std::map<layer_name_t, mrpt::maps::CMetricMap::Ptr>
layers;
79 std::vector<mrpt::math::TLine3D>
lines;
89 std::optional<uint64_t>
id;
97 std::optional<std::string>
label;
125 virtual bool empty()
const;
128 virtual size_t size()
const;
138 virtual void clear();
172 const ->
std::shared_ptr<
mrpt::opengl::CSetOfObjects>;
184 const
std::optional<
mrpt::math::TPose3D>& otherRelativePose =
202 const
mrpt::maps::CMetricMap::Ptr& map);
223 [[maybe_unused]]
mrpt::serialization::CArchive&
out)
const
229 [[maybe_unused]] mrpt::serialization::CArchive& in)
247 const mrpt::maps::CPointsMap*
MapToPointsMap(
const mrpt::maps::CMetricMap& map);
250 mrpt::maps::CPointsMap*
MapToPointsMap(mrpt::maps::CMetricMap& map);
257 const mrpt::maps::NearestNeighborsCapable*
MapToNN(
258 const mrpt::maps::CMetricMap& map,
bool throwIfNotImplemented);
266 const mrpt::maps::CMetricMap& map,
bool throwIfNotImplemented);
270 mrpt::serialization::CArchive& in,
271 std::optional<metric_map_t::Georeferencing>& g);
273 mrpt::serialization::CArchive&
out,
274 const std::optional<metric_map_t::Georeferencing>& g);