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

#include <MatchersImpl.h>

Inheritance diagram for MatchersImpl< T >::KDTreeVarDistMatcher:
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...
 
 KDTreeVarDistMatcher (const Parameters &params=Parameters())
 
virtual ~KDTreeVarDistMatcher ()
 
- 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...
 
 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 std::string maxDistField
 
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 >::KDTreeVarDistMatcher

Definition at line 105 of file MatchersImpl.h.

Constructor & Destructor Documentation

◆ KDTreeVarDistMatcher()

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

Definition at line 108 of file MatchersImpl.cpp.

◆ ~KDTreeVarDistMatcher()

template<typename T >
MatchersImpl< T >::KDTreeVarDistMatcher::~KDTreeVarDistMatcher ( )
virtual

Definition at line 119 of file MatchersImpl.cpp.

Member Function Documentation

◆ availableParameters()

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

Definition at line 111 of file MatchersImpl.h.

◆ description()

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

Definition at line 107 of file MatchersImpl.h.

◆ findClosests()

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

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

Implements PointMatcher< T >::Matcher.

Definition at line 133 of file MatchersImpl.cpp.

◆ init()

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

Init this matcher to find nearest neighbor in filteredReference.

Implements PointMatcher< T >::Matcher.

Definition at line 125 of file MatchersImpl.cpp.

Member Data Documentation

◆ epsilon

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

Definition at line 122 of file MatchersImpl.h.

◆ featureNNS

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

Definition at line 127 of file MatchersImpl.h.

◆ knn

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

Definition at line 121 of file MatchersImpl.h.

◆ maxDistField

template<typename T >
const std::string MatchersImpl< T >::KDTreeVarDistMatcher::maxDistField

Definition at line 124 of file MatchersImpl.h.

◆ searchType

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

Definition at line 123 of file MatchersImpl.h.


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


libpointmatcher
Author(s):
autogenerated on Sat May 27 2023 02:38:03