Ponca
aa50bfdf187919869239c5b44b748842569114c1
Point Cloud Analysis library
|
Algebraic Sphere fitting procedure on oriented point sets. More...
#include <orientedSphereFit.h>
Public Types | |
using | Scalar = typename DataPoint::Scalar |
Alias to scalar type. | |
using | VectorType = typename Base::VectorType |
Alias to vector type. | |
using | WFunctor = typename Base::WFunctor |
Alias to weight function. | |
Public Member Functions | |
OrientedSphereFitImpl< DataPoint, _WFunctor, T > & | orientedSphereFit () |
Explicit conversion to OrientedSphereFitImpl , to access methods potentially hidden by heritage. | |
const OrientedSphereFitImpl< DataPoint, _WFunctor, T > & | orientedSphereFit () const |
Explicit conversion to OrientedSphereFitImpl , to access methods potentially hidden by heritage. | |
void | init (const VectorType &_evalPos) |
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 |
Sum of the dot product betwen relative positions and normals. | |
Scalar | m_sumDotPP |
Sum of the squared relative positions. | |
Scalar | m_nume |
Numerator of the quadratic parameter (excluding the 0.5 coefficient) | |
Scalar | m_deno |
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, _WFunctor, T >::Scalar = typename DataPoint::Scalar |
Alias to scalar type.
Definition at line 27 of file orientedSphereFit.h.
using Ponca::OrientedSphereFitImpl< DataPoint, _WFunctor, T >::VectorType = typename Base::VectorType |
Alias to vector type.
Definition at line 27 of file orientedSphereFit.h.
using Ponca::OrientedSphereFitImpl< DataPoint, _WFunctor, T >::WFunctor = typename Base::WFunctor |
Alias to weight function.
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 betwen 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.