Ponca  cfb0fcc680f97b3ab7288990161ce80053655869
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::GradientDescentProjectionOperator Struct Reference

Project a point using the gradinet of the sdf. More...

#include <project.h>

+ Collaboration diagram for Ponca::GradientDescentProjectionOperator:

Public Member Functions

 GradientDescentProjectionOperator (unsigned int _nbIter=16)
 
template<typename Fit >
Fit::VectorType project (const Fit &_f, const typename Fit::VectorType &_pos) const
 Project a point using the gradinet of the sdf.
 
template<typename Fit >
Fit::VectorType operator() (const Fit &f, const typename Fit::VectorType &pos) const
 Project a point using the gradinet of the sdf.
 

Public Attributes

unsigned int nbIter
 

Detailed Description

Project a point using the gradinet of the sdf.

Template Parameters
FitThe fitting object
Parameters
fThe fitting object
posThe position to project

Definition at line 48 of file project.h.

Constructor & Destructor Documentation

◆ GradientDescentProjectionOperator()

Ponca::GradientDescentProjectionOperator::GradientDescentProjectionOperator ( unsigned int  _nbIter = 16)
inline

Definition at line 51 of file project.h.

Member Function Documentation

◆ operator()()

template<typename Fit >
Fit::VectorType Ponca::GradientDescentProjectionOperator::operator() ( const Fit f,
const typename Fit::VectorType &  pos 
) const
inline

Project a point using the gradinet of the sdf.

Template Parameters
FitThe fitting object
Parameters
fThe fitting object
posThe position to project

Definition at line 90 of file project.h.

◆ project()

template<typename Fit >
Fit::VectorType Ponca::GradientDescentProjectionOperator::project ( const Fit _f,
const typename Fit::VectorType &  _pos 
) const
inline

Project a point using the gradinet of the sdf.

Template Parameters
FitThe fitting object
Parameters
fThe fitting object
posThe position to project

Definition at line 62 of file project.h.

Member Data Documentation

◆ nbIter

unsigned int Ponca::GradientDescentProjectionOperator::nbIter

Definition at line 96 of file project.h.