00001 /* 00002 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Dennis Koelma <koelma@wins.uva.nl> 00007 */ 00008 00009 #ifndef HxImgFtorRgb2d_h 00010 #define HxImgFtorRgb2d_h 00011 00012 #include "HxSizes.h" 00013 #include "HxImgFtorRgbKey.h" 00014 #include "HxImgFtorI1Cast.h" 00015 00016 #include "HxTagList.h" 00017 00020 template <class ImgSigT, class RgbT> 00021 class L_HXIMAGEREP HxImgFtorRgb2d : public HxImgFtorI1Cast<ImgSigT> 00022 { 00023 public: 00024 00026 typedef HxImgFtorRgbKey KeyType; 00027 00029 HxImgFtorRgb2d(); 00030 00032 virtual ~HxImgFtorRgb2d(); 00033 00034 protected: 00036 virtual void doIt(ImgDataPtrType ptr, HxSizes size, 00037 HxTagList &tags, HxImgFtorDescription* = 0); 00038 00039 private: 00040 HxImgFtorRgb2d(const HxImgFtorRgb2d&); 00041 }; 00042 00043 #ifdef INC_TEMPLATE_SRC 00044 #include "HxImgFtorRgb2d.c" 00045 #endif 00046 00047 #endif