#include <HxMfNgb.h>
Public Methods | |
HxMfNgb (HxImageData *srcImg, HxString ngbName, HxTagList &tags) | |
Constructor. More... | |
HxMfNgb (HxImageData *srcImg, HxImageData *extraIm, HxString ngbName, HxTagList &tags) | |
Constructor. More... | |
HxMfNgb (HxImageData *srcImg, HxImageData *extraIm, HxImageData *extraIm2, HxString ngbName, HxTagList &tags) | |
Constructor. More... | |
~HxMfNgb () | |
Destructor. More... | |
HxImageData * | source () const |
The argument image of the frame. More... | |
HxImageData * | result () const |
The result image of the frame. More... | |
HxImageData * | extra () const |
The extra image of the frame. More... | |
HxImageData * | extra2 () const |
The second extra image of the frame. More... | |
bool | preOpIsOk () const |
Indicates whether initialization was OK. More... |
A result image will be allocated with the same size as the source image. The type of the result image is obtained from the HxImgFtorRuleBase via
resulttype of ngb<source,ngbName>
The required type for the extra images, if present, are obtained via
extratype of ngb<source,ngbName> and extratype2 of ngb<source,ngbName>
|
Constructor.
00020 : _source(srcImg), _extra(0), _extra2(0), _result(0), _preOpIsOk(true), 00021 _tmpExtra(0), _tmpExtra2(0) 00022 { 00023 init(ngbName, tags); 00024 } |
|
Constructor.
00028 : _source(srcImg), _extra(extraIm), _extra2(0), _result(0), _preOpIsOk(true), 00029 _tmpExtra(0), _tmpExtra2(0) 00030 { 00031 init(ngbName, tags); 00032 } |
|
Constructor.
00036 : _source(srcImg), _extra(extraIm), _extra2(extraIm2), _result(0), 00037 _preOpIsOk(true), _tmpExtra(0), _tmpExtra2(0) 00038 { 00039 init(ngbName, tags); 00040 } |
|
Destructor.
00043 { 00044 if (_tmpExtra) 00045 delete _tmpExtra; 00046 if (_tmpExtra2) 00047 delete _tmpExtra2; 00048 } |
|
The argument image of the frame.
00052 { 00053 return _source; 00054 } |
|
The result image of the frame.
00058 { 00059 return _result; 00060 } |
|
The extra image of the frame.
00064 { 00065 return _extra; 00066 } |
|
The second extra image of the frame.
00070 { 00071 return _extra2; 00072 } |
|
Indicates whether initialization was OK.
00078 { 00079 return _preOpIsOk; 00080 } |