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

Public Types | |
| typedef HxImgFtorMpoKey | KeyType |
| The key type of this class. More... | |
Public Methods | |
| HxImgFtorMpo () | |
| Constructor. More... | |
| virtual | ~HxImgFtorMpo () |
| Destructor. More... | |
Protected Methods | |
| virtual void | doIt (DstDataPtrType dstPtr, SrcDataPtrArray &srcPtrs, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *=0) |
| Calls HxFuncMultiPixOp to do the actual work. More... | |
|
|||||
|
The key type of this class.
Reimplemented from HxImgFtorIMCast. |
|
|||||||||
|
Constructor.
00022 : HxImgFtorIMCast<DstImgSigT, SrcImgsSigT>( 00023 HxImgFtorMpoKey(HxClassName<DstImgSigT>(), HxClassName<SrcImgsSigT>(), 00024 HxClassName<MpoT>())) 00025 { 00026 #ifdef CD_TRACE 00027 HxEnvironment::instance()->outputStream() 00028 << "HxImgFtorMpo::HxImgFtorMpo()" << STD_ENDL; 00029 #endif 00030 static HxRegKey* mpoKey 00031 = HxRegistry::instance().insertKey("/imagefunctortable/mpo"); 00032 00033 HxRegKey* k = mpoKey->insertKey(HxClassName<MpoT>()); 00034 k = k->insertKey("resulttype"); 00035 k->insertValue( 00036 HxClassName<SrcImgsSigT>(), HxRegData(HxClassName<DstImgSigT>())); 00037 } |
|
|||||||||
|
Destructor.
00041 {
00042 #ifdef CD_TRACE
00043 HxEnvironment::instance()->outputStream()
00044 << "HxImgFtorMpo::~HxImgFtorMpo()" << STD_ENDL;
00045 #endif
00046 }
|
|
||||||||||||||||||||||||||||||||
|
Calls HxFuncMultiPixOp to do the actual work.
Reimplemented from HxImgFtorIMCast.
00053 {
00054 HxAddTag(tags, "sourceCnt", srcPtrs.size());
00055 MpoT mpo(tags);
00056
00057 int nPix = dstSize.x() * dstSize.y() * dstSize.z();
00058 HxFuncMultiPixOp(
00059 dstPtr, srcPtrs, nPix, mpo);
00060 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001