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. More... | |
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. More... | |
bool | getMaxNumIterationsReached () const |
Return the flag that informs if we reached the maximum number of iterations during the last iterative process. More... | |
unsigned | getPrefilteredReadingPtsCount () const |
Return the remaining number of points in reading after prefiltering but before the iterative process. More... | |
unsigned | getPrefilteredReferencePtsCount () const |
Return the remaining number of points in the reference after prefiltering but before the iterative process. More... | |
virtual void | loadFromYaml (std::istream &in) |
Construct an ICP algorithm from a YAML file. More... | |
virtual void | setDefault () |
Construct an ICP algorithm that works in most of the cases. More... | |
virtual | ~ICPChainBase () |
virtual desctructor More... | |
Public Attributes | |
std::shared_ptr< ErrorMinimizer > | errorMinimizer |
error minimizer More... | |
std::shared_ptr< Inspector > | inspector |
inspector More... | |
std::shared_ptr< Matcher > | matcher |
matcher More... | |
OutlierFilters | outlierFilters |
outlier filters More... | |
DataPointsFilters | readingDataPointsFilters |
filters for reading, applied once More... | |
DataPointsFilters | readingStepDataPointsFilters |
filters for reading, applied at each step More... | |
DataPointsFilters | referenceDataPointsFilters |
filters for reference More... | |
TransformationCheckers | transformationCheckers |
transformation checkers More... | |
Transformations | transformations |
transformations More... | |
Protected Member Functions | |
void | cleanup () |
Clean chain up, empty all filters and delete associated objects. More... | |
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. More... | |
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. More... | |
ICPChainBase () | |
Protected contstructor, to prevent the creation of this object. More... | |
virtual void | loadAdditionalYAMLContent (PointMatcherSupport::YAML::Node &doc) |
Hook to load addition subclass-specific content from the YAML file. More... | |
std::string | nodeVal (const std::string ®Name, const PointMatcherSupport::YAML::Node &doc) |
Get the value of a field in a node. More... | |
Protected Attributes | |
bool | maxNumIterationsReached |
store if we reached the maximum number of iterations last time compute was called More... | |
unsigned | prefilteredReadingPtsCount |
remaining number of points after prefiltering but before the iterative process More... | |
unsigned | prefilteredReferencePtsCount |
remaining number of points after prefiltering but before the iterative process More... | |
Stuff common to all ICP algorithms.
Definition at line 652 of file PointMatcher.h.
|
virtual |
virtual desctructor
Definition at line 73 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protected |
Protected contstructor, to prevent the creation of this object.
Definition at line 65 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protected |
Clean chain up, empty all filters and delete associated objects.
Definition at line 79 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protected |
Instantiate a module if its name is in the YAML file.
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 | ||
) |
Instantiate a module if its name is in the YAML file.
Definition at line 211 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protected |
Instantiate modules if their names are 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 | ||
) |
Instantiate modules if their names are in the YAML file.
Definition at line 193 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
bool PointMatcher< T >::ICPChainBase::getMaxNumIterationsReached |
Return the flag that informs if we reached the maximum number of iterations during the last iterative process.
Definition at line 185 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
unsigned PointMatcher< T >::ICPChainBase::getPrefilteredReadingPtsCount |
Return the remaining number of points in reading after prefiltering but before the iterative process.
Definition at line 171 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
unsigned PointMatcher< T >::ICPChainBase::getPrefilteredReferencePtsCount |
Return the remaining number of points in the reference after prefiltering but before the iterative process.
Definition at line 178 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protectedvirtual |
Hook to load addition subclass-specific content from the YAML file.
Definition at line 94 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
virtual |
Construct an ICP algorithm from a YAML file.
Reimplemented in PointMatcher< T >::ICPSequence.
Definition at line 117 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
protected |
Get the value of a field in a node.
Definition at line 225 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
|
virtual |
Construct an ICP algorithm that works in most of the cases.
Reimplemented in PointMatcher< T >::ICPSequence.
Definition at line 100 of file 3rdparty/libpointmatcher/pointmatcher/ICP.cpp.
std::shared_ptr<ErrorMinimizer> PointMatcher< T >::ICPChainBase::errorMinimizer |
error minimizer
Definition at line 661 of file PointMatcher.h.
std::shared_ptr<Inspector> PointMatcher< T >::ICPChainBase::inspector |
inspector
Definition at line 663 of file PointMatcher.h.
std::shared_ptr<Matcher> PointMatcher< T >::ICPChainBase::matcher |
matcher
Definition at line 659 of file PointMatcher.h.
|
protected |
store if we reached the maximum number of iterations last time compute was called
Definition at line 678 of file PointMatcher.h.
OutlierFilters PointMatcher< T >::ICPChainBase::outlierFilters |
outlier filters
Definition at line 660 of file PointMatcher.h.
|
protected |
remaining number of points after prefiltering but before the iterative process
Definition at line 676 of file PointMatcher.h.
|
protected |
remaining number of points after prefiltering but before the iterative process
Definition at line 677 of file PointMatcher.h.
DataPointsFilters PointMatcher< T >::ICPChainBase::readingDataPointsFilters |
filters for reading, applied once
Definition at line 655 of file PointMatcher.h.
DataPointsFilters PointMatcher< T >::ICPChainBase::readingStepDataPointsFilters |
filters for reading, applied at each step
Definition at line 656 of file PointMatcher.h.
DataPointsFilters PointMatcher< T >::ICPChainBase::referenceDataPointsFilters |
filters for reference
Definition at line 657 of file PointMatcher.h.
TransformationCheckers PointMatcher< T >::ICPChainBase::transformationCheckers |
transformation checkers
Definition at line 662 of file PointMatcher.h.
Transformations PointMatcher< T >::ICPChainBase::transformations |
transformations
Definition at line 658 of file PointMatcher.h.