Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T > Class Template Reference

Inherited by Grenaille::internal::CovariancePlaneDer< DataPoint, _WFunctor, T, internal::FitScaleDer >, Grenaille::internal::CovariancePlaneDer< DataPoint, _WFunctor, T, internal::FitSpaceDer >, Grenaille::internal::CovariancePlaneDer< DataPoint, _WFunctor, T, internal::FitSpaceDer|internal::FitScaleDer >, Grenaille::CovariancePlaneScaleDer< DataPoint, _WFunctor, T >, Grenaille::CovariancePlaneScaleSpaceDer< DataPoint, _WFunctor, T >, Grenaille::CovariancePlaneSpaceDer< DataPoint, _WFunctor, T >, Grenaille::CurvatureEstimator< DataPoint, _WFunctor, T >, Grenaille::GLSDer< DataPoint, _WFunctor, T >, Grenaille::GLSGeomVar< DataPoint, _WFunctor, T >, Grenaille::GLSParam< DataPoint, _WFunctor, T >, Grenaille::internal::CovariancePlaneDer< DataPoint, _WFunctor, T, Type >, Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, Type >, Grenaille::OrientedSphereScaleDer< DataPoint, _WFunctor, T >, Grenaille::OrientedSphereScaleSpaceDer< DataPoint, _WFunctor, T >, Grenaille::OrientedSphereSpaceDer< DataPoint, _WFunctor, T >, Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitScaleDer >, Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitSpaceDer >, and Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitSpaceDer|internal::FitScaleDer >.

Detailed Description

template<class DataPoint, class _WFunctor, typename T = void>
class Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T >

Describes how to add features to an existing fitting procedure.

A typical example use would go like this:

typedef Basket<MyPointStructure,MyWeightingFunction,MyFittingProcedure, MyExtension1, MyExtension2, ...> ExtendedFit;
MyWeightingFunction w ( some_parameters );
// Create a fit object
ExtendedFit extFit;
// init the internal state with respect to the reference position
extFit.init( referencePosition );
// set the weighting function. Has no influence of the other internals
extFit.setWeightFunc( w );
foreach neighbors of referencePosition
// use the result of the fit and its extensions
// ...

Public Member Functions

void setWeightFunc (const WFunctor &w)
void init (const VectorType &evalPos)
bool addNeighbor (const DataPoint &nei)
FIRESULT finalize ()

Member Function Documentation

template<class DataPoint , class _WFunctor , typename T = void>
bool Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T >::addNeighbor ( const DataPoint &  nei)
template<class DataPoint , class _WFunctor , typename T = void>
FIRESULT Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T >::finalize ( )
template<class DataPoint , class _WFunctor , typename T = void>
void Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T >::init ( const VectorType &  evalPos)
template<class DataPoint , class _WFunctor , typename T = void>
void Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T >::setWeightFunc ( const WFunctor &  w)