#include <HxImgFtorNgb2d.h>
Inheritance diagram for HxImgFtorNgb2d::
Public Types | |
typedef HxImgFtorNgbKey | KeyType |
The key type of this class. More... | |
Public Methods | |
HxImgFtorNgb2d () | |
Constructor. More... | |
virtual | ~HxImgFtorNgb2d () |
Destructor. More... | |
virtual bool | probeOp (HxTagList &tags) const |
Probe for border size. More... | |
Protected Methods | |
virtual void | doIt (Img1DataPtrType dstPtr, Img2DataPtrType srcPtr, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *description=0) |
Do it. More... |
Template parameters:
|
The key type of this class.
Reimplemented from HxImgFtorI2Cast. |
|
Constructor.
00021 : HxImgFtorI2Cast<DstImgSigT, SrcImgSigT>( 00022 HxImgFtorNgbKey( 00023 HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 00024 HxClassName<NgbT>())) 00025 { 00026 HxImgFtorRuleBase::instance().setResultType( 00027 HxClassName<DstImgSigT>(), "ngb", 00028 HxClassName<SrcImgSigT>(), HxClassName<NgbT>()); 00029 00030 } |
|
Destructor.
00034 { 00035 } |
|
Probe for border size.
Reimplemented from HxImgFunctor.
|
|
Do it.
Reimplemented from HxImgFtorI2Cast.
00055 { 00056 NgbT ngb(tags); 00057 00058 if (description) { 00059 HxString v(typename NgbT::IteratorCategory().toString()); 00060 v += ", "; 00061 v += typename NgbT::PhaseCategory().toString(); 00062 description->setVariation(v); 00063 } 00064 00065 HxFuncNgbOp2dDispatch(dstPtr, srcPtr, dstSize, ngb); 00066 } |