CubicSplineInterpolator1D.h

Go to the documentation of this file.
00001 // CubicSplineInterpolator1D.h: interface for the CubicSplineInterpolator1D class.
00002 //
00004 
00005 #if !defined(AFX_CUBICSPLINEInterpolator1D_H__FB4EF769_FD9B_4764_8D0C_6A9ECEEF4509__INCLUDED_)
00006 #define AFX_CUBICSPLINEInterpolator1D_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 
00016 namespace Interpolator
00017 {
00019 class CubicSplineInterpolator1D : public Interpolator1D  
00020 {
00021 public:
00022         CubicSplineInterpolator1D();
00023         virtual ~CubicSplineInterpolator1D();
00024 
00025         CubicSplineInterpolator1D(      
00026                                 std::string sName, 
00027                                 std::string sDescription, 
00028                                 InterpolationData1D* mInterpolationData);
00029 
00030         virtual double getInterpolatedValue(double dValue);
00031         virtual void    updateInterpolator();
00032 /*private:
00033         gsl_interp_accel        *acc;
00034         gsl_spline                      *spline;
00035 */
00036 };
00037 }
00038 #endif // !defined(AFX_CUBICSPLINEInterpolator1D_H__FB4EF769_FD9B_4764_8D0C_6A9ECEEF4509__INCLUDED_)

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