Ponca  bab7704293a2c36e5bed9dea40def7ba839bfe08
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

enum  { Check = Base::PROVIDES_PRIMITIVE_DERIVATIVE && Base::PROVIDES_MEAN_NORMAL , PROVIDES_MEAN_NORMAL_DERIVATIVE }
 
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>
class MeanNormalDer< DataPoint, _NFilter, DiffType, T >

Compute the derivatives of the input points mean normal.

This primitive requires:

PROVIDES_PRIMITIVE_DERIVATIVE, PROVIDES_MEAN_NORMAL

This primitive provides:

PROVIDES_MEAN_NORMAL_DERIVATIVE 
See also
MeanNormal

Definition at line 192 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 194 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 194 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 194 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 195 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 195 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 194 of file mean.h.

Member Enumeration Documentation

◆ anonymous enum

template<class DataPoint , class _NFilter , int DiffType, typename T >
anonymous enum
protected
Enumerator
PROVIDES_MEAN_NORMAL_DERIVATIVE 

Provides derivative of the mean normal.

Definition at line 198 of file mean.h.

Member Function Documentation

◆ addLocalNeighbor()

template<class DataPoint , class _NFilter , int DiffType, typename T >
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 63 of file mean.hpp.

◆ init()

template<class DataPoint , class _NFilter , int DiffType, typename T >
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 56 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 208 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 208 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 205 of file mean.h.