Stuff common to all ICP algorithms. More...
#include <PointMatcher.h>
Public Member Functions | |
template<typename R > | |
const std::string & | createModuleFromRegistrar (const std::string ®Name, const YAML::Node &doc, const R ®istrar, std::shared_ptr< typename R::TargetType > &module) |
Instantiate a module if its name is in the YAML file. | |
template<typename R > | |
const std::string & | createModulesFromRegistrar (const std::string ®Name, const YAML::Node &doc, const R ®istrar, std::vector< std::shared_ptr< typename R::TargetType > > &modules) |
Instantiate modules if their names are in the YAML file. | |
bool | getMaxNumIterationsReached () const |
Return the flag that informs if we reached the maximum number of iterations during the last iterative process. | |
unsigned | getPrefilteredReadingPtsCount () const |
Return the remaining number of points in reading after prefiltering but before the iterative process. | |
unsigned | getPrefilteredReferencePtsCount () const |
Return the remaining number of points in the reference after prefiltering but before the iterative process. | |
void | loadFromYaml (std::istream &in) |
Construct an ICP algorithm from a YAML file. | |
virtual void | setDefault () |
Construct an ICP algorithm that works in most of the cases. | |
virtual | ~ICPChainBase () |
virtual desctructor | |
Public Attributes | |
std::shared_ptr< ErrorMinimizer > | errorMinimizer |
error minimizer | |
std::shared_ptr< Inspector > | inspector |
inspector | |
std::shared_ptr< Matcher > | matcher |
matcher | |
OutlierFilters | outlierFilters |
outlier filters | |
DataPointsFilters | readingDataPointsFilters |
filters for reading, applied once | |
DataPointsFilters | readingStepDataPointsFilters |
filters for reading, applied at each step | |
DataPointsFilters | referenceDataPointsFilters |
filters for reference | |
TransformationCheckers | transformationCheckers |
transformation checkers | |
Transformations | transformations |
transformations | |
Protected Member Functions | |
void | cleanup () |
Clean chain up, empty all filters and delete associated objects. | |
template<typename R > | |
const std::string & | createModuleFromRegistrar (const std::string ®Name, const PointMatcherSupport::YAML::Node &doc, const R ®istrar, std::shared_ptr< typename R::TargetType > &module) |
Instantiate a module if its name is in the YAML file. | |
template<typename R > | |
const std::string & | createModulesFromRegistrar (const std::string ®Name, const PointMatcherSupport::YAML::Node &doc, const R ®istrar, std::vector< std::shared_ptr< typename R::TargetType > > &modules) |
Instantiate modules if their names are in the YAML file. | |
ICPChainBase () | |
Protected contstructor, to prevent the creation of this object. | |
virtual void | loadAdditionalYAMLContent (PointMatcherSupport::YAML::Node &doc) |
Hook to load addition subclass-specific content from the YAML file. | |
std::string | nodeVal (const std::string ®Name, const PointMatcherSupport::YAML::Node &doc) |
Get the value of a field in a node. | |
Protected Attributes | |
bool | maxNumIterationsReached |
store if we reached the maximum number of iterations last time compute was called | |
unsigned | prefilteredReadingPtsCount |
remaining number of points after prefiltering but before the iterative process | |
unsigned | prefilteredReferencePtsCount |
remaining number of points after prefiltering but before the iterative process |
Stuff common to all ICP algorithms.
Definition at line 644 of file PointMatcher.h.
PointMatcher< T >::ICPChainBase::~ICPChainBase | ( | ) | [virtual] |
PointMatcher< T >::ICPChainBase::ICPChainBase | ( | ) | [protected] |
void PointMatcher< T >::ICPChainBase::cleanup | ( | ) | [protected] |
const std::string& PointMatcher< T >::ICPChainBase::createModuleFromRegistrar | ( | const std::string & | regName, |
const YAML::Node & | doc, | ||
const R & | registrar, | ||
std::shared_ptr< typename R::TargetType > & | module | ||
) |
const std::string& PointMatcher< T >::ICPChainBase::createModuleFromRegistrar | ( | const std::string & | regName, |
const PointMatcherSupport::YAML::Node & | doc, | ||
const R & | registrar, | ||
std::shared_ptr< typename R::TargetType > & | module | ||
) | [protected] |
Instantiate a module if its name is in the YAML file.
const std::string& PointMatcher< T >::ICPChainBase::createModulesFromRegistrar | ( | const std::string & | regName, |
const YAML::Node & | doc, | ||
const R & | registrar, | ||
std::vector< std::shared_ptr< typename R::TargetType > > & | modules | ||
) |
const std::string& PointMatcher< T >::ICPChainBase::createModulesFromRegistrar | ( | const std::string & | regName, |
const PointMatcherSupport::YAML::Node & | doc, | ||
const R & | registrar, | ||
std::vector< std::shared_ptr< typename R::TargetType > > & | modules | ||
) | [protected] |
Instantiate modules if their names are in the YAML file.
bool PointMatcher< T >::ICPChainBase::getMaxNumIterationsReached | ( | ) | const |
unsigned PointMatcher< T >::ICPChainBase::getPrefilteredReadingPtsCount | ( | ) | const |
unsigned PointMatcher< T >::ICPChainBase::getPrefilteredReferencePtsCount | ( | ) | const |
void PointMatcher< T >::ICPChainBase::loadAdditionalYAMLContent | ( | PointMatcherSupport::YAML::Node & | doc | ) | [protected, virtual] |
void PointMatcher< T >::ICPChainBase::loadFromYaml | ( | std::istream & | in | ) |
std::string PointMatcher< T >::ICPChainBase::nodeVal | ( | const std::string & | regName, |
const PointMatcherSupport::YAML::Node & | doc | ||
) | [protected] |
void PointMatcher< T >::ICPChainBase::setDefault | ( | ) | [virtual] |
std::shared_ptr<ErrorMinimizer> PointMatcher< T >::ICPChainBase::errorMinimizer |
error minimizer
Definition at line 653 of file PointMatcher.h.
std::shared_ptr<Inspector> PointMatcher< T >::ICPChainBase::inspector |
inspector
Definition at line 655 of file PointMatcher.h.
std::shared_ptr<Matcher> PointMatcher< T >::ICPChainBase::matcher |
matcher
Definition at line 651 of file PointMatcher.h.
bool PointMatcher< T >::ICPChainBase::maxNumIterationsReached [protected] |
store if we reached the maximum number of iterations last time compute was called
Definition at line 670 of file PointMatcher.h.
OutlierFilters PointMatcher< T >::ICPChainBase::outlierFilters |
outlier filters
Definition at line 652 of file PointMatcher.h.
unsigned PointMatcher< T >::ICPChainBase::prefilteredReadingPtsCount [protected] |
remaining number of points after prefiltering but before the iterative process
Definition at line 668 of file PointMatcher.h.
unsigned PointMatcher< T >::ICPChainBase::prefilteredReferencePtsCount [protected] |
remaining number of points after prefiltering but before the iterative process
Definition at line 669 of file PointMatcher.h.
DataPointsFilters PointMatcher< T >::ICPChainBase::readingDataPointsFilters |
filters for reading, applied once
Definition at line 647 of file PointMatcher.h.
DataPointsFilters PointMatcher< T >::ICPChainBase::readingStepDataPointsFilters |
filters for reading, applied at each step
Definition at line 648 of file PointMatcher.h.
DataPointsFilters PointMatcher< T >::ICPChainBase::referenceDataPointsFilters |
filters for reference
Definition at line 649 of file PointMatcher.h.
TransformationCheckers PointMatcher< T >::ICPChainBase::transformationCheckers |
transformation checkers
Definition at line 654 of file PointMatcher.h.
Transformations PointMatcher< T >::ICPChainBase::transformations |
transformations
Definition at line 650 of file PointMatcher.h.