|
Ponca
94e4a36411c3364f6192f97adfa8ceee67834d6e
Point Cloud Analysis library
|
Compute principal curvatures from a base class providing fundamental forms. More...
#include <weingarten.h>
Inheritance diagram for Ponca::internal::WeingartenCurvatureEstimatorBase< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::internal::WeingartenCurvatureEstimatorBase< DataPoint, _NFilter, 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 | Matrix2 = Eigen::Matrix< Scalar, 2, 2 > |
Public Member Functions | |
| FIT_RESULT | finalize () |
| Finalize the procedure. | |
Protected Types | |
| enum | { Check } |
| using | Base = T |
| Base class of the procedure. | |
Compute principal curvatures from a base class providing fundamental forms.
Since the weingarten map is self-adjoint, a basis exists consisting of the eigenvectors of W. The eigenvectors, combined with their eigenvalues, define the principal curvature directions and values. The Gaussian and mean curvatures can be retrieved as \(\text{K} = \text{det}(\text{W})\) and \(\text{H} = \frac{1}{2}\text{trace}(\text{W})\), respectively.
This primitive requires:
PROVIDES_TANGENT_PLANE_BASIS, PROVIDES_WEINGARTEN_MAP, PROVIDES_PRINCIPAL_CURVATURES
Definition at line 171 of file weingarten.h.
|
protected |
Base class of the procedure.
Definition at line 173 of file weingarten.h.
| using Ponca::internal::WeingartenCurvatureEstimatorBase< DataPoint, _NFilter, T >::Matrix2 = Eigen::Matrix<Scalar, 2, 2> |
Definition at line 174 of file weingarten.h.
| using Ponca::internal::WeingartenCurvatureEstimatorBase< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 173 of file weingarten.h.
| using Ponca::internal::WeingartenCurvatureEstimatorBase< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 173 of file weingarten.h.
| using Ponca::internal::WeingartenCurvatureEstimatorBase< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 173 of file weingarten.h.
|
protected |
Definition at line 178 of file weingarten.h.
|
inline |
Finalize the procedure.
Definition at line 167 of file weingarten.hpp.