Ponca  e26a0e88a45818354616c1a7180bcd203aecad3c
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T > Class Template Reference
+ Inheritance diagram for Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >:
+ Collaboration diagram for Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >:

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.
 
using ScalarArray = typename Base::ScalarArray
 Alias to scalar derivatives array.
 
using VectorArray = typename Base::VectorArray
 Alias to vector derivatives array.
 
using VectorB = typename Base::VectorB
 
using MatrixBB = typename Base::MatrixBB
 

Public Member Functions

UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T > & unorientedSphereDer ()
 Explicit conversion to UnorientedSphereDerImpl , to access methods potentially hidden by heritage.
 
const UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T > & unorientedSphereDer () const
 Explicit conversion to UnorientedSphereDerImpl , 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, ScalarArray &dw)
 Add a neighbor to perform the fit.
 
FIT_RESULT finalize ()
 Finalize the procedure.
 
ScalarArray dPotential () const
 
VectorArray dNormal () const
 

Public Attributes

ScalarArray m_dUc
 
VectorArray m_dUl
 
ScalarArray m_dUq
 

Protected Types

enum  { Check , PROVIDES_ALGEBRAIC_SPHERE_DERIVATIVE , PROVIDES_NORMAL_DERIVATIVE }
 
using Base = T
 Base class of the procedure.
 

Protected Attributes

MatrixBB m_dmatA [Base::NbDerivatives]
 
ScalarArray m_dSumDotPP
 

Detailed Description

template<class DataPoint, class _WFunctor, int DiffType, typename T>
class Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >

Definition at line 81 of file unorientedSphereFit.h.

Member Typedef Documentation

◆ Base

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::Base = T
protected

Base class of the procedure.

Definition at line 84 of file unorientedSphereFit.h.

◆ MatrixBB

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::MatrixBB = typename Base::MatrixBB

Definition at line 88 of file unorientedSphereFit.h.

◆ Scalar

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::Scalar = typename DataPoint::Scalar

Alias to scalar type.

Definition at line 84 of file unorientedSphereFit.h.

◆ ScalarArray

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::ScalarArray = typename Base::ScalarArray

Alias to scalar derivatives array.

Definition at line 85 of file unorientedSphereFit.h.

◆ VectorArray

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::VectorArray = typename Base::VectorArray

Alias to vector derivatives array.

Definition at line 85 of file unorientedSphereFit.h.

◆ VectorB

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::VectorB = typename Base::VectorB

Definition at line 87 of file unorientedSphereFit.h.

◆ VectorType

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::VectorType = typename Base::VectorType

Alias to vector type.

Definition at line 84 of file unorientedSphereFit.h.

◆ WFunctor

template<class DataPoint , class _WFunctor , int DiffType, typename T >
using Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::WFunctor = typename Base::WFunctor

Alias to weight function.

Definition at line 84 of file unorientedSphereFit.h.

Member Enumeration Documentation

◆ anonymous enum

template<class DataPoint , class _WFunctor , int DiffType, typename T >
anonymous enum
protected

Definition at line 91 of file unorientedSphereFit.h.

Member Function Documentation

◆ addLocalNeighbor()

template<class DataPoint , class _WFunctor , int DiffType, typename T >
bool Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::addLocalNeighbor ( Scalar  w,
const VectorType localQ,
const DataPoint &  attributes,
ScalarArray dw 
)
inline

Add a neighbor to perform the fit.

Returns
false if param nei is not a valid neighbour (weight = 0)

Definition at line 99 of file unorientedSphereFit.hpp.

◆ dNormal()

template<class DataPoint , class _WFunctor , int DiffType, typename T >
UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::VectorArray Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::dNormal
inline

Definition at line 218 of file unorientedSphereFit.hpp.

◆ dPotential()

template<class DataPoint , class _WFunctor , int DiffType, typename T >
UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::ScalarArray Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::dPotential
inline

Definition at line 207 of file unorientedSphereFit.hpp.

◆ finalize()

template<class DataPoint , class _WFunctor , int DiffType, typename T >
FIT_RESULT Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::finalize
inline

Finalize the procedure.

Returns
Fitting Status
Warning
Must be called be for any use of the fitting output

Definition at line 125 of file unorientedSphereFit.hpp.

◆ init()

template<class DataPoint , class _WFunctor , int DiffType, typename T >
void Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::init ( const VectorType _evalPos)
inline

Set the evaluation position and reset the internal states.

Warning
Must be called be for any computation (but after #setWeightFunc)

Definition at line 86 of file unorientedSphereFit.hpp.

◆ unorientedSphereDer() [1/2]

template<class DataPoint , class _WFunctor , int DiffType, typename T >
UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T > & Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::unorientedSphereDer ( )
inline

Explicit conversion to UnorientedSphereDerImpl , to access methods potentially hidden by heritage.

Definition at line 112 of file unorientedSphereFit.h.

◆ unorientedSphereDer() [2/2]

template<class DataPoint , class _WFunctor , int DiffType, typename T >
const UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T > & Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::unorientedSphereDer ( ) const
inline

Explicit conversion to UnorientedSphereDerImpl , to access methods potentially hidden by heritage.

Definition at line 112 of file unorientedSphereFit.h.

Member Data Documentation

◆ m_dmatA

template<class DataPoint , class _WFunctor , int DiffType, typename T >
MatrixBB Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::m_dmatA[Base::NbDerivatives]
protected

Definition at line 102 of file unorientedSphereFit.h.

◆ m_dSumDotPP

template<class DataPoint , class _WFunctor , int DiffType, typename T >
ScalarArray Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::m_dSumDotPP
protected

Definition at line 103 of file unorientedSphereFit.h.

◆ m_dUc

template<class DataPoint , class _WFunctor , int DiffType, typename T >
ScalarArray Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::m_dUc

Definition at line 107 of file unorientedSphereFit.h.

◆ m_dUl

template<class DataPoint , class _WFunctor , int DiffType, typename T >
VectorArray Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::m_dUl

Definition at line 108 of file unorientedSphereFit.h.

◆ m_dUq

template<class DataPoint , class _WFunctor , int DiffType, typename T >
ScalarArray Ponca::UnorientedSphereDerImpl< DataPoint, _WFunctor, DiffType, T >::m_dUq

Definition at line 109 of file unorientedSphereFit.h.