00001 /* 00002 * Copyright (c) 1999, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Edo Poll (poll@wins.uva.nl) 00007 * Marc Navarro (mnavarro@wins.uva.nl) 00008 * Dennis Koelma (koelma@wins.uva.nl) 00009 */ 00010 00011 #ifndef HxImgFtorNgb2d_h 00012 #define HxImgFtorNgb2d_h 00013 00014 #include "HxSizes.h" 00015 #include "HxImgFtorNgbKey.h" 00016 #include "HxImgFtorI2Cast.h" 00017 00018 #include "HxTagList.h" 00019 00020 00023 template <class DstImgSigT, class SrcImgSigT, class NgbT> 00024 class L_HXIMAGEREP HxImgFtorNgb2d 00025 : public HxImgFtorI2Cast<DstImgSigT, SrcImgSigT> 00026 { 00027 00028 public: 00029 00031 typedef HxImgFtorNgbKey KeyType; 00032 00033 00035 HxImgFtorNgb2d(); 00036 00038 virtual ~HxImgFtorNgb2d(); 00039 00041 virtual HxSizes minimumBorderSize(HxTagList &tags) const; 00042 00043 protected: 00048 virtual void doIt( 00049 DstDataPtrType dstPtr, SrcDataPtrType srcPtr, 00050 HxSizes dstSize, HxSizes srcSize, 00051 HxTagList &tags, HxImgFtorDescription* = 0); 00052 00053 private: 00054 HxImgFtorNgb2d(const HxImgFtorNgb2d&); 00055 }; 00056 00057 #ifdef INC_TEMPLATE_SRC 00058 #include "HxImgFtorNgb2d.c" 00059 #endif 00060 00061 #endif