|
Ponca
8e4373a7fc557bbfb1afb9210d70f03872388d04
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>
Inheritance diagram for Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >:
Collaboration diagram for Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >:Public Types | |
| using | Scalar = typename DataPoint::Scalar |
| Alias to scalar type. | |
| using | VectorType = typename Base::VectorType |
| Alias to vector type. | |
| using | NeighborFilter = typename Base::NeighborFilter |
| Alias to the filter applied on the neighbors. | |
| 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, _NFilter, DiffType, T > & | projectedNormalCovarianceCurvature () |
| Explicit conversion to ProjectedNormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage. | |
| const ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T > & | projectedNormalCovarianceCurvature () const |
| Explicit conversion to ProjectedNormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage. | |
| void | init () |
| 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 {Vector2::Zero()} |
| Gravity center. | |
| Mat22 | m_cov {Mat22::Zero()} |
| Covariance matrix. | |
| PASS | m_pass {FIRST_PASS} |
| Current pass. | |
| Mat32 | m_tframe {Mat32::Zero()} |
| Tangent frame. | |
| 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 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 124 of file curvatureEstimation.h.
|
protected |
Base class of the procedure.
Definition at line 129 of file curvatureEstimation.h.
| typedef VectorType::Index Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::Index |
Definition at line 153 of file curvatureEstimation.h.
| typedef Eigen::Matrix<Scalar,2,2> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::Mat22 |
Definition at line 150 of file curvatureEstimation.h.
| typedef Eigen::Matrix<Scalar,3,2> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::Mat32 |
Definition at line 151 of file curvatureEstimation.h.
| using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::MatrixType = typename DataPoint::MatrixType |
Alias to matrix type.
Definition at line 130 of file curvatureEstimation.h.
| using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 129 of file curvatureEstimation.h.
| using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 129 of file curvatureEstimation.h.
| using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::ScalarArray = typename Base::ScalarArray |
Alias to scalar derivatives array.
Definition at line 131 of file curvatureEstimation.h.
| typedef Eigen::SelfAdjointEigenSolver<Mat22> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::Solver |
Solver used to analyse the covariance matrix.
Definition at line 155 of file curvatureEstimation.h.
| typedef Eigen::Matrix<Scalar,2,1> Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::Vector2 |
Definition at line 152 of file curvatureEstimation.h.
| using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::VectorArray = typename Base::VectorArray |
Alias to vector derivatives array.
Definition at line 131 of file curvatureEstimation.h.
| using Ponca::ProjectedNormalCovarianceCurvatureEstimator< DataPoint, _NFilter, DiffType, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 129 of file curvatureEstimation.h.
|
protected |
Definition at line 134 of file curvatureEstimation.h.
|
protected |
Definition at line 141 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 165 of file curvatureEstimation.h.
|
inline |
Explicit conversion to ProjectedNormalCovarianceCurvatureEstimator , to access methods potentially hidden by heritage.
Definition at line 165 of file curvatureEstimation.h.
|
protected |
Gravity center.
Definition at line 158 of file curvatureEstimation.h.
|
protected |
Covariance matrix.
Definition at line 159 of file curvatureEstimation.h.
|
protected |
Current pass.
Definition at line 160 of file curvatureEstimation.h.
|
protected |
Solver used to analyse the covariance matrix.
Definition at line 162 of file curvatureEstimation.h.
|
protected |
Tangent frame.
Definition at line 161 of file curvatureEstimation.h.