/vol/vipdata/irtk/image++/include/irtkSincInterpolateImageFunction.h

00001 /*=========================================================================
00002 
00003   Library   : Image Registration Toolkit (IRTK)
00004   Module    : $Id: irtkSincInterpolateImageFunction.h 8 2009-03-02 16:12:58Z dr $
00005   Copyright : Imperial College, Department of Computing
00006               Visual Information Processing (VIP), 2008 onwards
00007   Date      : $Date: 2009-03-02 16:12:58 +0000 (Mon, 02 Mar 2009) $
00008   Version   : $Revision: 8 $
00009   Changes   : $Author: dr $
00010 
00011 =========================================================================*/
00012 
00013 #ifndef _IRTKSINCINTERPOLATEIMAGEFUNCTION_H
00014 
00015 #define _IRTKSINCINTERPOLATEIMAGEFUNCTION_H
00016 
00024 class irtkSincInterpolateImageFunction : public irtkInterpolateImageFunction
00025 {
00026 
00027 private:
00028 
00030   int _x;
00031 
00033   int _y;
00034 
00036   int _z;
00037 
00038 public:
00039 
00041   irtkSincInterpolateImageFunction();
00042 
00044   ~irtkSincInterpolateImageFunction();
00045 
00047   virtual const char *NameOfClass();
00048 
00050   virtual void Initialize();
00051 
00053   virtual double Evaluate(double, double, double, double = 0);
00054 
00058   virtual double EvaluateInside(double, double, double, double = 0);
00059 
00060 };
00061 
00062 #endif