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

Empty fitting object doing no computation. More...

#include <dryFit.h>

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

Public Member Functions

DryFit< DataPoint, _WFunctor, T > & dryfit ()
 Explicit conversion to DryFit , to access methods potentially hidden by heritage.
 
const DryFit< DataPoint, _WFunctor, T > & dryfit () const
 Explicit conversion to DryFit , to access methods potentially hidden by heritage.
 
bool addLocalNeighbor (Scalar w, const VectorType &localQ, const DataPoint &attributes)
 Add a neighbor to perform the fit.
 
FIT_RESULT finalize ()
 Finalize the procedure.
 
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

enum  { check = Base::PROVIDES_PRIMITIVE_BASE }
 
using Base = T
 Base class of the procedure.
 

Detailed Description

template<class DataPoint, class _WFunctor, typename T>
class Ponca::DryFit< DataPoint, _WFunctor, T >

Empty fitting object doing no computation.

Definition at line 23 of file dryFit.h.

Member Typedef Documentation

◆ Base

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

Base class of the procedure.

Definition at line 25 of file dryFit.h.

◆ Scalar

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

Alias to scalar type.

Definition at line 25 of file dryFit.h.

◆ VectorType

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

Alias to vector type.

Definition at line 25 of file dryFit.h.

◆ WFunctor

template<class DataPoint , class _WFunctor , typename T >
using Ponca::DryFit< DataPoint, _WFunctor, T >::WFunctor = typename Base::WFunctor

Alias to weight function.

Definition at line 25 of file dryFit.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 28 of file dryFit.h.

Member Function Documentation

◆ addLocalNeighbor()

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

Add a neighbor to perform the fit.

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

Definition at line 34 of file dryFit.h.

◆ dryfit() [1/2]

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

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

Definition at line 31 of file dryFit.h.

◆ dryfit() [2/2]

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

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

Definition at line 31 of file dryFit.h.

◆ finalize()

template<class DataPoint , class _WFunctor , typename T >
FIT_RESULT Ponca::DryFit< DataPoint, _WFunctor, T >::finalize ( )
inline

Finalize the procedure.

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

Definition at line 38 of file dryFit.h.

◆ potential() [1/2]

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

Simulate Scalar field computation.

Definition at line 41 of file dryFit.h.

◆ potential() [2/2]

template<class DataPoint , class _WFunctor , typename T >
Scalar Ponca::DryFit< DataPoint, _WFunctor, T >::potential ( const VectorType ) const
inline

Simulate Scalar field computation.

Definition at line 44 of file dryFit.h.

◆ primitiveGradient() [1/2]

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

Simulate gradient direction computation.

Definition at line 50 of file dryFit.h.

◆ primitiveGradient() [2/2]

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

Simulate gradient direction computation.

Definition at line 53 of file dryFit.h.

◆ project()

template<class DataPoint , class _WFunctor , typename T >
VectorType Ponca::DryFit< DataPoint, _WFunctor, T >::project ( const VectorType _q) const
inline

Simulate point projection.

Definition at line 47 of file dryFit.h.