#include <HxImgFtorIMNCast.h>
Inheritance diagram for HxImgFtorIMNCast::

Public Types | |
| typedef HxImgFtorIMNCastKey | KeyType |
| The key type of this class. More... | |
| typedef DstImgsSigT::DataPtrType | DstDataPtrType |
| The data pointer type of the destination images. 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... | |
| typedef HxDataPtrArray< DstImgsSigT > | DstDataPtrArray |
| An array of data pointers to destination images. More... | |
Public Methods | |
| HxImgFtorIMNCast (const KeyType &) | |
| Constructor. More... | |
| virtual | ~HxImgFtorIMNCast () |
| Destructor. More... | |
| virtual void | callIt (HxImageData **dstImgs, int dstCnt, HxImageData **srcImgs, int srcCnt, HxTagList &tags) |
| Converts parameters and calls doIt. More... | |
Protected Methods | |
| virtual void | doIt (DstDataPtrArray &dstPtrs, 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 HxImgFtorIMN. Reimplemented in HxImgFtorMNpo. |
|
|||||
|
The data pointer type of the destination images.
|
|
|||||
|
The data pointer type of the source images.
|
|
|||||
|
An array of data pointers to source images.
|
|
|||||
|
An array of data pointers to destination images.
|
|
||||||||||
|
Constructor.
00084 : HxImgFtorIMN(key){} |
|
|||||||||
|
Destructor.
00027 {
00028 #ifdef CD_TRACE
00029 HxEnvironment::instance()->outputStream()
00030 << "HxImgFtorIMNCast<>::~HxImgFtorIMNCast()" << STD_ENDL;
00031 HxEnvironment::instance()->flush();
00032 #endif
00033 }
|
|
||||||||||||||||||||||||||||
|
Converts parameters and calls doIt.
Reimplemented from HxImgFtorIMN.
00040 {
00041 DstDataPtrArray dstPtrs(dstImgs, dstCnt);
00042 SrcDataPtrArray srcPtrs(srcImgs, srcCnt);
00043
00044 HxImgFtorDescription* description = getDescription();
00045 if (description)
00046 {
00047 description->setTags(tags);
00048 description->addArgument(dstImgs[0]->signature(), dstImgs[0]->sizes());
00049 description->addArgument(srcImgs[0]->signature(), srcImgs[0]->sizes());
00050 description->startTime();
00051 }
00052
00053 doIt(
00054 dstPtrs, srcPtrs, dstImgs[0]->sizes(), srcImgs[0]->sizes(),
00055 tags, description);
00056
00057 if (description)
00058 description->stopTime();
00059 }
|
|
||||||||||||||||||||||||||||||||
|
doIt is implemented by derived image functors:.
Reimplemented in HxImgFtorMNpo. |
1.2.12 written by Dimitri van Heesch,
© 1997-2001