Sampling surface normals. First decimate the space until there is at most knn points, then find the center of mass and use the points to estimate nromal using eigen-decomposition. More...
#include <SamplingSurfaceNormal.h>
Classes | |
struct | BuildData |
struct | CompareDim |
Public Member Functions | |
virtual DataPoints | filter (const DataPoints &input) |
virtual void | inPlaceFilter (DataPoints &cloud) |
SamplingSurfaceNormalDataPointsFilter (const Parameters ¶ms=Parameters()) | |
virtual | ~SamplingSurfaceNormalDataPointsFilter () |
Public Member Functions inherited from PointMatcher< T >::DataPointsFilter | |
DataPointsFilter () | |
Construct without parameter. More... | |
DataPointsFilter (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
Construct with parameters. More... | |
virtual DataPoints | filter (const DataPoints &input)=0 |
Apply filters to input point cloud. This is the non-destructive version and returns a copy. More... | |
virtual void | init () |
Init this filter. More... | |
virtual void | inPlaceFilter (DataPoints &cloud)=0 |
Apply these filters to a point cloud without copying. More... | |
virtual | ~DataPointsFilter () |
virtual destructor More... | |
Public Member Functions inherited from PointMatcherSupport::Parametrizable | |
template<typename S > | |
S | get (const std::string ¶mName) |
Return the value of paramName, lexically-casted to S. More... | |
std::string | getParamValueString (const std::string ¶mName) |
Get the value of a parameter, as a string. More... | |
template<typename T > | |
std::vector< T > | getVector (const std::string ¶mName) |
Return the value of paramName, lexically-casted std::vector<S> More... | |
Parametrizable () | |
Construct a documentation of parameters from a description in the source. More... | |
Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters ¶ms) | |
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 bool | averageExistingDescriptors |
const bool | keepDensities |
const bool | keepEigenValues |
const bool | keepEigenVectors |
const bool | keepNormals |
const unsigned | knn |
const T | maxBoxDim |
const T | ratio |
const unsigned | samplingMethod |
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 Member Functions | |
void | buildNew (BuildData &data, const int first, const int last, Vector &&minValues, Vector &&maxValues) const |
void | fuseRange (BuildData &data, const int first, const int last) const |
Sampling surface normals. First decimate the space until there is at most knn points, then find the center of mass and use the points to estimate nromal using eigen-decomposition.
Definition at line 41 of file SamplingSurfaceNormal.h.
typedef PointMatcher<T>::DataPoints SamplingSurfaceNormalDataPointsFilter< T >::DataPoints |
Definition at line 52 of file SamplingSurfaceNormal.h.
typedef PointMatcher<T>::DataPoints::InvalidField SamplingSurfaceNormalDataPointsFilter< T >::InvalidField |
Definition at line 53 of file SamplingSurfaceNormal.h.
typedef Parametrizable::InvalidParameter SamplingSurfaceNormalDataPointsFilter< T >::InvalidParameter |
Definition at line 48 of file SamplingSurfaceNormal.h.
typedef PointMatcher<T>::Matrix SamplingSurfaceNormalDataPointsFilter< T >::Matrix |
Definition at line 51 of file SamplingSurfaceNormal.h.
typedef PointMatcherSupport::Parametrizable SamplingSurfaceNormalDataPointsFilter< T >::P |
Definition at line 44 of file SamplingSurfaceNormal.h.
typedef Parametrizable::ParameterDoc SamplingSurfaceNormalDataPointsFilter< T >::ParameterDoc |
Definition at line 46 of file SamplingSurfaceNormal.h.
typedef Parametrizable::Parameters SamplingSurfaceNormalDataPointsFilter< T >::Parameters |
Definition at line 45 of file SamplingSurfaceNormal.h.
typedef Parametrizable::ParametersDoc SamplingSurfaceNormalDataPointsFilter< T >::ParametersDoc |
Definition at line 47 of file SamplingSurfaceNormal.h.
typedef PointMatcherSupport::Parametrizable SamplingSurfaceNormalDataPointsFilter< T >::Parametrizable |
Definition at line 43 of file SamplingSurfaceNormal.h.
typedef PointMatcher<T>::Vector SamplingSurfaceNormalDataPointsFilter< T >::Vector |
Definition at line 50 of file SamplingSurfaceNormal.h.
SamplingSurfaceNormalDataPointsFilter< T >::SamplingSurfaceNormalDataPointsFilter | ( | const Parameters & | params = Parameters() | ) |
Definition at line 51 of file SamplingSurfaceNormal.cpp.
|
inlinevirtual |
Definition at line 87 of file SamplingSurfaceNormal.h.
|
inlinestatic |
Definition at line 60 of file SamplingSurfaceNormal.h.
|
protected |
Definition at line 172 of file SamplingSurfaceNormal.cpp.
|
inlinestatic |
Definition at line 56 of file SamplingSurfaceNormal.h.
|
virtual |
Definition at line 70 of file SamplingSurfaceNormal.cpp.
|
protected |
Definition at line 224 of file SamplingSurfaceNormal.cpp.
|
virtual |
Definition at line 80 of file SamplingSurfaceNormal.cpp.
const bool SamplingSurfaceNormalDataPointsFilter< T >::averageExistingDescriptors |
Definition at line 79 of file SamplingSurfaceNormal.h.
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepDensities |
Definition at line 81 of file SamplingSurfaceNormal.h.
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepEigenValues |
Definition at line 82 of file SamplingSurfaceNormal.h.
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepEigenVectors |
Definition at line 83 of file SamplingSurfaceNormal.h.
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepNormals |
Definition at line 80 of file SamplingSurfaceNormal.h.
const unsigned SamplingSurfaceNormalDataPointsFilter< T >::knn |
Definition at line 76 of file SamplingSurfaceNormal.h.
const T SamplingSurfaceNormalDataPointsFilter< T >::maxBoxDim |
Definition at line 78 of file SamplingSurfaceNormal.h.
const T SamplingSurfaceNormalDataPointsFilter< T >::ratio |
Definition at line 75 of file SamplingSurfaceNormal.h.
const unsigned SamplingSurfaceNormalDataPointsFilter< T >::samplingMethod |
Definition at line 77 of file SamplingSurfaceNormal.h.