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

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

2D 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 > GetXRange () const =0
 Returns the interpolation range in X direction in form of [X1, Xn)
virtual std::pair< int32, int32 > GetYRange () const =0
 Returns the interpolation range in Y direction in form of [Y1, Yn)
virtual T Evaluate (int32 iX, int32 iY) const =0
 Computes an interpolation at a given point.
virtual void Evaluate (const int32 *iX, uint32 iSize, int32 iY, T *oValues) const =0
 Computes an interpolation at a given set of points.

Detailed Description

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

2D spline interface.

DEGREE specifies the order of the interpolation.


Member Function Documentation

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:
iXpoint's X coordinate.
iYpoint'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:
iXlist of coordinates in X dimention.
iSizenumber of coordinates in a list.
iYcoordinate in Y dimantion.
oValuesinterpolation values .

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


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

Generated on Thu Dec 9 2010 by doxygen 1.7.2