|
Ponca
b63e69866b9b277a96802d3d06e6492d50ffc055
Point Cloud Analysis library
|
[OrientedSphereFit Definition] More...
#include <orientedSphereFit.h>
Inheritance diagram for Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >:
Collaboration diagram for Ponca::OrientedSphereDerImpl< 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. | |
Public Member Functions | |
| OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T > & | orientedSphereDer () |
| Explicit conversion to OrientedSphereDerImpl , to access methods potentially hidden by heritage. | |
| const OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T > & | orientedSphereDer () const |
| Explicit conversion to OrientedSphereDerImpl , 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. | |
| VectorArray | dNormal () const |
| Returns the derivatives of the primitive normal. | |
| ScalarArray | dprattNorm2 () const |
| compute the square of the Pratt norm derivative | |
| Scalar | dprattNorm2 (unsigned int _d) const |
| compute the square of the Pratt norm derivative for dimension _d | |
| Scalar | dprattNorm (unsigned int _d) const |
| compute the Pratt norm derivative for the dimension _d | |
| Scalar | dprattNorm () const |
| compute the Pratt norm derivative | |
| bool | applyPrattNorm () |
| Normalize the scalar field by the Pratt norm. | |
Public Attributes | |
| ScalarArray | m_dUc {ScalarArray::Zero()} |
| Derivatives of the hyper-sphere constant term | |
| ScalarArray | m_dUq {ScalarArray::Zero()} |
| Derivatives of the hyper-sphere quadratic term. | |
| VectorArray | m_dUl {VectorArray::Zero()} |
| Derivatives of the hyper-sphere linear term | |
Protected Types | |
| enum | { Check , PROVIDES_ALGEBRAIC_SPHERE_DERIVATIVE , PROVIDES_NORMAL_DERIVATIVE } |
| using | Base = T |
| Base class of the procedure. | |
Protected Attributes | |
| VectorArray | m_dSumN {VectorArray::Zero()} |
| Sum of the normal vectors with weight derivatives. | |
| ScalarArray | m_dSumDotPN {ScalarArray::Zero()} |
| Sum of the dot product between relative positions and normals with weight derivatives. | |
| ScalarArray | m_dSumDotPP {ScalarArray::Zero()} |
| Sum of the squared relative positions with weight derivatives. | |
| ScalarArray | m_dNume {ScalarArray::Zero()} |
| Derivatives of the numerator of the quadratic parameter | |
| ScalarArray | m_dDeno {ScalarArray::Zero()} |
| Derivatives of the denominator of the quadratic parameter. | |
[OrientedSphereFit Definition]
Internal generic class performing the Fit derivation
Definition at line 63 of file orientedSphereFit.h.
|
protected |
Base class of the procedure.
Definition at line 65 of file orientedSphereFit.h.
| using Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 65 of file orientedSphereFit.h.
| using Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 65 of file orientedSphereFit.h.
| using Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::ScalarArray = typename Base::ScalarArray |
Alias to scalar derivatives array.
Definition at line 66 of file orientedSphereFit.h.
| using Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::VectorArray = typename Base::VectorArray |
Alias to vector derivatives array.
Definition at line 66 of file orientedSphereFit.h.
| using Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 65 of file orientedSphereFit.h.
|
protected |
Definition at line 69 of file orientedSphereFit.h.
|
inline |
Add a neighbor to perform the fit.
Definition at line 107 of file orientedSphereFit.hpp.
|
inline |
Normalize the scalar field by the Pratt norm.
Definition at line 191 of file orientedSphereFit.hpp.
|
inline |
Returns the derivatives of the primitive normal.
Definition at line 166 of file orientedSphereFit.hpp.
|
inline |
Returns the derivatives of the scalar field at the evaluation point.
Definition at line 181 of file orientedSphereFit.hpp.
|
inline |
compute the Pratt norm derivative
Definition at line 125 of file orientedSphereFit.h.
|
inline |
compute the Pratt norm derivative for the dimension _d
Definition at line 118 of file orientedSphereFit.h.
|
inline |
compute the square of the Pratt norm derivative
Definition at line 102 of file orientedSphereFit.h.
|
inline |
compute the square of the Pratt norm derivative for dimension _d
Definition at line 110 of file orientedSphereFit.h.
|
inline |
Finalize the procedure.
Definition at line 125 of file orientedSphereFit.hpp.
|
inline |
Set the evaluation position and reset the internal states.
Definition at line 88 of file orientedSphereFit.hpp.
|
inline |
Explicit conversion to OrientedSphereDerImpl , to access methods potentially hidden by heritage.
Definition at line 92 of file orientedSphereFit.h.
|
inline |
Explicit conversion to OrientedSphereDerImpl , to access methods potentially hidden by heritage.
Definition at line 92 of file orientedSphereFit.h.
|
protected |
Derivatives of the denominator of the quadratic parameter.
Definition at line 83 of file orientedSphereFit.h.
|
protected |
Derivatives of the numerator of the quadratic parameter
Definition at line 82 of file orientedSphereFit.h.
|
protected |
Sum of the dot product between relative positions and normals with weight derivatives.
Definition at line 80 of file orientedSphereFit.h.
|
protected |
Sum of the squared relative positions with weight derivatives.
Definition at line 81 of file orientedSphereFit.h.
|
protected |
Sum of the normal vectors with weight derivatives.
Definition at line 79 of file orientedSphereFit.h.
| ScalarArray Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::m_dUc {ScalarArray::Zero()} |
Derivatives of the hyper-sphere constant term
Definition at line 87 of file orientedSphereFit.h.
| VectorArray Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::m_dUl {VectorArray::Zero()} |
Derivatives of the hyper-sphere linear term
Definition at line 89 of file orientedSphereFit.h.
| ScalarArray Ponca::OrientedSphereDerImpl< DataPoint, _NFilter, DiffType, T >::m_dUq {ScalarArray::Zero()} |
Derivatives of the hyper-sphere quadratic term.
Definition at line 88 of file orientedSphereFit.h.