eLynx SDK v3.0.1
C++ image processing API reference

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

#include <ISpline.h>

List of all members.


Public Member Functions

virtual bool IsUseful () const =0
virtual std::pair< int32, int32 > GetRange () const =0
virtual T Evaluate (int32 iX) const =0

Protected Member Functions

virtual ~ISpline1D ()

Detailed Description

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

1D spline interface. DEGREE specifies the order of the interpolation.

Definition at line 30 of file ISpline.h.


Constructor & Destructor Documentation

template<typename T, uint32 DEGREE>
virtual eLynx::Math::ISpline1D< T, DEGREE >::~ISpline1D (  )  [inline, protected, virtual]

Definition at line 48 of file ISpline.h.


Member Function Documentation

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 >.

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 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:
iX point's coordinate.
Returns:
the interpolation value.

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


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

Generated on 14 Apr 2009 by doxygen 1.5.8