Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
MatchersImpl< T >::KDTreeMatcher Struct Reference

#include <MatchersImpl.h>

Inheritance diagram for MatchersImpl< T >::KDTreeMatcher:
Inheritance graph
[legend]

Public Member Functions

virtual Matches findClosests (const DataPoints &filteredReading)
 Find the closest neighbors of filteredReading in filteredReference passed to init() More...
 
virtual void init (const DataPoints &filteredReference)
 Init this matcher to find nearest neighbor in filteredReference. More...
 
 KDTreeMatcher (const Parameters &params=Parameters())
 
virtual ~KDTreeMatcher ()
 
- Public Member Functions inherited from PointMatcher< T >::Matcher
unsigned long getVisitCount () const
 Return the visit counter. More...
 
 Matcher ()
 Construct without parameter. More...
 
 Matcher (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 Construct with parameters. More...
 
void resetVisitCount ()
 Reset the visit counter. More...
 
virtual ~Matcher ()
 virtual destructor More...
 
- Public Member Functions inherited from PointMatcherSupport::Parametrizable
template<typename S >
get (const std::string &paramName)
 Return the value of paramName, lexically-casted to S. More...
 
std::string getParamValueString (const std::string &paramName)
 Get the value of a parameter, as a string. More...
 
template<typename T >
std::vector< T > getVector (const std::string &paramName)
 Return the value of paramName, lexically-casted std::vector<S> More...
 
 Parametrizable ()
 Construct a documentation of parameters from a description in the source. More...
 
 Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 Construct with documented parameters. More...
 
virtual ~Parametrizable ()
 Virtual destructor, do nothing. More...
 

Static Public Member Functions

static const ParametersDoc availableParameters ()
 
static const std::string description ()
 
- Static Public Member Functions inherited from PointMatcherSupport::Parametrizable
template<typename S >
static bool Comp (std::string a, std::string b)
 Return whether a < b, lexically casted to S. More...
 

Public Attributes

const T epsilon
 
const int knn
 
const T maxDist
 
const NNSearchType searchType
 
- Public Attributes inherited from PointMatcher< T >::Matcher
unsigned long visitCounter
 number of points visited More...
 
- Public Attributes inherited from PointMatcherSupport::Parametrizable
const std::string className
 name of the class More...
 
Parameters parameters
 parameters with their values encoded in string More...
 
const ParametersDoc parametersDoc
 documentation of parameters More...
 
ParametersUsed parametersUsed
 parameters whose value has actually been read More...
 

Protected Attributes

std::shared_ptr< NNSfeatureNNS
 

Additional Inherited Members

- Public Types inherited from PointMatcherSupport::Parametrizable
typedef bool(* LexicalComparison) (std::string a, std::string b)
 A function that returns whether a is smaller than b. More...
 
typedef std::string Parameter
 alias More...
 
typedef std::map< std::string, ParameterParameters
 Parameters stored as a map of string->string. More...
 
typedef std::vector< ParameterDocParametersDoc
 The documentation of all parameters. More...
 
typedef std::set< std::string > ParametersUsed
 Parameters whose value has been read. More...
 

Detailed Description

template<typename T>
struct MatchersImpl< T >::KDTreeMatcher

Definition at line 74 of file MatchersImpl.h.

Constructor & Destructor Documentation

◆ KDTreeMatcher()

template<typename T >
MatchersImpl< T >::KDTreeMatcher::KDTreeMatcher ( const Parameters params = Parameters())

Definition at line 61 of file MatchersImpl.cpp.

◆ ~KDTreeMatcher()

template<typename T >
MatchersImpl< T >::KDTreeMatcher::~KDTreeMatcher
virtual

Definition at line 72 of file MatchersImpl.cpp.

Member Function Documentation

◆ availableParameters()

template<typename T >
static const ParametersDoc MatchersImpl< T >::KDTreeMatcher::availableParameters ( )
inlinestatic

Definition at line 80 of file MatchersImpl.h.

◆ description()

template<typename T >
static const std::string MatchersImpl< T >::KDTreeMatcher::description ( )
inlinestatic

Definition at line 76 of file MatchersImpl.h.

◆ findClosests()

template<typename T >
PointMatcher< T >::Matches MatchersImpl< T >::KDTreeMatcher::findClosests ( const DataPoints filteredReading)
virtual

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

Implements PointMatcher< T >::Matcher.

Definition at line 86 of file MatchersImpl.cpp.

◆ init()

template<typename T >
void MatchersImpl< T >::KDTreeMatcher::init ( const DataPoints filteredReference)
virtual

Init this matcher to find nearest neighbor in filteredReference.

Implements PointMatcher< T >::Matcher.

Definition at line 78 of file MatchersImpl.cpp.

Member Data Documentation

◆ epsilon

template<typename T >
const T MatchersImpl< T >::KDTreeMatcher::epsilon

Definition at line 91 of file MatchersImpl.h.

◆ featureNNS

template<typename T >
std::shared_ptr<NNS> MatchersImpl< T >::KDTreeMatcher::featureNNS
protected

Definition at line 96 of file MatchersImpl.h.

◆ knn

template<typename T >
const int MatchersImpl< T >::KDTreeMatcher::knn

Definition at line 90 of file MatchersImpl.h.

◆ maxDist

template<typename T >
const T MatchersImpl< T >::KDTreeMatcher::maxDist

Definition at line 93 of file MatchersImpl.h.

◆ searchType

template<typename T >
const NNSearchType MatchersImpl< T >::KDTreeMatcher::searchType

Definition at line 92 of file MatchersImpl.h.


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


libpointmatcher
Author(s):
autogenerated on Mon Sep 16 2024 02:24:11