00001 /* 00002 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Edo Poll (poll@wins.uva.nl) 00007 * Dennis Koelma (koelma@wins.uva.nl) 00008 */ 00009 00010 #ifndef HxImgFtorSetBorder2d_h 00011 #define HxImgFtorSetBorder2d_h 00012 00013 #include "HxSizes.h" 00014 #include "HxImgFtorSetBorderKey.h" 00015 #include "HxImgFtorI1Cast.h" 00016 00017 #include "HxTagList.h" 00018 00019 00022 template <class ImgSigT> 00023 class L_HXIMAGEREP HxImgFtorSetBorder2d : public HxImgFtorI1Cast<ImgSigT> 00024 { 00025 public: 00026 00028 typedef HxImgFtorSetBorderKey KeyType; 00029 00031 HxImgFtorSetBorder2d(); 00032 00034 virtual ~HxImgFtorSetBorder2d(); 00035 00036 protected: 00043 virtual void doIt( 00044 ImgDataPtrType imgPtr, HxSizes imgSize, 00045 HxTagList &tags, HxImgFtorDescription* = 0); 00046 00047 private: 00048 HxImgFtorSetBorder2d(const HxImgFtorSetBorder2d&); 00049 }; 00050 00051 #ifdef INC_TEMPLATE_SRC 00052 #include "HxImgFtorSetBorder2d.c" 00053 #endif 00054 00055 #endif