|
Ponca
8e4373a7fc557bbfb1afb9210d70f03872388d04
Point Cloud Analysis library
|
Algebraic Sphere fitting procedure on oriented point sets. More...
#include <orientedSphereFit.h>
Inheritance diagram for Ponca::OrientedSphereFitImpl< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::OrientedSphereFitImpl< 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. | |
Public Member Functions | |
| OrientedSphereFitImpl< DataPoint, _NFilter, T > & | orientedSphereFit () |
| Explicit conversion to OrientedSphereFitImpl , to access methods potentially hidden by heritage. | |
| const OrientedSphereFitImpl< DataPoint, _NFilter, T > & | orientedSphereFit () const |
| Explicit conversion to OrientedSphereFitImpl , 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) |
| Add a neighbor to perform the fit. | |
| FIT_RESULT | finalize () |
| Finalize the procedure. | |
| constexpr bool | isSigned () |
| Is scalar field signed. | |
Protected Types | |
| enum | { Check } |
| using | Base = T |
| Base class of the procedure. | |
Protected Attributes | |
| Scalar | m_sumDotPN {0} |
| Sum of the dot product between relative positions and normals. | |
| Scalar | m_sumDotPP {0} |
| Sum of the squared relative positions. | |
| Scalar | m_nume {0} |
| Numerator of the quadratic parameter (excluding the 0.5 coefficient) | |
| Scalar | m_deno {0} |
| Denominator of the quadratic parameter (excluding the 0.5 coefficient) | |
Algebraic Sphere fitting procedure on oriented point sets.
Method published in [6].
Definition at line 25 of file orientedSphereFit.h.
|
protected |
Base class of the procedure.
Definition at line 27 of file orientedSphereFit.h.
| using Ponca::OrientedSphereFitImpl< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter |
Alias to the filter applied on the neighbors.
Definition at line 27 of file orientedSphereFit.h.
| using Ponca::OrientedSphereFitImpl< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 27 of file orientedSphereFit.h.
| using Ponca::OrientedSphereFitImpl< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 27 of file orientedSphereFit.h.
|
protected |
Definition at line 30 of file orientedSphereFit.h.
|
inline |
Add a neighbor to perform the fit.
Definition at line 23 of file orientedSphereFit.hpp.
|
inline |
Finalize the procedure.
Definition at line 37 of file orientedSphereFit.hpp.
|
inline |
Set the evaluation position and reset the internal states.
Definition at line 10 of file orientedSphereFit.hpp.
|
inlineconstexpr |
Is scalar field signed.
If not, the method the sign of potential() must be ignored
Definition at line 46 of file orientedSphereFit.h.
|
inline |
Explicit conversion to OrientedSphereFitImpl , to access methods potentially hidden by heritage.
Definition at line 44 of file orientedSphereFit.h.
|
inline |
Explicit conversion to OrientedSphereFitImpl , to access methods potentially hidden by heritage.
Definition at line 44 of file orientedSphereFit.h.
|
protected |
Denominator of the quadratic parameter (excluding the 0.5 coefficient)
Definition at line 41 of file orientedSphereFit.h.
|
protected |
Numerator of the quadratic parameter (excluding the 0.5 coefficient)
Definition at line 40 of file orientedSphereFit.h.
|
protected |
Sum of the dot product between relative positions and normals.
Definition at line 38 of file orientedSphereFit.h.
|
protected |
Sum of the squared relative positions.
Definition at line 39 of file orientedSphereFit.h.