#include <HxImgFtorNgb2dExtra2.h>
Inheritance diagram for HxImgFtorNgb2dExtra2::
Public Types | |
typedef HxImgFtorNgbExtra2Key | KeyType |
The key type of this class. More... | |
Public Methods | |
HxImgFtorNgb2dExtra2 () | |
Constructor. More... | |
virtual | ~HxImgFtorNgb2dExtra2 () |
Destructor. More... | |
virtual bool | probeOp (HxTagList &tags) const |
Probe for border size. More... | |
Protected Methods | |
virtual void | doIt (Img1DataPtrType dstPtr, Img2DataPtrType srcPtr, Img3DataPtrType extraPtr, Img4DataPtrType extra2Ptr, HxSizes dstSize, HxSizes srcSize, HxSizes extraSize, HxSizes extra2Size, HxTagList &tags, HxImgFtorDescription *description=0) |
Do it. More... |
Template parameters:
|
The key type of this class.
Reimplemented from HxImgFtorI4Cast. |
|
Constructor.
00021 : HxImgFtorI4Cast<DstImgSigT, SrcImgSigT, ExtraImgSigT, ExtraImg2SigT>( 00022 HxImgFtorNgbExtra2Key( 00023 HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 00024 HxClassName<ExtraImgSigT>(), HxClassName<ExtraImg2SigT>(), 00025 HxClassName<NgbT>())) 00026 { 00027 // Using ngb instead of something like ngbExtra2... 00028 HxImgFtorRuleBase::instance().setResultType( 00029 HxClassName<DstImgSigT>(), "ngb", 00030 HxClassName<SrcImgSigT>(), HxClassName<NgbT>()); 00031 HxImgFtorRuleBase::instance().setExtraType( 00032 HxClassName<ExtraImgSigT>(), "ngb", 00033 HxClassName<SrcImgSigT>(), HxClassName<NgbT>()); 00034 HxImgFtorRuleBase::instance().setExtra2Type( 00035 HxClassName<ExtraImg2SigT>(), "ngb", 00036 HxClassName<SrcImgSigT>(), HxClassName<NgbT>()); 00037 } |
|
Destructor.
00043 { 00044 } |
|
Probe for border size.
Reimplemented from HxImgFunctor.
|
|
Do it.
Reimplemented from HxImgFtorI4Cast.
00067 { 00068 NgbT ngb(tags); 00069 00070 if (description) { 00071 HxString v(typename NgbT::IteratorCategory().toString()); 00072 v += ", "; 00073 v += typename NgbT::PhaseCategory().toString(); 00074 description->setVariation(v); 00075 } 00076 00077 HxFuncNgbOp2dExtra2Dispatch(dstPtr, srcPtr, extraPtr, extra2Ptr, dstSize, ngb); 00078 } |