Matcher_Points_DistanceThreshold.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  * ------------------------------------------------------------------------- */
12 #pragma once
13 
15 
16 namespace mp2p_icp
17 {
31 {
32  DEFINE_MRPT_OBJECT(Matcher_Points_DistanceThreshold, mp2p_icp)
33 
34  public:
36 
38  {
39  threshold = distThreshold;
40  }
41 
50  void initialize(const mrpt::containers::yaml& params) override;
51 
52  double threshold = 0.50; // m
53  double thresholdAngularDeg = 0.50; // deg
54  uint32_t pairingsPerPoint = 1;
55 
56  private:
57  void implMatchOneLayer(
58  const mrpt::maps::CMetricMap& pcGlobal, const mrpt::maps::CPointsMap& pcLocal,
59  const mrpt::poses::CPose3D& localPose, MatchState& ms, const layer_name_t& globalName,
60  const layer_name_t& localName, Pairings& out) const override;
61 };
62 
63 } // namespace mp2p_icp
mp2p_icp::Matcher_Points_DistanceThreshold::initialize
void initialize(const mrpt::containers::yaml &params) override
Definition: Matcher_Points_DistanceThreshold.cpp:32
mp2p_icp::Matcher_Points_Base
Definition: Matcher_Points_Base.h:31
mp2p_icp
Definition: covariance.h:17
mp2p_icp::Pairings
Definition: Pairings.h:76
mp2p_icp::layer_name_t
std::string layer_name_t
Definition: layer_name_t.h:22
mp2p_icp::Matcher_Points_DistanceThreshold::Matcher_Points_DistanceThreshold
Matcher_Points_DistanceThreshold()
Definition: Matcher_Points_DistanceThreshold.cpp:27
mp2p_icp::Matcher_Points_DistanceThreshold::pairingsPerPoint
uint32_t pairingsPerPoint
Definition: Matcher_Points_DistanceThreshold.h:54
mp2p_icp::Matcher_Points_DistanceThreshold::thresholdAngularDeg
double thresholdAngularDeg
Definition: Matcher_Points_DistanceThreshold.h:53
mp2p_icp::Matcher_Points_DistanceThreshold
Definition: Matcher_Points_DistanceThreshold.h:30
mp2p_icp::Matcher_Points_DistanceThreshold::threshold
double threshold
Definition: Matcher_Points_DistanceThreshold.h:52
mp2p_icp::Matcher_Points_DistanceThreshold::implMatchOneLayer
void implMatchOneLayer(const mrpt::maps::CMetricMap &pcGlobal, const mrpt::maps::CPointsMap &pcLocal, const mrpt::poses::CPose3D &localPose, MatchState &ms, const layer_name_t &globalName, const layer_name_t &localName, Pairings &out) const override
Definition: Matcher_Points_DistanceThreshold.cpp:41
mp2p_icp::MatchState
Definition: Matcher.h:37
kitti-batch-convert.out
string out
Definition: kitti-batch-convert.py:7
Matcher_Points_Base.h
Pointcloud matcher auxiliary class for iterating over point layers.
mp2p_icp::Matcher_Points_DistanceThreshold::Matcher_Points_DistanceThreshold
Matcher_Points_DistanceThreshold(double distThreshold)
Definition: Matcher_Points_DistanceThreshold.h:37


mp2p_icp
Author(s):
autogenerated on Mon May 26 2025 02:45:49