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