Ponca  4a9354998d048bf882a3ee9bac8105216fa08d13
Point Cloud Analysis library
Loading...
Searching...
No Matches
MeanNormalDer< DataPoint, _NFilter, DiffType, T > Class Template Reference

Compute the derivatives of the input points mean normal. More...

#include <mean.h>

+ Inheritance diagram for MeanNormalDer< DataPoint, _NFilter, DiffType, T >:
+ Collaboration diagram for MeanNormalDer< 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

MeanNormalDer< DataPoint, _NFilter, DiffType, T > & meanNormalDer ()
 Explicit conversion to MeanNormalDer , to access methods potentially hidden by heritage.
 
const MeanNormalDer< DataPoint, _NFilter, DiffType, T > & meanNormalDer () const
 Explicit conversion to MeanNormalDer , to access methods potentially hidden by heritage.
 
void init ()
 Set the evaluation position and reset the internal states.
 
void addLocalNeighbor (Scalar w, const VectorType &localQ, const DataPoint &attributes, ScalarArray &dw)
 Add a neighbor to perform the fit.
 

Protected Types

using Base = T
 Base class of the procedure.
 

Protected Attributes

VectorArray m_dSumN {VectorArray::Zero()}
 Derivatives of the input normals of the input points vectors.
 

Detailed Description

template<class DataPoint, class _NFilter, int DiffType, typename T>
requires ProvidesBasketDiffUnitBase<T>&& ProvidesMeanNormal<T>
class MeanNormalDer< DataPoint, _NFilter, DiffType, T >

Compute the derivatives of the input points mean normal.

This primitive requires:

ProvidesBasketDiffUnitBase, ProvidesMeanNormal

This primitive provides:

ProvidesMeanNormalDer 
See also
MeanNormal

Definition at line 181 of file mean.h.

Member Typedef Documentation

◆ Base

template<class DataPoint , class _NFilter , int DiffType, typename T >
using MeanNormalDer< DataPoint, _NFilter, DiffType, T >::Base = T
protected

Base class of the procedure.

Definition at line 183 of file mean.h.

◆ NeighborFilter

template<class DataPoint , class _NFilter , int DiffType, typename T >
using MeanNormalDer< DataPoint, _NFilter, DiffType, T >::NeighborFilter = typename Base::NeighborFilter

Alias to the filter applied on the neighbors.

Definition at line 183 of file mean.h.

◆ Scalar

template<class DataPoint , class _NFilter , int DiffType, typename T >
using MeanNormalDer< DataPoint, _NFilter, DiffType, T >::Scalar = typename DataPoint::Scalar

Alias to scalar type.

Definition at line 183 of file mean.h.

◆ ScalarArray

template<class DataPoint , class _NFilter , int DiffType, typename T >
using MeanNormalDer< DataPoint, _NFilter, DiffType, T >::ScalarArray = typename Base::ScalarArray

Alias to scalar derivatives array.

Definition at line 184 of file mean.h.

◆ VectorArray

template<class DataPoint , class _NFilter , int DiffType, typename T >
using MeanNormalDer< DataPoint, _NFilter, DiffType, T >::VectorArray = typename Base::VectorArray

Alias to vector derivatives array.

Definition at line 184 of file mean.h.

◆ VectorType

template<class DataPoint , class _NFilter , int DiffType, typename T >
using MeanNormalDer< DataPoint, _NFilter, DiffType, T >::VectorType = typename Base::VectorType

Alias to vector type.

Definition at line 183 of file mean.h.

Member Function Documentation

◆ addLocalNeighbor()

template<class DataPoint , class _NFilter , int DiffType, typename T >
requires MEAN_NORMAL_DER_REQUIREMENTS
void MeanNormalDer< DataPoint, _NFilter, DiffType, T >::addLocalNeighbor ( Scalar  w,
const VectorType localQ,
const DataPoint &  attributes,
ScalarArray dw 
)
inline

Add a neighbor to perform the fit.

Definition at line 67 of file mean.hpp.

◆ init()

template<class DataPoint , class _NFilter , int DiffType, typename T >
requires MEAN_NORMAL_DER_REQUIREMENTS
void MeanNormalDer< DataPoint, _NFilter, DiffType, T >::init ( )
inline

Set the evaluation position and reset the internal states.

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

Definition at line 59 of file mean.hpp.

◆ meanNormalDer() [1/2]

template<class DataPoint , class _NFilter , int DiffType, typename T >
MeanNormalDer< DataPoint, _NFilter, DiffType, T > & MeanNormalDer< DataPoint, _NFilter, DiffType, T >::meanNormalDer ( )
inline

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

Definition at line 191 of file mean.h.

◆ meanNormalDer() [2/2]

template<class DataPoint , class _NFilter , int DiffType, typename T >
const MeanNormalDer< DataPoint, _NFilter, DiffType, T > & MeanNormalDer< DataPoint, _NFilter, DiffType, T >::meanNormalDer ( ) const
inline

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

Definition at line 191 of file mean.h.

Member Data Documentation

◆ m_dSumN

template<class DataPoint , class _NFilter , int DiffType, typename T >
VectorArray MeanNormalDer< DataPoint, _NFilter, DiffType, T >::m_dSumN {VectorArray::Zero()}
protected

Derivatives of the input normals of the input points vectors.

Definition at line 188 of file mean.h.