11#include "./primitive.h"
22 template <
class DataPo
int,
class _WFunctor,
typename T>
25 PONCA_FITTING_DECLARE_DEFAULT_TYPES
28 enum { check = Base::PROVIDES_PRIMITIVE_BASE };
33 PONCA_FITTING_APIDOC_ADDNEIGHBOR
35 {
return Base::addLocalNeighbor(w, localQ, attributes);}
37 PONCA_FITTING_APIDOC_FINALIZE
Empty fitting object doing no computation.
FIT_RESULT finalize()
Finalize the procedure.
typename Base::VectorType VectorType
Alias to vector type.
Scalar potential() const
Simulate Scalar field computation.
VectorType project(const VectorType &_q) const
Simulate point projection.
VectorType primitiveGradient(const VectorType &) const
Simulate gradient direction computation.
DryFit< DataPoint, _WFunctor, T > & dryfit()
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.
typename DataPoint::Scalar Scalar
Alias to scalar type.
Scalar potential(const VectorType &) const
Simulate Scalar field computation.
VectorType primitiveGradient() const
Simulate gradient direction computation.
This Source Code Form is subject to the terms of the Mozilla Public License, v.
FIT_RESULT
Enum corresponding to the state of a fitting method (and what the finalize function returns)