LinearInterpolator1D.h

Go to the documentation of this file.
00001 // LinearInterpolator1D.h: interface for the LinearInterpolator1D class.
00002 //
00004 
00005 #if !defined(AFX_LINEARInterpolator1D_H__FB4EF769_FD9B_4764_8D0C_6A9ECEEF4509__INCLUDED_)
00006 #define AFX_LINEARInterpolator1D_H__FB4EF769_FD9B_4764_8D0C_6A9ECEEF4509__INCLUDED_
00007 
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011 
00012 #include "Interpolator1D.h"
00013 #include <gsl/gsl_errno.h>
00014 #include <gsl/gsl_spline.h>
00015 namespace Interpolator
00016 {
00018 class LinearInterpolator1D : public Interpolator1D  
00019 {
00020 public:
00021         LinearInterpolator1D();
00022         virtual ~LinearInterpolator1D();
00023 
00024         LinearInterpolator1D(   
00025                                 std::string sName, 
00026                                 std::string sDescription, 
00027                                 InterpolationData1D* mInterpolationData);
00028 
00029         virtual double getInterpolatedValue(double dValue);
00030         virtual void updateInterpolator();
00031 /*
00032 private:
00033         gsl_interp_accel *acc;
00034         gsl_spline *spline;
00035 */
00036 };
00037 }
00038 #endif // !defined(AFX_LINEARInterpolator1D_H__FB4EF769_FD9B_4764_8D0C_6A9ECEEF4509__INCLUDED_)

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