#include <PairWeights.h>
Public Member Functions | |
void | load_from (const mrpt::containers::yaml &p) |
void | save_to (mrpt::containers::yaml &p) const |
void | serializeFrom (mrpt::serialization::CArchive &in) |
void | serializeTo (mrpt::serialization::CArchive &out) const |
Public Attributes | |
double | ln2ln = 1.0 |
Weight of line-to-line pairs. More... | |
double | pl2pl = 1.0 |
Weight of plane-to-plane pairs. More... | |
double | pt2ln = 1.0 |
Weight of point-to-line pairs. More... | |
double | pt2pl = 1.0 |
Weight of point-to-plane pairs. More... | |
double | pt2pt = 1.0 |
Relative weight of points, lines, and planes. They will be automatically normalized to sum the unity, so feel free of setting weights at any convenient scale.
Definition at line 26 of file PairWeights.h.
void PairWeights::load_from | ( | const mrpt::containers::yaml & | p | ) |
Definition at line 18 of file PairWeights.cpp.
void PairWeights::save_to | ( | mrpt::containers::yaml & | p | ) | const |
Definition at line 28 of file PairWeights.cpp.
void PairWeights::serializeFrom | ( | mrpt::serialization::CArchive & | in | ) |
Definition at line 42 of file PairWeights.cpp.
void PairWeights::serializeTo | ( | mrpt::serialization::CArchive & | out | ) | const |
Definition at line 38 of file PairWeights.cpp.
double mp2p_icp::PairWeights::ln2ln = 1.0 |
Weight of line-to-line pairs.
Definition at line 37 of file PairWeights.h.
double mp2p_icp::PairWeights::pl2pl = 1.0 |
Weight of plane-to-plane pairs.
Definition at line 38 of file PairWeights.h.
double mp2p_icp::PairWeights::pt2ln = 1.0 |
Weight of point-to-line pairs.
Definition at line 34 of file PairWeights.h.
double mp2p_icp::PairWeights::pt2pl = 1.0 |
Weight of point-to-plane pairs.
Definition at line 35 of file PairWeights.h.
double mp2p_icp::PairWeights::pt2pt = 1.0 |
Weight of point-to-point pairs. Note that finer control of weights can be achieved with Pairings::point_weights
, so this pt2pt
field will be honored only if Pairings::point_weights
is empty.
Definition at line 32 of file PairWeights.h.