10#include "../../defines.h"
11#include "../concepts.h"
15#define DRY_FIT_REQUIREMENTS ProvidesBasketUnitBase<T>
24 template <
class DataPo
int,
class _NFilter,
typename T>
25 requires DRY_FIT_REQUIREMENTS
28 PONCA_FITTING_DECLARE_DEFAULT_TYPES
32 PONCA_FITTING_APIDOC_ADDNEIGHBOR
38 PONCA_FITTING_APIDOC_FINALIZE
56 return VectorType::Zero();
68 return VectorType::Zero();
Aggregator class used to declare specialized structures using CRTP.
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)