NearestPlaneCapable.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 
16 
17 #include <optional>
18 
19 namespace mp2p_icp
20 {
26 {
27  public:
28  NearestPlaneCapable() = default;
29  virtual ~NearestPlaneCapable();
30 
32  {
33  NearestPlaneResult() = default;
34 
36  std::optional<point_plane_pair_t> pairing;
37 
39  float distance = 0;
40  };
41 
43  const mrpt::math::TPoint3Df& point,
44  const float max_search_distance) const = 0;
45 };
46 
49 } // namespace mp2p_icp
mp2p_icp
Definition: covariance.h:17
mp2p_icp::NearestPlaneCapable::NearestPlaneResult
Definition: NearestPlaneCapable.h:31
point_plane_pair_t.h
Defines point_plane_pair_t.
mp2p_icp::NearestPlaneCapable::NearestPlaneResult::distance
float distance
Absolute value of plane-point distance, if a pairing is found:
Definition: NearestPlaneCapable.h:39
mp2p_icp::NearestPlaneCapable::NearestPlaneResult::NearestPlaneResult
NearestPlaneResult()=default
mp2p_icp::NearestPlaneCapable
Definition: NearestPlaneCapable.h:25
mp2p_icp::NearestPlaneCapable::NearestPlaneCapable
NearestPlaneCapable()=default
mp2p_icp::NearestPlaneCapable::NearestPlaneResult::pairing
std::optional< point_plane_pair_t > pairing
Found pairing:
Definition: NearestPlaneCapable.h:36
mp2p_icp::NearestPlaneCapable::nn_search_pt2pl
virtual NearestPlaneResult nn_search_pt2pl(const mrpt::math::TPoint3Df &point, const float max_search_distance) const =0
mp2p_icp::NearestPlaneCapable::~NearestPlaneCapable
virtual ~NearestPlaneCapable()


mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:12