|
Ponca
94e4a36411c3364f6192f97adfa8ceee67834d6e
Point Cloud Analysis library
|
Compute a Weingarten map from the spatial derivatives of the normal field \( N \). More...
#include <weingarten.h>
Inheritance diagram for Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >:
Collaboration diagram for Ponca::NormalDerivativeWeingartenEstimator< 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. | |
| using | Matrix2 = Eigen::Matrix< Scalar, 2, 2 > |
Public Member Functions | |
| NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T > & | normalDerivativeWeingartenEstimator () |
| Explicit conversion to NormalDerivativeWeingartenEstimator , to access methods potentially hidden by heritage. | |
| const NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T > & | normalDerivativeWeingartenEstimator () const |
| Explicit conversion to NormalDerivativeWeingartenEstimator , to access methods potentially hidden by heritage. | |
| FIT_RESULT | finalize () |
| Finalize the procedure. | |
| Matrix2 | weingartenMap () const |
| Returns the Weingarten Map. | |
| template<typename Matrix2Derived > | |
| void | weingartenMap (Matrix2Derived &w) const |
| Returns the Weingarten Map. | |
| VectorType | worldToTangentPlane (const VectorType &_q, bool _isPositionVector=true) const |
| Express a point in ambient space relatively to the tangent plane. | |
| VectorType | tangentPlaneToWorld (const VectorType &_q, bool _isPositionVector=true) const |
| Transform a point from the tangent plane [h, u, v]^T to ambient space. | |
Protected Types | |
| enum | { Check = Base::PROVIDES_NORMAL_DERIVATIVE , PROVIDES_WEINGARTEN_MAP , PROVIDES_TANGENT_PLANE_BASIS } |
| using | Base = T |
| Base class of the procedure. | |
Compute a Weingarten map from the spatial derivatives of the normal field \( N \).
A tangent plane aligned with the map is also computed during the process.
UNSTABLE if the computed basis does not properly align with the gradient of the fitted primitive.This primitive provides:
PROVIDES_WEINGARTEN_MAP, PROVIDES_TANGENT_PLANE_BASIS
This primitive requires:
PROVIDES_NORMAL_DERIVATIVE
Definition at line 107 of file weingarten.h.
|
protected |
Base class of the procedure.
Definition at line 109 of file weingarten.h.
| using Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >::Matrix2 = Eigen::Matrix<Scalar, 2, 2> |
Definition at line 112 of file weingarten.h.
| using Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >::MatrixType = typename DataPoint::MatrixType |
Alias to matrix type.
Definition at line 110 of file weingarten.h.
| using Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 109 of file weingarten.h.
| using Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 109 of file weingarten.h.
| using Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >::ScalarArray = typename Base::ScalarArray |
Alias to scalar derivatives array.
Definition at line 111 of file weingarten.h.
| using Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >::VectorArray = typename Base::VectorArray |
Alias to vector derivatives array.
Definition at line 111 of file weingarten.h.
| using Ponca::NormalDerivativeWeingartenEstimator< DataPoint, _NFilter, DiffType, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 109 of file weingarten.h.
|
protected |
Definition at line 117 of file weingarten.h.
|
inline |
Finalize the procedure.
Definition at line 81 of file weingarten.hpp.
|
inline |
Explicit conversion to NormalDerivativeWeingartenEstimator , to access methods potentially hidden by heritage.
Definition at line 127 of file weingarten.h.
|
inline |
Explicit conversion to NormalDerivativeWeingartenEstimator , to access methods potentially hidden by heritage.
Definition at line 127 of file weingarten.h.
|
inline |
Transform a point from the tangent plane [h, u, v]^T to ambient space.
| _q | Vector expressed in local tangent frame |
| _isPositionVector | Indicate if the input vector _q is a position that is influenced by translations (e.g., in contrast to displacement or normal vectors) |
Definition at line 157 of file weingarten.hpp.
|
inline |
Returns the Weingarten Map.
Definition at line 73 of file weingarten.hpp.
|
inline |
Returns the Weingarten Map.
| Matrix2Derived | Input matrix type that must have same interface than Matrix2 |
Definition at line 115 of file weingarten.hpp.
|
inline |
Express a point in ambient space relatively to the tangent plane.
Output vector is: [h, u, v]^T, where u, v are 2d coordinates on the plane, and h the height of the sample.
| _q | Vector expressed in ambient space |
| _isPositionVector | Indicate if the input vector _q is a position that is influenced by translations (e.g., in contrast to displacement or normal vectors) |
Definition at line 149 of file weingarten.hpp.