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

Public Types | |
| typedef HxImgFtorMNpoKey | KeyType |
| The key type of this class. More... | |
Public Methods | |
| HxImgFtorMNpo () | |
| Constructor. More... | |
| virtual bool | probeOp (HxTagList &tags) const |
| Probe Operation. More... | |
| virtual | ~HxImgFtorMNpo () |
| Destructor. More... | |
Protected Methods | |
| virtual void | doIt (DstDataPtrArray &dstPtrs, SrcDataPtrArray &srcPtrs, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *description=0) |
| Calls HxFuncMNpoDispatch to do the actual work. More... | |
Template parameters:
|
|||||
|
The key type of this class.
Reimplemented from HxImgFtorIMNCast. |
|
|||||||||
|
Constructor.
00021 : HxImgFtorIMNCast<DstImgsSigT, SrcImgsSigT>( 00022 HxImgFtorMNpoKey(HxClassName<DstImgsSigT>(), HxClassName<SrcImgsSigT>(), 00023 HxClassName<MNpoT>())) 00024 { 00025 #ifdef CD_TRACE 00026 HxEnvironment::instance()->outputStream() 00027 << "HxImgFtorMNpo::HxImgFtorMNpo()" << STD_ENDL; 00028 #endif 00029 HxImgFtorRuleBase::instance().setResultType( 00030 HxClassName<DstImgsSigT>(), "mnpo", 00031 HxClassName<SrcImgsSigT>(), HxClassName<MNpoT>()); 00032 } |
|
|||||||||
|
Destructor.
00036 {
00037 #ifdef CD_TRACE
00038 HxEnvironment::instance()->outputStream()
00039 << "HxImgFtorMNpo::~HxImgFtorMNpo()" << STD_ENDL;
00040 #endif
00041 }
|
|
||||||||||
|
Probe Operation.
Reimplemented from HxImgFunctor.
00046 {
00047 MNpoT mpo(tags);
00048
00049 return HxGetTag(tags, "preOpIsOk", true);
00050 }
|
|
||||||||||||||||||||||||||||||||
|
Calls HxFuncMNpoDispatch to do the actual work.
Reimplemented from HxImgFtorIMNCast.
00058 {
00059 HxAddTag(tags, "sourceCnt", srcPtrs.size());
00060 MNpoT mpo(tags);
00061
00062 if (description) {
00063 HxString v(typename MNpoT::TransVarianceCategory().toString());
00064 description->setVariation(v);
00065 }
00066
00067 HxFuncMNpoDispatch(dstPtrs, srcPtrs, dstSize, mpo);
00068 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001