11#include "./primitive.h"
22 template <
class DataPo
int,
class _NFilter,
typename T>
25 PONCA_FITTING_DECLARE_DEFAULT_TYPES
30 check = Base::PROVIDES_PRIMITIVE_BASE
36 PONCA_FITTING_APIDOC_ADDNEIGHBOR
39 Base::addLocalNeighbor(w, localQ, attributes);
42 PONCA_FITTING_APIDOC_FINALIZE
60 return VectorType::Zero();
72 return VectorType::Zero();
Empty fitting object doing no computation.
typename Base::VectorType VectorType
Alias to vector type.
VectorType project(const VectorType &_q) const
Simulate point projection.
FIT_RESULT finalize()
Finalize the procedure.
Scalar potential() const
Simulate Scalar field computation.
typename DataPoint::Scalar Scalar
Alias to scalar type.
Scalar potential(const VectorType &) const
Simulate Scalar field computation.
VectorType primitiveGradient() const
Simulate gradient direction computation.
VectorType primitiveGradient(const VectorType &) const
Simulate gradient direction computation.
DryFit< DataPoint, _NFilter, T > & dryfit()
Explicit conversion to DryFit , to access methods potentially hidden by heritage.
void addLocalNeighbor(Scalar w, const VectorType &localQ, const DataPoint &attributes)
Add a neighbor to perform the fit.
Scalar potentialLocal(const VectorType &) const
Simulate Scalar field computation.
VectorType primitiveGradientLocal(const VectorType &) 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)