eLynx SDK
v3.3.0 C++ image processing API reference |
00001 //============================================================================ 00002 // IResampleFilter.h Math.Component package 00003 //============================================================================ 00004 // Usage : define interface for resampling filter purpose 00005 //---------------------------------------------------------------------------- 00006 // Copyright (C) 2006 by eLynx project 00007 // 00008 // This library is free software; you can redistribute it and/or 00009 // modify it under the terms of the GNU Library General Public 00010 // License as published by the Free Software Foundation; either 00011 // version 2 of the License, or (at your option) any later version. 00012 // 00013 // This library is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00016 // See the GNU Library General Public License for more details. 00017 //---------------------------------------------------------------------------- 00018 #ifndef __IResampleFilter_h__ 00019 #define __IResampleFilter_h__ 00020 00021 #include "MathLib.h" 00022 00023 namespace eLynx { 00024 namespace Math { 00025 00026 class ExportedByMath IResampleFilter 00027 { 00028 public: 00029 virtual ~IResampleFilter(); 00030 00033 virtual double GetRadius() const = 0; 00034 00038 virtual double GetValue(double iX) const = 0; 00039 }; 00040 00041 } // namespace Math 00042 } // namespace eLynx 00043 00044 #endif // __IResampleFilter_h__