Ponca
aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
|
Extension to compute curvature values based on a covariance analysis of normal vectors of neighbors. More...
#include <curvatureEstimation.h>
Public Types | |
using | Scalar = typename DataPoint::Scalar |
Alias to scalar type. | |
using | VectorType = typename Base::VectorType |
Alias to vector type. | |
using | WFunctor = typename Base::WFunctor |
Alias to weight function. | |
using | MatrixType = typename DataPoint::MatrixType |
Alias to matrix type. | |
using | ScalarArray = typename Base::ScalarArray |
Alias to scalar derivatives array. | |
using | VectorArray = typename Base::VectorArray |
Alias to vector derivatives array. | |
typedef Eigen::SelfAdjointEigenSolver< MatrixType > | Solver |
Solver used to analyse the covariance matrix. | |
Public Member Functions | |
NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T > & | normalCovarianceCurvatureEstimator () |
Explicit conversion to NormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage. | |
const NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T > & | normalCovarianceCurvatureEstimator () const |
Explicit conversion to NormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage. | |
void | init (const VectorType &_evalPos) |
Set the evaluation position and reset the internal states. | |
bool | addLocalNeighbor (Scalar w, const VectorType &localQ, const DataPoint &attributes, ScalarArray &dw) |
Add a neighbor to perform the fit. | |
FIT_RESULT | finalize () |
Finalize the procedure. | |
Protected Types | |
enum | { Check = Base::PROVIDES_PRINCIPAL_CURVATURES } |
using | Base = T |
Base class of the procedure. | |
Protected Attributes | |
MatrixType | m_cov |
Covariance matrix of the normal vectors. | |
VectorType | m_cog |
Gravity center of the normal vectors. | |
Solver | m_solver |
Solver used to analyse the covariance matrix. | |
Extension to compute curvature values based on a covariance analysis of normal vectors of neighbors.
A 3D covariance matrix is computed from the normals of the neighbors and the two principal curvature values and directions are given by the two extreme eigenvalues and associated eigenvectors of the covariance matrix [9].
Definition at line 75 of file curvatureEstimation.h.
|
protected |
Base class of the procedure.
Definition at line 77 of file curvatureEstimation.h.
using Ponca::NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::MatrixType = typename DataPoint::MatrixType |
Alias to matrix type.
Definition at line 78 of file curvatureEstimation.h.
using Ponca::NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 77 of file curvatureEstimation.h.
using Ponca::NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::ScalarArray = typename Base::ScalarArray |
Alias to scalar derivatives array.
Definition at line 79 of file curvatureEstimation.h.
typedef Eigen::SelfAdjointEigenSolver<MatrixType> Ponca::NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Solver |
Solver used to analyse the covariance matrix.
Definition at line 93 of file curvatureEstimation.h.
using Ponca::NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::VectorArray = typename Base::VectorArray |
Alias to vector derivatives array.
Definition at line 79 of file curvatureEstimation.h.
using Ponca::NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 77 of file curvatureEstimation.h.
using Ponca::NormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::WFunctor = typename Base::WFunctor |
Alias to weight function.
Definition at line 77 of file curvatureEstimation.h.
|
protected |
Definition at line 82 of file curvatureEstimation.h.
|
inline |
Add a neighbor to perform the fit.
Definition at line 119 of file curvatureEstimation.hpp.
|
inline |
Finalize the procedure.
Definition at line 133 of file curvatureEstimation.hpp.
|
inline |
Set the evaluation position and reset the internal states.
Definition at line 110 of file curvatureEstimation.hpp.
|
inline |
Explicit conversion to NormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage.
Definition at line 101 of file curvatureEstimation.h.
|
inline |
Explicit conversion to NormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage.
Definition at line 101 of file curvatureEstimation.h.
|
protected |
Gravity center of the normal vectors.
Definition at line 97 of file curvatureEstimation.h.
|
protected |
Covariance matrix of the normal vectors.
Definition at line 96 of file curvatureEstimation.h.
|
protected |
Solver used to analyse the covariance matrix.
Definition at line 98 of file curvatureEstimation.h.