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

Inherits Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T >, and Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitSpaceDer|internal::FitScaleDer >.

Detailed Description

template<class DataPoint, class _WFunctor, typename T>
class Grenaille::OrientedSphereScaleSpaceDer< DataPoint, _WFunctor, T >

Differentiation both in scale and space of the OrientedSphereFit.

Requierement:

PROVIDES_ALGEBRAIC_SPHERE 

Provide:

PROVIDES_ALGEBRAIC_SPHERE_SCALE_DERIVATIVE 
PROVIDES_ALGEBRAIC_SPHERE_SPACE_DERIVATIVE

Protected Types

enum  { PROVIDES_ALGEBRAIC_SPHERE_SCALE_DERIVATIVE, PROVIDES_ALGEBRAIC_SPHERE_SPACE_DERIVATIVE, PROVIDES_NORMAL_SCALE_DERIVATIVE, PROVIDES_NORMAL_SPACE_DERIVATIVE }
 
typedef
internal::OrientedSphereDer
< DataPoint, _WFunctor, T,
internal::FitSpaceDer|internal::FitScaleDer
Base
 Inherited class.
 
- Protected Types inherited from Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitSpaceDer|internal::FitScaleDer >
enum  
 

Additional Inherited Members

- Public Types inherited from Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitSpaceDer|internal::FitScaleDer >
typedef Base::Scalar Scalar
 Inherited scalar type.
 
typedef Base::VectorType VectorType
 Inherited vector type.
 
typedef Base::WFunctor WFunctor
 Weight Function.
 
typedef Eigen::Matrix< Scalar,
DataPoint::Dim,
GLS_DER_NB_DERIVATIVES(Type,
DataPoint::Dim),
GLS_DER_STORAGE_ORDER(Type) > 
VectorArray
 Static array of scalars with a size adapted to the differentiation type.
 
typedef Eigen::Matrix< Scalar,
1, GLS_DER_NB_DERIVATIVES(Type,
DataPoint::Dim) > 
ScalarArray
 Static array of scalars with a size adapted to the differentiation type.
 
- Public Member Functions inherited from Grenaille::Concept::FittingExtensionConcept< DataPoint, _WFunctor, T >
void setWeightFunc (const WFunctor &w)
 
void init (const VectorType &evalPos)
 
bool addNeighbor (const DataPoint &nei)
 
FIRESULT finalize ()
 
- Public Member Functions inherited from Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitSpaceDer|internal::FitScaleDer >
void init (const VectorType &evalPos)
 
bool addNeighbor (const DataPoint &nei)
 
FIT_RESULT finalize ()
 
ScalarArray dPotential () const
 Returns the derivatives of the scalar field at the evaluation point.
 
VectorArray dNormal () const
 Returns the derivatives of the primitive normal.
 
ScalarArray dprattNorm2 () const
 compute the square of the Pratt norm derivative
 
Scalar dprattNorm2 (unsigned int _d) const
 compute the square of the Pratt norm derivative for dimension _d
 
Scalar dprattNorm (unsigned int _d) const
 compute the Pratt norm derivative for the dimension _d
 
Scalar dprattNorm () const
 compute the Pratt norm derivative
 
bool isScaleDer () const
 State specified at compilation time to differenciate the fit in scale.
 
bool isSpaceDer () const
 State specified at compilation time to differenciate the fit in space.
 
unsigned int derDimension () const
 Number of dimensions used for the differentiation.
 
bool applyPrattNorm ()
 Normalize the scalar field by the Pratt norm. More...
 
- Public Attributes inherited from Grenaille::internal::OrientedSphereDer< DataPoint, _WFunctor, T, internal::FitSpaceDer|internal::FitScaleDer >
ScalarArray m_dUc
 Derivative of the hyper-sphere constant term.
 
ScalarArray m_dUq
 Derivative of the hyper-sphere quadratic term.
 
VectorArray m_dUl
 Derivative of the hyper-sphere linear term.