Ponca
aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
|
Extension to compute curvature values based on a covariance analysis of normal vectors of neighbors projected onto the tangent plane. 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::Matrix< Scalar, 2, 2 > | Mat22 |
typedef Eigen::Matrix< Scalar, 3, 2 > | Mat32 |
typedef Eigen::Matrix< Scalar, 2, 1 > | Vector2 |
typedef VectorType::Index | Index |
typedef Eigen::SelfAdjointEigenSolver< Mat22 > | Solver |
Solver used to analyse the covariance matrix. | |
Public Member Functions | |
ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T > & | projectedNormalCovarianceCurvature () |
Explicit conversion to ProjectedNormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage. | |
const ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T > & | projectedNormalCovarianceCurvature () const |
Explicit conversion to ProjectedNormalCovarianceCurvatureEstimator , 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 } |
enum | PASS : int { FIRST_PASS = 0 , SECOND_PASS , PASS_COUNT } |
using | Base = T |
Base class of the procedure. | |
Protected Attributes | |
Vector2 | m_cog |
Gravity center. | |
Mat22 | m_cov |
Covariance matrix. | |
Solver | m_solver |
Solver used to analyse the covariance matrix. | |
PASS | m_pass |
Current pass. | |
Mat32 | m_tframe |
Tangent frame. | |
Extension to compute curvature values based on a covariance analysis of normal vectors of neighbors projected onto the tangent plane.
A 2D covariance matrix is computed from the projections of normals of the neighbors and the two principal curvature values and directions are given by the eigenvalues and associated eigenvectors of the covariance matrix [3].
Definition at line 122 of file curvatureEstimation.h.
|
protected |
Base class of the procedure.
Definition at line 127 of file curvatureEstimation.h.
typedef VectorType::Index Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Index |
Definition at line 151 of file curvatureEstimation.h.
typedef Eigen::Matrix<Scalar,2,2> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Mat22 |
Definition at line 148 of file curvatureEstimation.h.
typedef Eigen::Matrix<Scalar,3,2> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Mat32 |
Definition at line 149 of file curvatureEstimation.h.
using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::MatrixType = typename DataPoint::MatrixType |
Alias to matrix type.
Definition at line 128 of file curvatureEstimation.h.
using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 127 of file curvatureEstimation.h.
using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::ScalarArray = typename Base::ScalarArray |
Alias to scalar derivatives array.
Definition at line 129 of file curvatureEstimation.h.
typedef Eigen::SelfAdjointEigenSolver<Mat22> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Solver |
Solver used to analyse the covariance matrix.
Definition at line 153 of file curvatureEstimation.h.
typedef Eigen::Matrix<Scalar,2,1> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::Vector2 |
Definition at line 150 of file curvatureEstimation.h.
using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::VectorArray = typename Base::VectorArray |
Alias to vector derivatives array.
Definition at line 129 of file curvatureEstimation.h.
using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 127 of file curvatureEstimation.h.
using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _WFunctor, DiffType, T >::WFunctor = typename Base::WFunctor |
Alias to weight function.
Definition at line 127 of file curvatureEstimation.h.
|
protected |
Definition at line 132 of file curvatureEstimation.h.
|
protected |
Definition at line 139 of file curvatureEstimation.h.
|
inline |
Add a neighbor to perform the fit.
Definition at line 198 of file curvatureEstimation.hpp.
|
inline |
Finalize the procedure.
Definition at line 220 of file curvatureEstimation.hpp.
|
inline |
Set the evaluation position and reset the internal states.
Definition at line 186 of file curvatureEstimation.hpp.
|
inline |
Explicit conversion to ProjectedNormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage.
Definition at line 163 of file curvatureEstimation.h.
|
inline |
Explicit conversion to ProjectedNormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage.
Definition at line 163 of file curvatureEstimation.h.
|
protected |
Gravity center.
Definition at line 156 of file curvatureEstimation.h.
|
protected |
Covariance matrix.
Definition at line 157 of file curvatureEstimation.h.
|
protected |
Current pass.
Definition at line 159 of file curvatureEstimation.h.
|
protected |
Solver used to analyse the covariance matrix.
Definition at line 158 of file curvatureEstimation.h.
|
protected |
Tangent frame.
Definition at line 160 of file curvatureEstimation.h.