sm2mm.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------
2  * A repertory of multi primitive-to-primitive (MP2P) ICP algorithms in C++
3  * Copyright (C) 2018-2024 Jose Luis Blanco, University of Almeria
4  * See LICENSE for license information.
5  * ------------------------------------------------------------------------- */
13 #pragma once
14 
15 #include <mp2p_icp/metricmap.h>
16 #include <mrpt/containers/yaml.h>
17 #include <mrpt/maps/CSimpleMap.h>
18 #include <mrpt/system/COutputLogger.h>
19 
20 #include <string>
21 #include <utility>
22 #include <vector>
23 
24 namespace mp2p_icp_filters
25 {
29 struct sm2mm_options_t
31 {
32  sm2mm_options_t() = default;
33  ~sm2mm_options_t() = default;
34 
35  mrpt::system::VerbosityLevel verbosity = mrpt::system::LVL_INFO;
36  bool showProgressBar = false;
37  std::vector<std::pair<std::string, double>> customVariables = {};
38  std::optional<size_t> start_index;
39  std::optional<size_t> end_index;
40 };
41 
52  const mrpt::maps::CSimpleMap& sm, mp2p_icp::metric_map_t& outMap,
53  const mrpt::containers::yaml& pipeline,
54  const sm2mm_options_t& options = {});
55 
58 } // namespace mp2p_icp_filters
mp2p_icp_filters::sm2mm_options_t::sm2mm_options_t
sm2mm_options_t()=default
mp2p_icp_filters::sm2mm_options_t::customVariables
std::vector< std::pair< std::string, double > > customVariables
Definition: sm2mm.h:37
mp2p_icp_filters::sm2mm_options_t::showProgressBar
bool showProgressBar
Definition: sm2mm.h:36
mp2p_icp_filters::simplemap_to_metricmap
void simplemap_to_metricmap(const mrpt::maps::CSimpleMap &sm, mp2p_icp::metric_map_t &outMap, const mrpt::containers::yaml &pipeline, const sm2mm_options_t &options={})
Definition: sm2mm.cpp:23
mp2p_icp_filters::sm2mm_options_t::~sm2mm_options_t
~sm2mm_options_t()=default
mp2p_icp_filters::sm2mm_options_t::verbosity
mrpt::system::VerbosityLevel verbosity
Definition: sm2mm.h:35
mp2p_icp_filters::sm2mm_options_t
Options for simplemap_to_metricmap()
Definition: sm2mm.h:30
mp2p_icp_filters::sm2mm_options_t::start_index
std::optional< size_t > start_index
Definition: sm2mm.h:38
metricmap.h
Generic representation of pointcloud(s) and/or extracted features.
mp2p_icp::metric_map_t
Generic container of pointcloud(s), extracted features and other maps.
Definition: metricmap.h:49
mp2p_icp_filters
Definition: FilterAdjustTimestamps.h:19
mp2p_icp_filters::sm2mm_options_t::end_index
std::optional< size_t > end_index
Definition: sm2mm.h:39


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:41