|
Ponca
8e4373a7fc557bbfb1afb9210d70f03872388d04
Point Cloud Analysis library
|
Extension performing derivation of the mls surface. More...
#include <mlsSphereFitDer.h>
Inheritance diagram for Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >:
Collaboration diagram for Ponca::MlsSphereFitDer< 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 | ScalarArray = typename Base::ScalarArray |
| Alias to scalar derivatives array. | |
| using | VectorArray = typename Base::VectorArray |
| Alias to vector derivatives array. | |
| typedef Eigen::Matrix< Scalar, DerDim, DerDim > | Matrix |
| Static squared matrix of scalars with a size adapted to the differentiation type. | |
| typedef Eigen::Matrix< Scalar, DerDim, Dim *DerDim > | MatrixArray |
| Static matrix of scalars with a size adapted to the differentiation type and the dimension of the ambient space. | |
Public Member Functions | |
| MlsSphereFitDer< DataPoint, _NFilter, DiffType, T > & | mlsSphereFitDer () |
| Explicit conversion to MlsSphereFitDer , to access methods potentially hidden by heritage. | |
| const MlsSphereFitDer< DataPoint, _NFilter, DiffType, T > & | mlsSphereFitDer () const |
| Explicit conversion to MlsSphereFitDer , 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. | |
| ScalarArray | dPotential () const |
| Returns the derivatives of the scalar field at the evaluation point. | |
| VectorType | primitiveGradient () const |
| Value of the normal of the primitive at the evaluation point. | |
| VectorArray | dNormal () const |
| Returns the second derivatives of the scalar field at the evaluation point. | |
Public Attributes | |
| Matrix | m_d2Uc |
| Second derivative of the hyper-sphere constant term | |
| Matrix | m_d2Uq |
| Second derivative of the hyper-sphere quadratic term. | |
| MatrixArray | m_d2Ul |
| Second derivative of the hyper-sphere linear term | |
Protected Types | |
| enum | { Check = Base::PROVIDES_PRIMITIVE_DERIVATIVE & Base::PROVIDES_ALGEBRAIC_SPHERE_DERIVATIVE , PROVIDES_NORMAL_DERIVATIVE } |
| enum | { Dim = DataPoint::Dim , DerDim = Base::NbDerivatives } |
| using | Base = T |
| Base class of the procedure. | |
Protected Attributes | |
| Matrix | m_d2SumDotPN |
| Sum of the dot product between relative positions and normals with second-order weight derivatives. | |
| Matrix | m_d2SumDotPP |
| Sum of the squared relative positions with second-order weight derivatives. | |
| Matrix | m_d2SumW |
| Sum of queries weight with second-order weight derivatives. | |
| MatrixArray | m_d2SumP |
| Sum of relative positions with second-order weight derivatives. | |
| MatrixArray | m_d2SumN |
| Sum of normal vectors with second-order weight derivatives. | |
Extension performing derivation of the mls surface.
The differentiation is determined by a previous basket elements that must provides first order derivatives of the algebraic sphere parameters.
Definition at line 24 of file mlsSphereFitDer.h.
|
protected |
Base class of the procedure.
Definition at line 26 of file mlsSphereFitDer.h.
| typedef Eigen::Matrix< Scalar, DerDim, DerDim > Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::Matrix |
Static squared matrix of scalars with a size adapted to the differentiation type.
The size is adapted to the differentiation type (scale and/or space) only. Such Matrix is typically used to represent Hessian matrix of multivariate single-valued functions such as \( u_c \) and \( u_q \) of an AlgebraicSphere obtained from a fitting procedure.
Definition at line 54 of file mlsSphereFitDer.h.
| typedef Eigen::Matrix< Scalar, DerDim, Dim*DerDim > Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::MatrixArray |
Static matrix of scalars with a size adapted to the differentiation type and the dimension of the ambient space.
The size is adapted to the differentiation type (scale and/or space) and the dimension of the ambient space. Such Matrix is typically used to represent Hessian matrices of multivariate multi-valued functions such as \( u_l \) of an AlgebraicSphere obtained from a fitting procedure.
A MatrixArray is an array of Matrix (that mimics a 3D matrix) where the number of Matrix is equal to the dimension of the ambient space. The i-th Matrix can be accessed by the following block operation:
Definition at line 75 of file mlsSphereFitDer.h.
| using Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 26 of file mlsSphereFitDer.h.
| using Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 26 of file mlsSphereFitDer.h.
| using Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::ScalarArray = typename Base::ScalarArray |
Alias to scalar derivatives array.
Definition at line 27 of file mlsSphereFitDer.h.
| using Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::VectorArray = typename Base::VectorArray |
Alias to vector derivatives array.
Definition at line 27 of file mlsSphereFitDer.h.
| using Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 26 of file mlsSphereFitDer.h.
|
protected |
Definition at line 30 of file mlsSphereFitDer.h.
|
protected |
| Enumerator | |
|---|---|
| Dim | Dimension of the ambient space. |
| DerDim | Number of dimensions used for the differentiation. |
Definition at line 36 of file mlsSphereFitDer.h.
|
inline |
Add a neighbor to perform the fit.
Definition at line 28 of file mlsSphereFitDer.hpp.
|
inline |
Returns the second derivatives of the scalar field at the evaluation point.
Definition at line 185 of file mlsSphereFitDer.hpp.
|
inline |
Returns the derivatives of the scalar field at the evaluation point.
#isSigned of the fit to check if the sign is reliable Definition at line 160 of file mlsSphereFitDer.hpp.
|
inline |
Finalize the procedure.
Definition at line 66 of file mlsSphereFitDer.hpp.
|
inline |
Set the evaluation position and reset the internal states.
Definition at line 10 of file mlsSphereFitDer.hpp.
|
inline |
Explicit conversion to MlsSphereFitDer , to access methods potentially hidden by heritage.
Definition at line 93 of file mlsSphereFitDer.h.
|
inline |
Explicit conversion to MlsSphereFitDer , to access methods potentially hidden by heritage.
Definition at line 93 of file mlsSphereFitDer.h.
|
inline |
Value of the normal of the primitive at the evaluation point.
Definition at line 176 of file mlsSphereFitDer.hpp.
|
protected |
Sum of the dot product between relative positions and normals with second-order weight derivatives.
Definition at line 79 of file mlsSphereFitDer.h.
|
protected |
Sum of the squared relative positions with second-order weight derivatives.
Definition at line 80 of file mlsSphereFitDer.h.
|
protected |
Sum of normal vectors with second-order weight derivatives.
Definition at line 84 of file mlsSphereFitDer.h.
|
protected |
Sum of relative positions with second-order weight derivatives.
Definition at line 83 of file mlsSphereFitDer.h.
|
protected |
Sum of queries weight with second-order weight derivatives.
Definition at line 81 of file mlsSphereFitDer.h.
| Matrix Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::m_d2Uc |
Second derivative of the hyper-sphere constant term
Definition at line 88 of file mlsSphereFitDer.h.
| MatrixArray Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::m_d2Ul |
Second derivative of the hyper-sphere linear term
Definition at line 90 of file mlsSphereFitDer.h.
| Matrix Ponca::MlsSphereFitDer< DataPoint, _NFilter, DiffType, T >::m_d2Uq |
Second derivative of the hyper-sphere quadratic term.
Definition at line 89 of file mlsSphereFitDer.h.