16 #include <mrpt/containers/yaml.h> 17 #include <mrpt/rtti/CObject.h> 18 #include <mrpt/system/COutputLogger.h> 37 : pcGlobal_(pcGlobal), pcLocal_(pcLocal)
70 class Matcher :
public mrpt::system::COutputLogger,
public mrpt::rtti::CObject
72 DEFINE_VIRTUAL_MRPT_OBJECT(
Matcher)
76 virtual void initialize(
const mrpt::containers::yaml& params);
84 const mrpt::poses::CPose3D& localPose,
const MatchContext& mc,
87 uint32_t runFromIteration = 0;
88 uint32_t runUpToIteration = 0;
92 virtual bool impl_match(
94 const mrpt::poses::CPose3D& localPose,
const MatchContext& mc,
109 const metric_map_t& pcLocal,
const mrpt::poses::CPose3D& local_wrt_global,
111 const mrpt::optional_ref<MatchState>& userProvidedMS = std::nullopt);
MatchState(const metric_map_t &pcGlobal, const metric_map_t &pcLocal)
void initialize_from(const metric_map_t &pc, bool initBoolValue=false)
std::vector< mp2p_icp::Matcher::Ptr > matcher_list_t
Generic container of pointcloud(s), extracted features and other maps.
ROSCONSOLE_DECL void initialize()
Common types for all SE(3) optimal transformation methods.
const metric_map_t & pcLocal_
const metric_map_t & pcGlobal_
uint32_t icpIteration
The ICP iteration number we are in:
Generic representation of pointcloud(s) and/or extracted features.
pointcloud_bitfield_t globalPairedBitField
Like localPairedBitField for the global map.
pointcloud_bitfield_t localPairedBitField
Pairings run_matchers(const matcher_list_t &matchers, const metric_map_t &pcGlobal, const metric_map_t &pcLocal, const mrpt::poses::CPose3D &local_wrt_global, const MatchContext &mc, const mrpt::optional_ref< MatchState > &userProvidedMS=std::nullopt)