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

eLynx::Math::ISpline2D< 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 > GetXRange () const =0
virtual std::pair< int32, int32 > GetYRange () const =0
virtual T Evaluate (int32 iX, int32 iY) const =0
virtual void Evaluate (const int32 *iX, uint32 iSize, int32 iY, T *oValues) const =0

Protected Member Functions

virtual ~ISpline2D ()

Detailed Description

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

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

Definition at line 55 of file ISpline.h.


Constructor & Destructor Documentation

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

Definition at line 87 of file ISpline.h.


Member Function Documentation

template<typename T, uint32 DEGREE>
virtual bool eLynx::Math::ISpline2D< 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::BSpline2< F >.

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

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

Returns:
interpolation range.

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

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

Returns the interpolation range in Y direction in form of [Y1, Yn)

Returns:
interpolation range.

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

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

Computes an interpolation at a given point. The point must fall into the ranges returned by GetXRange/GetYRange methods.

Parameters:
iX point's X coordinate.
iY point's Y coordinate.
Returns:
the interpolation value.

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

template<typename T, uint32 DEGREE>
virtual void eLynx::Math::ISpline2D< T, DEGREE >::Evaluate ( const int32 *  iX,
uint32  iSize,
int32  iY,
T *  oValues 
) const [pure virtual]

Computes an interpolation at a given set of points. All points must fall into the ranges returned by GetXRange/GetYRange methods. The iX values must be sorted in the ascending order

Parameters:
iX list of coordinates in X dimention.
iSize number of coordinates in a list.
iY coordinate in Y dimantion.
oValues interpolation values .

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


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

Generated on 14 Apr 2009 by doxygen 1.5.8