#include <HxImgFtorIMCast.h>
Inheritance diagram for HxImgFtorIMCast::
Public Types | |
typedef HxImgFtorIMCastKey | KeyType |
The key type of this class. More... | |
typedef DstImgSigT::DataPtrType | DstDataPtrType |
The data pointer type of the destination image. More... | |
typedef SrcImgsSigT::DataPtrType | SrcDataPtrType |
The data pointer type of the source images. More... | |
typedef HxDataPtrArray< SrcImgsSigT > | SrcDataPtrArray |
An array of data pointers to source images. More... | |
Public Methods | |
HxImgFtorIMCast (const KeyType &) | |
Constructor. More... | |
virtual | ~HxImgFtorIMCast () |
Destructor. More... | |
virtual void | callIt (HxImageData *dstImg, HxImageData **srcImgs, int nImgs, HxTagList &tags) |
Converts parameters and calls doIt. More... | |
Protected Methods | |
virtual void | doIt (DstDataPtrType dstPtr, SrcDataPtrArray &srcPtrs, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *description=0)=0 |
doIt is implemented by derived image functors:. More... |
Template parameters:
|
The key type of this class.
Reimplemented from HxImgFtorIM. Reimplemented in HxImgFtorMpo, and HxImgFtorMpo< DstSigT, SrcsSigT, HxMpoVec3< typename DstSigT::ArithType, typename SrcsSigT::ArithType > >. |
|
The data pointer type of the destination image.
|
|
The data pointer type of the source images.
|
|
An array of data pointers to source images.
|
|
Constructor.
00081 : HxImgFtorIM(key){} |
|
Destructor.
00027 { 00028 #ifdef CD_TRACE 00029 HxEnvironment::instance()->outputStream() 00030 << "HxImgFtorIMCast<>::~HxImgFtorIMCast()" << STD_ENDL; 00031 HxEnvironment::instance()->flush(); 00032 #endif 00033 } |
|
Converts parameters and calls doIt.
Reimplemented from HxImgFtorIM.
00039 { 00040 TYPENAME DstImgSigT::DataPtrType dstPtr 00041 = HxMakeDataPtr<typename DstImgSigT::DataPtrType>(dstImg); 00042 SrcDataPtrArray srcPtrs(srcImgs, nImgs); 00043 00044 HxImgFtorDescription* description = getDescription(); 00045 if (description) 00046 { 00047 description->setTags(tags); 00048 description->addArgument(dstImg->signature(), dstImg->sizes()); 00049 description->addArgument(srcImgs[0]->signature(), srcImgs[0]->sizes()); 00050 description->startTime(); 00051 } 00052 00053 doIt( 00054 dstPtr, srcPtrs, dstImg->sizes(), srcImgs[0]->sizes(), 00055 tags, description); 00056 00057 if (description) 00058 description->stopTime(); 00059 } |
|
doIt is implemented by derived image functors:.
Reimplemented in HxImgFtorMpo, and HxImgFtorMpo< DstSigT, SrcsSigT, HxMpoVec3< typename DstSigT::ArithType, typename SrcsSigT::ArithType > >. |