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

Public Types | |
| typedef HxImgFtorBpoKey | KeyType |
| The key type of this class. More... | |
| enum | RuleType { Src1IsKey, ArgsAreKey } |
| The type of the rule to insert in the rule base. More... | |
Public Methods | |
| HxImgFtorBpo (RuleType ruleType=Src1IsKey) | |
| Constructor. More... | |
| virtual | ~HxImgFtorBpo () |
| Destructor. More... | |
Protected Methods | |
| virtual void | doIt (Img1DataPtrType dstPtr, Img2DataPtrType src1Ptr, Img3DataPtrType src2Ptr, HxSizes dstSize, HxSizes src1Size, HxSizes src2Size, HxTagList &tags, HxImgFtorDescription *description=0) |
| Calls HxFuncBpoDispatch to do the actual work. More... | |
Template parameters:
|
|||||
|
The key type of this class.
Reimplemented from HxImgFtorI3Cast. |
|
|||||
|
The type of the rule to insert in the rule base.
00060 { Src1IsKey, ArgsAreKey };
|
|
||||||||||
|
Constructor.
00025 : HxImgFtorI3Cast<DstImgSigT, Src1ImgSigT, Src2ImgSigT>( 00026 HxImgFtorBpoKey(HxClassName<DstImgSigT>(), HxClassName<Src1ImgSigT>(), 00027 HxClassName<Src2ImgSigT>(), HxClassName<BpoT>())) 00028 { 00029 switch (ruleType) 00030 { 00031 case Src1IsKey : 00032 HxImgFtorRuleBase::instance().setResultType( 00033 HxClassName<DstImgSigT>(), "bpo", 00034 HxClassName<Src1ImgSigT>(), HxClassName<BpoT>()); 00035 HxImgFtorRuleBase::instance().setArgumentType( 00036 HxClassName<Src2ImgSigT>(), "bpo", 00037 HxClassName<Src1ImgSigT>(), HxClassName<BpoT>()); 00038 break; 00039 case ArgsAreKey : 00040 HxImgFtorRuleBase::instance().setResultType( 00041 HxClassName<DstImgSigT>(), "bpo", 00042 HxClassName<Src1ImgSigT>(), HxClassName<Src2ImgSigT>(), 00043 HxClassName<BpoT>()); 00044 break; 00045 } 00046 } |
|
|||||||||
|
Destructor.
00050 {
00051 }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Calls HxFuncBpoDispatch to do the actual work.
Reimplemented from HxImgFtorI3Cast.
00059 {
00060 BpoT bpo(tags);
00061
00062 if (description) {
00063 HxString v(typename BpoT::TransVarianceCategory().toString());
00064 description->setVariation(v);
00065 }
00066
00067 HxFuncBpoDispatch(dstPtr, src1Ptr, src2Ptr, dstSize, bpo);
00068 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001