Public Member Functions | Public Attributes
PointMatcher< T >::Matcher Struct Reference

A matcher links points in the reading to points in the reference. More...

#include <PointMatcher.h>

Inheritance diagram for PointMatcher< T >::Matcher:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Matches findClosests (const DataPoints &filteredReading)=0
 Find the closest neighbors of filteredReading in filteredReference passed to init()
unsigned long getVisitCount () const
 Return the visit counter.
virtual void init (const DataPoints &filteredReference)=0
 Init this matcher to find nearest neighbor in filteredReference.
 Matcher ()
 Construct without parameter.
 Matcher (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 Construct with parameters.
void resetVisitCount ()
 Reset the visit counter.
virtual ~Matcher ()
 virtual destructor

Public Attributes

unsigned long visitCounter
 number of points visited

Detailed Description

template<typename T>
struct PointMatcher< T >::Matcher

A matcher links points in the reading to points in the reference.

This typically uses a space-partitioning structure such as a kd-tree for performance optimization.

Definition at line 462 of file PointMatcher.h.


Constructor & Destructor Documentation

template<typename T >
PointMatcher< T >::Matcher::Matcher ( )

Construct without parameter.

Definition at line 45 of file pointmatcher/Matcher.cpp.

template<typename T >
PointMatcher< T >::Matcher::Matcher ( const std::string &  className,
const ParametersDoc  paramsDoc,
const Parameters params 
)

Construct with parameters.

Definition at line 51 of file pointmatcher/Matcher.cpp.

template<typename T >
PointMatcher< T >::Matcher::~Matcher ( ) [virtual]

virtual destructor

Definition at line 58 of file pointmatcher/Matcher.cpp.


Member Function Documentation

template<typename T>
virtual Matches PointMatcher< T >::Matcher::findClosests ( const DataPoints filteredReading) [pure virtual]

Find the closest neighbors of filteredReading in filteredReference passed to init()

Implemented in MatchersImpl< T >::KDTreeVarDistMatcher, MatchersImpl< T >::KDTreeMatcher, and MatchersImpl< T >::NullMatcher.

template<typename T >
unsigned long PointMatcher< T >::Matcher::getVisitCount ( ) const

Return the visit counter.

Definition at line 70 of file pointmatcher/Matcher.cpp.

template<typename T>
virtual void PointMatcher< T >::Matcher::init ( const DataPoints filteredReference) [pure virtual]

Init this matcher to find nearest neighbor in filteredReference.

Implemented in MatchersImpl< T >::KDTreeVarDistMatcher, MatchersImpl< T >::KDTreeMatcher, and MatchersImpl< T >::NullMatcher.

template<typename T >
void PointMatcher< T >::Matcher::resetVisitCount ( )

Reset the visit counter.

Definition at line 63 of file pointmatcher/Matcher.cpp.


Member Data Documentation

template<typename T>
unsigned long PointMatcher< T >::Matcher::visitCounter

number of points visited

Definition at line 464 of file PointMatcher.h.


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


libpointmatcher
Author(s):
autogenerated on Thu Jun 20 2019 19:51:33