Public Member Functions | Protected Types | Static Protected Member Functions | Protected Attributes
PointMatcher< T >::TransformationChecker Struct Reference

A transformation checker can stop the iteration depending on some conditions. More...

#include <PointMatcher.h>

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

List of all members.

Public Member Functions

virtual void check (const TransformationParameters &parameters, bool &iterate)=0
 Set iterate to false if iteration should stop.
const StringVectorgetConditionVariableNames () const
 Return the names of variables involved in conditions to stop ICP loop.
const VectorgetConditionVariables () const
 Return the values of variables involved in conditions to stop ICP loop.
const StringVectorgetLimitNames () const
 Return the names of limits involved in conditions to stop ICP loop.
const VectorgetLimits () const
 Return the value of limits involved in conditions to stop ICP loop.
virtual void init (const TransformationParameters &parameters, bool &iterate)=0
 Init, set iterate to false if iteration should stop.
 TransformationChecker ()
 Construct without parameter.
 TransformationChecker (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 Construct with parameters.
virtual ~TransformationChecker ()
 Destructor.

Protected Types

typedef std::vector< std::string > StringVector
 a vector of strings

Static Protected Member Functions

static Vector matrixToAngles (const TransformationParameters &parameters)
 Extract the Euler angles from a rigid-transformation matrix.

Protected Attributes

StringVector conditionVariableNames
 names of variables involved in conditions to stop ICP loop
Vector conditionVariables
 values of variables involved in conditions to stop ICP loop
StringVector limitNames
 names of limits involved in conditions to stop ICP loop
Vector limits
 values of limits involved in conditions to stop ICP loop

Detailed Description

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

A transformation checker can stop the iteration depending on some conditions.

For example, a condition can be the number of times the loop was executed, or it can be related to the matching error. Because the modules can be chained, we defined that the relation between modules must agree through an OR-condition, while all AND-conditions are defined within a single module.

Definition at line 572 of file PointMatcher.h.


Member Typedef Documentation

template<typename T>
typedef std::vector<std::string> PointMatcher< T >::TransformationChecker::StringVector [protected]

a vector of strings

Definition at line 575 of file PointMatcher.h.


Constructor & Destructor Documentation

Construct without parameter.

Definition at line 41 of file TransformationChecker.cpp.

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

Construct with parameters.

Definition at line 46 of file TransformationChecker.cpp.

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

Destructor.

Definition at line 52 of file TransformationChecker.cpp.


Member Function Documentation

template<typename T>
virtual void PointMatcher< T >::TransformationChecker::check ( const TransformationParameters parameters,
bool &  iterate 
) [pure virtual]

Return the names of variables involved in conditions to stop ICP loop.

Definition at line 78 of file TransformationChecker.cpp.

template<typename T >
const PointMatcher< T >::Vector & PointMatcher< T >::TransformationChecker::getConditionVariables ( ) const

Return the values of variables involved in conditions to stop ICP loop.

Definition at line 64 of file TransformationChecker.cpp.

Return the names of limits involved in conditions to stop ICP loop.

Definition at line 71 of file TransformationChecker.cpp.

template<typename T >
const PointMatcher< T >::Vector & PointMatcher< T >::TransformationChecker::getLimits ( ) const

Return the value of limits involved in conditions to stop ICP loop.

Definition at line 57 of file TransformationChecker.cpp.

template<typename T>
virtual void PointMatcher< T >::TransformationChecker::init ( const TransformationParameters parameters,
bool &  iterate 
) [pure virtual]
template<typename T >
PointMatcher< T >::Vector PointMatcher< T >::TransformationChecker::matrixToAngles ( const TransformationParameters parameters) [static, protected]

Extract the Euler angles from a rigid-transformation matrix.

Definition at line 85 of file TransformationChecker.cpp.


Member Data Documentation

names of variables involved in conditions to stop ICP loop

Definition at line 579 of file PointMatcher.h.

template<typename T>
Vector PointMatcher< T >::TransformationChecker::conditionVariables [protected]

values of variables involved in conditions to stop ICP loop

Definition at line 577 of file PointMatcher.h.

template<typename T>
StringVector PointMatcher< T >::TransformationChecker::limitNames [protected]

names of limits involved in conditions to stop ICP loop

Definition at line 578 of file PointMatcher.h.

template<typename T>
Vector PointMatcher< T >::TransformationChecker::limits [protected]

values of limits involved in conditions to stop ICP loop

Definition at line 576 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