00001 // This file is part of the imaging2 class library. 00002 // 00003 // University of Innsbruck, Infmath Imaging, 2009. 00004 // http://infmath.uibk.ac.at 00005 // 00006 // All rights reserved. 00007 00008 00009 #ifndef CORE_FUNCTIONINTERFACE_H 00010 #define CORE_FUNCTIONINTERFACE_H 00011 00012 #include <core/imaging2.hpp> 00013 00014 namespace imaging 00015 { 00021 template <class A, class V> 00022 class FunctionInterface 00023 { 00024 public: 00025 virtual ~FunctionInterface() {} 00026 00028 virtual void evaluate(const A & argument, V & value) = 0; 00029 }; 00030 } 00031 00032 #endif