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> 
   56                      public std::enable_shared_from_this<metric_map_t>
 
   82     std::map<layer_name_t, mrpt::maps::CMetricMap::Ptr> 
layers;
 
   85     std::vector<mrpt::math::TLine3D> 
lines;
 
   94     std::optional<uint64_t> 
id;
 
  127     virtual bool empty() 
const;
 
  130     virtual size_t size() 
const;
 
  140     virtual void clear();
 
  174         -> 
std::shared_ptr<
mrpt::opengl::CSetOfObjects>;
 
  186         const 
std::optional<
mrpt::math::TPose3D>& otherRelativePose = 
std::nullopt);
 
  203         const 
mrpt::maps::CMetricMap::Ptr& map);
 
  242 const mrpt::maps::CPointsMap* 
MapToPointsMap(
const mrpt::maps::CMetricMap& map);
 
  245 mrpt::maps::CPointsMap* 
MapToPointsMap(mrpt::maps::CMetricMap& map);
 
  252 const mrpt::maps::NearestNeighborsCapable* 
MapToNN(
 
  253     const mrpt::maps::CMetricMap& map, 
bool throwIfNotImplemented);
 
  261     const mrpt::maps::CMetricMap& map, 
bool throwIfNotImplemented);
 
  265     mrpt::serialization::CArchive& in, std::optional<metric_map_t::Georeferencing>& g);
 
  268     mrpt::serialization::CArchive& 
out, 
const std::optional<metric_map_t::Georeferencing>& g);
 
  271 std::optional<metric_map_t::Georeferencing> 
FromYAML(
const mrpt::containers::yaml& yaml_data);
 
  274 mrpt::containers::yaml 
ToYAML(
const std::optional<metric_map_t::Georeferencing>& gref);
 
  
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)
Ptr get_shared_from_this_or_clone()
Render parameters for the different geometric entities.
Ptr get_shared_from_this()
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)
mrpt::containers::yaml ToYAML(const std::optional< metric_map_t::Georeferencing > &gref)
Serialization of geo-reference information as YAML.
std::vector< plane_patch_t > planes
std::optional< metric_map_t::Georeferencing > FromYAML(const mrpt::containers::yaml &yaml_data)
Serialization of geo-reference information as YAML.
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
virtual size_t size_points_only() const
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 Mon May 26 2025 02:45:50