00001
00002
00003
00004
00005
00006
00007
00008
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
00030 template <class DstImgSigT, class SrcImgSigT, class NgbT>
00031 class L_HXIMAGEREP HxImgFtorNgb2d
00032 : public HxImgFtorI2Cast<DstImgSigT, SrcImgSigT>
00033 {
00034 public:
00035
00037 typedef HxImgFtorNgbKey KeyType;
00038
00040 HxImgFtorNgb2d();
00041
00043 virtual ~HxImgFtorNgb2d();
00044
00046 virtual bool probeOp(HxTagList &tags) const;
00047
00048 protected:
00049
00057 virtual void doIt(
00058 Img1DataPtrType dstPtr, Img2DataPtrType srcPtr,
00059 HxSizes dstSize, HxSizes srcSize,
00060 HxTagList &tags, HxImgFtorDescription* description = 0);
00061
00062 private:
00063 HxImgFtorNgb2d(const HxImgFtorNgb2d&);
00064 };
00065
00066 #ifdef INC_TEMPLATE_SRC
00067 #include "HxImgFtorNgb2d.c"
00068 #endif
00069
00070 #endif