#include <Pairings.h>
| Public Member Functions | |
| Pairings ()=default | |
| virtual | ~Pairings () | 
| Methods | |
| virtual bool | empty () const | 
| virtual size_t | size () const | 
| virtual std::string | contents_summary () const | 
| virtual void | push_back (const Pairings &o) | 
| virtual void | push_back (Pairings &&o) | 
| virtual void | serializeTo (mrpt::serialization::CArchive &out) const | 
| virtual void | serializeFrom (mrpt::serialization::CArchive &in) | 
| virtual auto | get_visualization (const mrpt::poses::CPose3D &localWrtGlobal, const pairings_render_params_t &p=pairings_render_params_t()) const -> std::shared_ptr< mrpt::opengl::CSetOfObjects > | 
| virtual void | get_visualization_pt2pt (mrpt::opengl::CSetOfObjects &o, const mrpt::poses::CPose3D &localWrtGlobal, const render_params_pairings_pt2pt_t &p) const | 
| virtual void | get_visualization_pt2pl (mrpt::opengl::CSetOfObjects &o, const mrpt::poses::CPose3D &localWrtGlobal, const render_params_pairings_pt2pl_t &p) const | 
| virtual void | get_visualization_pt2ln (mrpt::opengl::CSetOfObjects &o, const mrpt::poses::CPose3D &localWrtGlobal, const render_params_pairings_pt2ln_t &p) const | 
| Public Attributes | |
| Data fields | |
| mrpt::tfest::TMatchingPairList | paired_pt2pt | 
| MatchedPointLineList | paired_pt2ln | 
| MatchedPointPlaneList | paired_pt2pl | 
| MatchedLineList | paired_ln2ln | 
| MatchedPlaneList | paired_pl2pl | 
| uint64_t | potential_pairings = 0 | 
| std::vector< std::pair< std::size_t, double > > | point_weights | 
Common pairing input data for OLAE, Horn's, and other solvers. Planes and lines must have unit director and normal vectors, respectively.
Pairings are between a "global" (or "this") and a "local" (or "other") pointcloud, while we are searching for the relative pose of "local" wrt "global", such that "relative_pose \oplus localPoint = globalPoint".
Definition at line 76 of file Pairings.h.
| 
 | default | 
| 
 | virtualdefault | 
| 
 | virtual | 
Returns a string summarizing all the paired elements
Definition at line 151 of file Pairings.cpp.
| 
 | inlinevirtual | 
Definition at line 109 of file Pairings.h.
| 
 | virtual | 
Gets a renderizable view of all geometric entities.
See render_params_t for options to show/hide the different geometric entities and point layers.
Definition at line 168 of file Pairings.cpp.
| 
 | virtual | 
Used inside get_visualization(), renders pt-to-ln pairings only.
Definition at line 237 of file Pairings.cpp.
| 
 | virtual | 
Used inside get_visualization(), renders pt-to-pl pairings only.
Definition at line 202 of file Pairings.cpp.
| 
 | virtual | 
Used inside get_visualization(), renders pt-to-pt pairings only.
Definition at line 183 of file Pairings.cpp.
| 
 | virtual | 
Copy and append pairings from another container.
Definition at line 115 of file Pairings.cpp.
| 
 | virtual | 
Move pairings from another container.
Definition at line 125 of file Pairings.cpp.
| 
 | virtual | 
Definition at line 36 of file Pairings.cpp.
| 
 | virtual | 
Definition at line 28 of file Pairings.cpp.
| 
 | virtual | 
Overall number of element-to-element pairings (points, lines, planes)
Definition at line 135 of file Pairings.cpp.
| MatchedLineList mp2p_icp::Pairings::paired_ln2ln | 
Definition at line 89 of file Pairings.h.
| MatchedPlaneList mp2p_icp::Pairings::paired_pl2pl | 
Definition at line 90 of file Pairings.h.
| MatchedPointLineList mp2p_icp::Pairings::paired_pt2ln | 
Definition at line 87 of file Pairings.h.
| MatchedPointPlaneList mp2p_icp::Pairings::paired_pt2pl | 
Definition at line 88 of file Pairings.h.
| mrpt::tfest::TMatchingPairList mp2p_icp::Pairings::paired_pt2pt | 
We reuse MRPT struct to allow using their matching functions.
Definition at line 86 of file Pairings.h.
| std::vector<std::pair<std::size_t, double> > mp2p_icp::Pairings::point_weights | 
Individual weights for paired_pt2pt: each entry specifies how many points have the given (mapped second value) weight, in the same order as stored in paired_pt2pt. If empty, all points will have equal weights.
Definition at line 102 of file Pairings.h.
| uint64_t mp2p_icp::Pairings::potential_pairings = 0 | 
Each Matcher will add pairings in the fields above, and will increment this potential_pairings with the maximum number of potential pairings that it might have found. That is, the ratio of successful pairings is this->size() / double(potential_pairings). 
Definition at line 96 of file Pairings.h.