Go to the documentation of this file.
39 #ifdef SYSTEM_YAML_CPP
40 #include "yaml-cpp/yaml.h"
44 #endif // HAVE_YAML_CPP
113 const int nbPointsBeforeFilters(cloud.
features.cols());
114 LOG_INFO_STREAM(
"Applying " << this->size() <<
" DataPoints filters - " << nbPointsBeforeFilters <<
" points in");
117 const int nbPointsIn(cloud.
features.cols());
118 if (nbPointsIn == 0) {
122 (*it)->inPlaceFilter(cloud);
125 const int nbPointsOut(cloud.
features.cols());
126 LOG_INFO_STREAM(
"* " << (*it)->className <<
" - " << nbPointsOut <<
" points out (-" << (100 -
double(nbPointsOut*100.)/nbPointsIn) <<
"\%)");
129 const int nbPointsAfterFilters(cloud.
features.cols());
130 LOG_INFO_STREAM(
"Applied " << this->size() <<
" filters - " << nbPointsAfterFilters <<
" points out (-" << (100 -
double(nbPointsAfterFilters*100.)/nbPointsBeforeFilters) <<
"\%)");
DataPointsFilters()
Construct an empty chain.
DataPointsFilters::iterator DataPointsFiltersIt
alias
void init()
Init the chain.
void assertDescriptorConsistency() const
Assert if descriptors are not consistent with features.
#define LOG_INFO_STREAM(args)
Functions and classes that are dependant on scalar type are defined in this templatized class.
Point matcher did not converge.
A chain of DataPointsFilter.
std::vector< ParameterDoc > ParametersDoc
The documentation of all parameters.
bool GetNextDocument(Node &document)
DataPointsFilter()
Construct without parameter.
A data filter takes a point cloud as input, transforms it, and produces another point cloud as output...
virtual ~DataPointsFilter()
virtual destructor
Matrix features
features of points in the cloud
virtual void init()
Init this filter.
The superclass of classes that are constructed using generic parameters. This class provides the para...
static const PointMatcher & get()
Return instances.
void apply(DataPoints &cloud)
Apply this chain to cloud, mutates cloud.
std::map< std::string, Parameter > Parameters
Parameters stored as a map of string->string.
mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:10