Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SamplingSurfaceNormalDataPointsFilter< T > Struct Template Reference

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>

Inheritance diagram for SamplingSurfaceNormalDataPointsFilter< T >:
Inheritance graph
[legend]

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
 
typedef Parametrizable::ParametersDoc ParametersDoc
 
typedef PointMatcherSupport::Parametrizable Parametrizable
 
typedef PointMatcher< T >::Vector Vector
 
- Public Types inherited from PointMatcherSupport::Parametrizable
typedef bool(* LexicalComparison) (std::string a, std::string b)
 A function that returns whether a is smaller than b. More...
 
typedef std::string Parameter
 alias More...
 
typedef std::map< std::string, ParameterParameters
 Parameters stored as a map of string->string. More...
 
typedef std::vector< ParameterDocParametersDoc
 The documentation of all parameters. More...
 
typedef std::set< std::string > ParametersUsed
 Parameters whose value has been read. More...
 

Public Member Functions

virtual DataPoints filter (const DataPoints &input)
 
virtual void inPlaceFilter (DataPoints &cloud)
 
 SamplingSurfaceNormalDataPointsFilter (const Parameters &params=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 &params)
 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 >
get (const std::string &paramName)
 Return the value of paramName, lexically-casted to S. More...
 
std::string getParamValueString (const std::string &paramName)
 Get the value of a parameter, as a string. More...
 
 Parametrizable ()
 Construct a documentation of parameters from a description in the source. More...
 
 Parametrizable (const std::string &className, const ParametersDoc paramsDoc, const Parameters &params)
 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
 

Detailed Description

template<typename T>
struct SamplingSurfaceNormalDataPointsFilter< T >

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.

Member Typedef Documentation

◆ DataPoints

Definition at line 52 of file SamplingSurfaceNormal.h.

◆ InvalidField

Definition at line 53 of file SamplingSurfaceNormal.h.

◆ InvalidParameter

Definition at line 48 of file SamplingSurfaceNormal.h.

◆ Matrix

template<typename T >
typedef PointMatcher<T>::Matrix SamplingSurfaceNormalDataPointsFilter< T >::Matrix

Definition at line 51 of file SamplingSurfaceNormal.h.

◆ P

Definition at line 44 of file SamplingSurfaceNormal.h.

◆ ParameterDoc

Definition at line 46 of file SamplingSurfaceNormal.h.

◆ Parameters

Definition at line 45 of file SamplingSurfaceNormal.h.

◆ ParametersDoc

Definition at line 47 of file SamplingSurfaceNormal.h.

◆ Parametrizable

Definition at line 43 of file SamplingSurfaceNormal.h.

◆ Vector

template<typename T >
typedef PointMatcher<T>::Vector SamplingSurfaceNormalDataPointsFilter< T >::Vector

Definition at line 50 of file SamplingSurfaceNormal.h.

Constructor & Destructor Documentation

◆ SamplingSurfaceNormalDataPointsFilter()

Definition at line 51 of file SamplingSurfaceNormal.cpp.

◆ ~SamplingSurfaceNormalDataPointsFilter()

template<typename T >
virtual SamplingSurfaceNormalDataPointsFilter< T >::~SamplingSurfaceNormalDataPointsFilter ( )
inlinevirtual

Definition at line 87 of file SamplingSurfaceNormal.h.

Member Function Documentation

◆ availableParameters()

template<typename T >
static const ParametersDoc SamplingSurfaceNormalDataPointsFilter< T >::availableParameters ( )
inlinestatic

Definition at line 60 of file SamplingSurfaceNormal.h.

◆ buildNew()

template<typename T >
void SamplingSurfaceNormalDataPointsFilter< T >::buildNew ( BuildData data,
const int  first,
const int  last,
Vector &&  minValues,
Vector &&  maxValues 
) const
protected

Definition at line 172 of file SamplingSurfaceNormal.cpp.

◆ description()

template<typename T >
static const std::string SamplingSurfaceNormalDataPointsFilter< T >::description ( )
inlinestatic

Definition at line 56 of file SamplingSurfaceNormal.h.

◆ filter()

template<typename T >
PointMatcher< T >::DataPoints SamplingSurfaceNormalDataPointsFilter< T >::filter ( const DataPoints input)
virtual

Definition at line 70 of file SamplingSurfaceNormal.cpp.

◆ fuseRange()

template<typename T >
void SamplingSurfaceNormalDataPointsFilter< T >::fuseRange ( BuildData data,
const int  first,
const int  last 
) const
protected

Definition at line 224 of file SamplingSurfaceNormal.cpp.

◆ inPlaceFilter()

template<typename T >
void SamplingSurfaceNormalDataPointsFilter< T >::inPlaceFilter ( DataPoints cloud)
virtual

Definition at line 80 of file SamplingSurfaceNormal.cpp.

Member Data Documentation

◆ averageExistingDescriptors

template<typename T >
const bool SamplingSurfaceNormalDataPointsFilter< T >::averageExistingDescriptors

Definition at line 79 of file SamplingSurfaceNormal.h.

◆ keepDensities

template<typename T >
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepDensities

Definition at line 81 of file SamplingSurfaceNormal.h.

◆ keepEigenValues

template<typename T >
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepEigenValues

Definition at line 82 of file SamplingSurfaceNormal.h.

◆ keepEigenVectors

template<typename T >
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepEigenVectors

Definition at line 83 of file SamplingSurfaceNormal.h.

◆ keepNormals

template<typename T >
const bool SamplingSurfaceNormalDataPointsFilter< T >::keepNormals

Definition at line 80 of file SamplingSurfaceNormal.h.

◆ knn

template<typename T >
const unsigned SamplingSurfaceNormalDataPointsFilter< T >::knn

Definition at line 76 of file SamplingSurfaceNormal.h.

◆ maxBoxDim

template<typename T >
const T SamplingSurfaceNormalDataPointsFilter< T >::maxBoxDim

Definition at line 78 of file SamplingSurfaceNormal.h.

◆ ratio

template<typename T >
const T SamplingSurfaceNormalDataPointsFilter< T >::ratio

Definition at line 75 of file SamplingSurfaceNormal.h.

◆ samplingMethod

template<typename T >
const unsigned SamplingSurfaceNormalDataPointsFilter< T >::samplingMethod

Definition at line 77 of file SamplingSurfaceNormal.h.


The documentation for this struct was generated from the following files:


mp2p_icp
Author(s):
autogenerated on Thu Dec 26 2024 03:48:13