PointMatcher< T >::Matches Struct Reference

Result of the data-association step (Matcher::findClosests), before outlier rejection. More...

`#include <PointMatcher.h>`

## Public Types | |

typedef Matrix | Dists |

Squared distances to closest points, dense matrix of ScalarType. | |

typedef IntMatrix | Ids |

Identifiers of closest points, dense matrix of integers. | |

## Public Member Functions | |

T | getDistsQuantile (const T quantile) const |

Get the distance at the T-ratio closest point. | |

Matches () | |

Construct empty matches. | |

Matches (const Dists &dists, const Ids ids) | |

Construct matches from distances to and identifiers of closest points. | |

Matches (const int knn, const int pointsCount) | |

Construct uninitialized matches from number of closest points (knn) and number of points (pointsCount) | |

## Public Attributes | |

Dists | dists |

squared distances to closest points | |

Ids | ids |

identifiers of closest points |

struct PointMatcher< T >::Matches

Result of the data-association step (Matcher::findClosests), before outlier rejection.

This class holds a list of associated reference identifiers, along with the corresponding *squared* distance, for all points in the reading. A single point in the reading can have one or multiple matches.

Definition at line 313 of file PointMatcher.h.

template<typename T>

typedef Matrix PointMatcher< T >::Matches::Dists |

Squared distances to closest points, dense matrix of ScalarType.

Definition at line 315 of file PointMatcher.h.

template<typename T>

typedef IntMatrix PointMatcher< T >::Matches::Ids |

Identifiers of closest points, dense matrix of integers.

Definition at line 316 of file PointMatcher.h.

template<typename T >

PointMatcher< T >::Matches::Matches | ( | ) |

Construct empty matches.

Definition at line 43 of file Matches.cpp.

template<typename T >

PointMatcher< T >::Matches::Matches | ( | const Dists & | dists, |

const Ids | ids |
||

) |

Construct matches from distances to and identifiers of closest points.

Definition at line 47 of file Matches.cpp.

template<typename T >

PointMatcher< T >::Matches::Matches | ( | const int | knn, |

const int | pointsCount |
||

) |

Construct uninitialized matches from number of closest points (knn) and number of points (pointsCount)

Definition at line 54 of file Matches.cpp.

template<typename T>

T PointMatcher< T >::Matches::getDistsQuantile | ( | const T | quantile | ) | const |

Get the distance at the T-ratio closest point.

Definition at line 61 of file Matches.cpp.

template<typename T>

Dists PointMatcher< T >::Matches::dists |

squared distances to closest points

Definition at line 322 of file PointMatcher.h.

template<typename T>

Ids PointMatcher< T >::Matches::ids |

identifiers of closest points

Definition at line 323 of file PointMatcher.h.

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