#include <HxImgFtorUpo.h>
Inheritance diagram for HxImgFtorUpo::
Public Types | |
typedef HxImgFtorUpoKey | KeyType |
The key type of this class. More... | |
Public Methods | |
HxImgFtorUpo () | |
Constructor. More... | |
virtual | ~HxImgFtorUpo () |
Destructor. More... | |
Protected Methods | |
virtual void | doIt (Img1DataPtrType dstPtr, Img2DataPtrType srcPtr, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *description=0) |
Calls HxFuncUpoDispatch to dispatch the actual work. More... |
Template parameters:
|
The key type of this class.
Reimplemented from HxImgFtorI2Cast. |
|
Constructor.
00023 : HxImgFtorI2Cast<DstImgSigT, SrcImgSigT>( 00024 HxImgFtorUpoKey(HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 00025 HxClassName<UpoT>())) 00026 { 00027 #ifdef CD_TRACE 00028 HxEnvironment::instance()->outputStream() 00029 << "HxImgFtorUpo::HxImgFtorUpo()" << STD_ENDL; 00030 #endif 00031 HxImgFtorRuleBase::instance().setResultType( 00032 HxClassName<DstImgSigT>(), "upo", 00033 HxClassName<SrcImgSigT>(), HxClassName<UpoT>()); 00034 } |
|
Destructor.
00038 { 00039 #ifdef CD_TRACE 00040 HxEnvironment::instance()->outputStream() 00041 << "HxImgFtorUpo::~HxImgFtorUpo()" << STD_ENDL; 00042 #endif 00043 } |
|
Calls HxFuncUpoDispatch to dispatch the actual work.
Reimplemented from HxImgFtorI2Cast.
00051 { 00052 UpoT upo(tags); 00053 00054 if (description) { 00055 HxString v(typename UpoT::TransVarianceCategory().toString()); 00056 description->setVariation(v); 00057 } 00058 00059 HxFuncUpoDispatch(dstPtr, srcPtr, dstSize, upo); 00060 } |