#include <HxImgFtorNgb2dExtra.h>
Inheritance diagram for HxImgFtorNgb2dExtra::
Public Types | |
typedef HxImgFtorNgbExtraKey | KeyType |
The key type of this class. More... | |
Public Methods | |
HxImgFtorNgb2dExtra () | |
Constructor. More... | |
virtual | ~HxImgFtorNgb2dExtra () |
Destructor. More... | |
virtual bool | probeOp (HxTagList &tags) const |
Probe for border size. More... | |
Protected Methods | |
virtual void | doIt (Img1DataPtrType dstPtr, Img2DataPtrType srcPtr, Img3DataPtrType extraPtr, HxSizes dstSize, HxSizes srcSize, HxSizes extraSize, HxTagList &tags, HxImgFtorDescription *description=0) |
Do it. More... |
Template parameters:
|
The key type of this class.
Reimplemented from HxImgFtorI3Cast. |
|
Constructor.
00020 : HxImgFtorI3Cast<DstImgSigT, SrcImgSigT, ExtraImgSigT>( 00021 HxImgFtorNgbExtraKey( 00022 HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 00023 HxClassName<ExtraImgSigT>(), HxClassName<NgbT>())) 00024 { 00025 // Using ngb instead of something like ngbExtra... 00026 HxImgFtorRuleBase::instance().setResultType( 00027 HxClassName<DstImgSigT>(), "ngb", 00028 HxClassName<SrcImgSigT>(), HxClassName<NgbT>()); 00029 HxImgFtorRuleBase::instance().setExtraType( 00030 HxClassName<ExtraImgSigT>(), "ngb", 00031 HxClassName<SrcImgSigT>(), HxClassName<NgbT>()); 00032 } |
|
Destructor.
00037 { 00038 } |
|
Probe for border size.
Reimplemented from HxImgFunctor.
|
|
Do it.
Reimplemented from HxImgFtorI3Cast.
00058 { 00059 NgbT ngb(tags); 00060 00061 if (description) { 00062 HxString v(typename NgbT::IteratorCategory().toString()); 00063 v += ", "; 00064 v += typename NgbT::PhaseCategory().toString(); 00065 description->setVariation(v); 00066 } 00067 00068 HxFuncNgbOp2dExtraDispatch(dstPtr, srcPtr, extraPtr, dstSize, ngb); 00069 } |