eLynx SDK v3.3.0
C++ image processing API reference
Public Member Functions

eLynx::Math::ISpline1D< T, DEGREE > Class Template Reference

1D spline interface. More...

#include <ISpline.h>

List of all members.

Public Member Functions

virtual bool IsUseful () const =0
 Verifies that spline can be used for interpolation.
virtual std::pair< int32, int32 > GetRange () const =0
 Returns the interpolation range in form of [X1, Xn)
virtual T Evaluate (int32 iX) const =0
 Computes an interpolation at a given point.

Detailed Description

template<typename T, uint32 DEGREE>
class eLynx::Math::ISpline1D< T, DEGREE >

1D spline interface.

DEGREE specifies the order of the interpolation.


Member Function Documentation

template<typename T, uint32 DEGREE>
virtual T eLynx::Math::ISpline1D< T, DEGREE >::Evaluate ( int32  iX ) const [pure virtual]

Computes an interpolation at a given point.

The point must fall into the range returned by GetRange method.

Parameters:
iXpoint's coordinate.
Returns:
the interpolation value.

Implemented in eLynx::Math::BSpline1< F >.

template<typename T, uint32 DEGREE>
virtual std::pair<int32,int32> eLynx::Math::ISpline1D< T, DEGREE >::GetRange (  ) const [pure virtual]

Returns the interpolation range in form of [X1, Xn)

Returns:
interpolation range.

Implemented in eLynx::Math::BSpline1< F >.

template<typename T, uint32 DEGREE>
virtual bool eLynx::Math::ISpline1D< T, DEGREE >::IsUseful (  ) const [pure virtual]

Verifies that spline can be used for interpolation.

Returns:
true if spline was initialize properly.

Implemented in eLynx::Math::BSpline1< F >.


The documentation for this class was generated from the following file:

Generated on Thu Dec 9 2010 by doxygen 1.7.2