NearestNeighbourInterpolator2D.h

Go to the documentation of this file.
00001 // NearestNeighbourInterpolator2D.h: interface for the NearestNeighbourInterpolator2D class.
00002 //
00004 
00005 #if !defined(AFX_NEARESTNEIGHBOURINTERPOLATOR2D_H__B66CF9B5_666E_4B14_8DCF_D358B549AF3B__INCLUDED_)
00006 #define AFX_NEARESTNEIGHBOURINTERPOLATOR2D_H__B66CF9B5_666E_4B14_8DCF_D358B549AF3B__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include "Interpolator2D.h"
00013 namespace Interpolator
00014 {
00016 class NearestNeighbourInterpolator2D : public Interpolator2D  
00017 {
00018 public:
00019         NearestNeighbourInterpolator2D();
00020         virtual ~NearestNeighbourInterpolator2D();
00021         NearestNeighbourInterpolator2D( std::string sName, 
00022                                                                         std::string sDescription,
00023                                                                         std::string sInterpolationType,
00024                                                                         InterpolationData2D* mInterpolationData);
00025 
00026         virtual double getInterpolatedValue(double dXValue,double dYValue);
00027 private:
00028         virtual double compute(double dXValue,double dYValue);
00029 };
00030 }
00031 #endif // !defined(AFX_NEARESTNEIGHBOURINTERPOLATOR2D_H__B66CF9B5_666E_4B14_8DCF_D358B549AF3B__INCLUDED_)

Generated on Tue Apr 14 09:50:28 2009 for Interpolator Library by  doxygen 1.4.5