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 Types | |
typedef PointMatcher< T > ::DataPoints | DataPoints |
typedef PointMatcher< T > ::DataPoints::InvalidField | InvalidField |
typedef Parametrizable::InvalidParameter | InvalidParameter |
typedef PointMatcher< T >::Matrix | Matrix |
typedef PointMatcherSupport::Parametrizable | P |
typedef Parametrizable::ParameterDoc | ParameterDoc |
typedef Parametrizable::Parameters | Parameters |
Parameters stored as a map of string->string. | |
typedef Parametrizable::ParametersDoc | ParametersDoc |
The documentation of all parameters. | |
typedef PointMatcherSupport::Parametrizable | Parametrizable |
typedef PointMatcher< T >::Vector | Vector |
Public Member Functions | |
virtual DataPoints | filter (const DataPoints &input) |
Apply filters to input point cloud. This is the non-destructive version and returns a copy. | |
virtual void | inPlaceFilter (DataPoints &cloud) |
Apply these filters to a point cloud without copying. | |
SamplingSurfaceNormalDataPointsFilter (const Parameters ¶ms=Parameters()) | |
virtual | ~SamplingSurfaceNormalDataPointsFilter () |
Static Public Member Functions | |
static const ParametersDoc | availableParameters () |
static const std::string | description () |
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 |
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 |
Parameters stored as a map of string->string.
Reimplemented from PointMatcherSupport::Parametrizable.
Definition at line 45 of file SamplingSurfaceNormal.h.
typedef Parametrizable::ParametersDoc SamplingSurfaceNormalDataPointsFilter< T >::ParametersDoc |
The documentation of all parameters.
Reimplemented from PointMatcherSupport::Parametrizable.
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 52 of file SamplingSurfaceNormal.cpp.
virtual SamplingSurfaceNormalDataPointsFilter< T >::~SamplingSurfaceNormalDataPointsFilter | ( | ) | [inline, virtual] |
Definition at line 87 of file SamplingSurfaceNormal.h.
static const ParametersDoc SamplingSurfaceNormalDataPointsFilter< T >::availableParameters | ( | ) | [inline, static] |
Definition at line 60 of file SamplingSurfaceNormal.h.
void SamplingSurfaceNormalDataPointsFilter< T >::buildNew | ( | BuildData & | data, |
const int | first, | ||
const int | last, | ||
Vector && | minValues, | ||
Vector && | maxValues | ||
) | const [protected] |
Definition at line 173 of file SamplingSurfaceNormal.cpp.
static const std::string SamplingSurfaceNormalDataPointsFilter< T >::description | ( | ) | [inline, static] |
Definition at line 56 of file SamplingSurfaceNormal.h.
PointMatcher< T >::DataPoints SamplingSurfaceNormalDataPointsFilter< T >::filter | ( | const DataPoints & | input | ) | [virtual] |
Apply filters to input point cloud. This is the non-destructive version and returns a copy.
Implements PointMatcher< T >::DataPointsFilter.
Definition at line 71 of file SamplingSurfaceNormal.cpp.
void SamplingSurfaceNormalDataPointsFilter< T >::fuseRange | ( | BuildData & | data, |
const int | first, | ||
const int | last | ||
) | const [protected] |
Definition at line 225 of file SamplingSurfaceNormal.cpp.
void SamplingSurfaceNormalDataPointsFilter< T >::inPlaceFilter | ( | DataPoints & | cloud | ) | [virtual] |
Apply these filters to a point cloud without copying.
Implements PointMatcher< T >::DataPointsFilter.
Definition at line 81 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.