Go to the documentation of this file.
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);
virtual bool empty() const
mrpt::serialization::CArchive & operator>>(mrpt::serialization::CArchive &in, Pairings &obj)
mrpt::topography::TGeodeticCoords geo_coord
static void get_visualization_map_layer(mrpt::opengl::CSetOfObjects &o, const render_params_point_layer_t &p, const mrpt::maps::CMetricMap::Ptr &map)
Render parameters for the different geometric entities.
constexpr static const char * PT_LAYER_PLANE_CENTROIDS
bool save_to_file(const std::string &fileName) const
void get_visualization_points(mrpt::opengl::CSetOfObjects &o, const render_params_points_t &p) const
virtual void derivedSerializeTo([[maybe_unused]] mrpt::serialization::CArchive &out) const
constexpr static const char * PT_LAYER_RAW
std::optional< std::string > label
virtual void derivedSerializeFrom([[maybe_unused]] mrpt::serialization::CArchive &in)
std::vector< plane_patch_t > planes
const mrpt::maps::CPointsMap * MapToPointsMap(const mrpt::maps::CMetricMap &map)
std::vector< mrpt::math::TLine3D > lines
mrpt::maps::CPointsMap::Ptr point_layer(const layer_name_t &name) const
virtual void merge_with(const metric_map_t &otherPc, const std::optional< mrpt::math::TPose3D > &otherRelativePose=std::nullopt)
virtual std::string contents_summary() const
virtual size_t size() const
virtual auto get_visualization(const render_params_t &p=render_params_t()) const -> std::shared_ptr< mrpt::opengl::CSetOfObjects >
void get_visualization_lines(mrpt::opengl::CSetOfObjects &o, const render_params_lines_t &p) const
bool load_from_file(const std::string &fileName)
mrpt::poses::CPose3DPDFGaussian T_enu_to_map
mrpt::serialization::CArchive & operator<<(mrpt::serialization::CArchive &out, const Pairings &obj)
Defines a virtual interface for maps capable of finding pt-plane pairings.
Generic container of pointcloud(s), extracted features and other maps.
void get_visualization_planes(mrpt::opengl::CSetOfObjects &o, const render_params_planes_t &p) const
std::optional< uint64_t > id
std::optional< Georeferencing > georeferencing
Ptr get_shared_from_this()
virtual size_t size_points_only() const
Ptr get_shared_from_this_or_clone()
const mrpt::maps::NearestNeighborsCapable * MapToNN(const mrpt::maps::CMetricMap &map, bool throwIfNotImplemented)
std::map< layer_name_t, mrpt::maps::CMetricMap::Ptr > layers
const mp2p_icp::NearestPlaneCapable * MapToNP(const mrpt::maps::CMetricMap &map, bool throwIfNotImplemented)
mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:45:59