Public Member Functions | Public Attributes | List of all members
mp2p_icp::PairWeights Struct Reference

#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
 

Detailed Description

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.

Member Function Documentation

◆ load_from()

void PairWeights::load_from ( const mrpt::containers::yaml &  p)

Definition at line 18 of file PairWeights.cpp.

◆ save_to()

void PairWeights::save_to ( mrpt::containers::yaml &  p) const

Definition at line 28 of file PairWeights.cpp.

◆ serializeFrom()

void PairWeights::serializeFrom ( mrpt::serialization::CArchive &  in)

Definition at line 42 of file PairWeights.cpp.

◆ serializeTo()

void PairWeights::serializeTo ( mrpt::serialization::CArchive &  out) const

Definition at line 38 of file PairWeights.cpp.

Member Data Documentation

◆ ln2ln

double mp2p_icp::PairWeights::ln2ln = 1.0

Weight of line-to-line pairs.

Definition at line 37 of file PairWeights.h.

◆ pl2pl

double mp2p_icp::PairWeights::pl2pl = 1.0

Weight of plane-to-plane pairs.

Definition at line 38 of file PairWeights.h.

◆ pt2ln

double mp2p_icp::PairWeights::pt2ln = 1.0

Weight of point-to-line pairs.

Definition at line 34 of file PairWeights.h.

◆ pt2pl

double mp2p_icp::PairWeights::pt2pl = 1.0

Weight of point-to-plane pairs.

Definition at line 35 of file PairWeights.h.

◆ pt2pt

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.


The documentation for this struct was generated from the following files:


mp2p_icp
Author(s):
autogenerated on Wed Oct 23 2024 02:45:42