Ponca  2cfe00173bb12dda99e12b2b48a0e1f683bc5cdd
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::DryFit< DataPoint, _NFilter, T > Class Template Reference

Empty fitting object doing no computation. More...

#include <dryFit.h>

Inheritance diagram for Ponca::DryFit< DataPoint, _NFilter, T >:
Collaboration diagram for Ponca::DryFit< 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

DryFit< DataPoint, _NFilter, T > & dryfit ()
 Explicit conversion to CLASSNAME, to access methods potentially hidden by heritage.
const DryFit< DataPoint, _NFilter, T > & dryfit () const
 Explicit conversion to CLASSNAME, to access methods potentially hidden by heritage.
void addLocalNeighbor (Scalar w, const VectorType &localQ, const DataPoint &attributes)
 Add a neighbor to perform the fit.
FIT_RESULT finalize ()
Scalar potential () const
 Simulate Scalar field computation.
Scalar potential (const VectorType &) const
 Simulate Scalar field computation.
VectorType project (const VectorType &_q) const
 Simulate point projection.
VectorType primitiveGradient () const
 Simulate gradient direction computation.
VectorType primitiveGradient (const VectorType &) const
 Simulate gradient direction computation.

Protected Types

using Base = T
 Base class of the procedure.

Protected Member Functions

Scalar potentialLocal (const VectorType &) const
 Simulate Scalar field computation.
VectorType primitiveGradientLocal (const VectorType &) const
 Simulate gradient direction computation.

Detailed Description

template<class DataPoint, class _NFilter, typename T>
requires ProvidesBasketUnitBase<T>
class Ponca::DryFit< DataPoint, _NFilter, T >

Empty fitting object doing no computation.

Definition at line 26 of file dryFit.h.

Member Typedef Documentation

◆ Base

template<class DataPoint, class _NFilter, typename T>
using Ponca::DryFit< DataPoint, _NFilter, T >::Base = T
protected

Base class of the procedure.

Definition at line 28 of file dryFit.h.

◆ NeighborFilter

template<class DataPoint, class _NFilter, typename T>
using Ponca::DryFit< DataPoint, _NFilter, T >::NeighborFilter = typename Base::NeighborFilter

Alias to the filter applied on the neighbors.

Definition at line 28 of file dryFit.h.

◆ Scalar

template<class DataPoint, class _NFilter, typename T>
using Ponca::DryFit< DataPoint, _NFilter, T >::Scalar = typename DataPoint::Scalar

Alias to scalar type.

Definition at line 28 of file dryFit.h.

◆ VectorType

template<class DataPoint, class _NFilter, typename T>
using Ponca::DryFit< DataPoint, _NFilter, T >::VectorType = typename Base::VectorType

Alias to vector type.

Definition at line 28 of file dryFit.h.

Member Function Documentation

◆ addLocalNeighbor()

template<class DataPoint, class _NFilter, typename T>
void Ponca::DryFit< DataPoint, _NFilter, T >::addLocalNeighbor ( Scalar w,
const VectorType & localQ,
const DataPoint & attributes )
inline

Add a neighbor to perform the fit.

Definition at line 33 of file dryFit.h.

◆ dryfit() [1/2]

template<class DataPoint, class _NFilter, typename T>
DryFit< DataPoint, _NFilter, T > & Ponca::DryFit< DataPoint, _NFilter, T >::dryfit ( )
inline

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

Definition at line 30 of file dryFit.h.

◆ dryfit() [2/2]

template<class DataPoint, class _NFilter, typename T>
const DryFit< DataPoint, _NFilter, T > & Ponca::DryFit< DataPoint, _NFilter, T >::dryfit ( ) const
inline

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

Definition at line 30 of file dryFit.h.

◆ finalize()

template<class DataPoint, class _NFilter, typename T>
FIT_RESULT Ponca::DryFit< DataPoint, _NFilter, T >::finalize ( )
inlinenodiscard

Definition at line 39 of file dryFit.h.

◆ potential() [1/2]

template<class DataPoint, class _NFilter, typename T>
Scalar Ponca::DryFit< DataPoint, _NFilter, T >::potential ( ) const
inlinenodiscard

Simulate Scalar field computation.

Definition at line 42 of file dryFit.h.

◆ potential() [2/2]

template<class DataPoint, class _NFilter, typename T>
Scalar Ponca::DryFit< DataPoint, _NFilter, T >::potential ( const VectorType & ) const
inlinenodiscard

Simulate Scalar field computation.

Definition at line 45 of file dryFit.h.

◆ potentialLocal()

template<class DataPoint, class _NFilter, typename T>
Scalar Ponca::DryFit< DataPoint, _NFilter, T >::potentialLocal ( const VectorType & ) const
inlinenodiscardprotected

Simulate Scalar field computation.

Definition at line 61 of file dryFit.h.

◆ primitiveGradient() [1/2]

template<class DataPoint, class _NFilter, typename T>
VectorType Ponca::DryFit< DataPoint, _NFilter, T >::primitiveGradient ( ) const
inlinenodiscard

Simulate gradient direction computation.

Definition at line 51 of file dryFit.h.

◆ primitiveGradient() [2/2]

template<class DataPoint, class _NFilter, typename T>
VectorType Ponca::DryFit< DataPoint, _NFilter, T >::primitiveGradient ( const VectorType & ) const
inlinenodiscard

Simulate gradient direction computation.

Definition at line 54 of file dryFit.h.

◆ primitiveGradientLocal()

template<class DataPoint, class _NFilter, typename T>
VectorType Ponca::DryFit< DataPoint, _NFilter, T >::primitiveGradientLocal ( const VectorType & ) const
inlinenodiscardprotected

Simulate gradient direction computation.

Definition at line 66 of file dryFit.h.

◆ project()

template<class DataPoint, class _NFilter, typename T>
VectorType Ponca::DryFit< DataPoint, _NFilter, T >::project ( const VectorType & _q) const
inlinenodiscard

Simulate point projection.

Definition at line 48 of file dryFit.h.