#include <HxMfDiy.h>
Public Methods | |
| HxMfDiy (HxImageData *srcImg, HxString diyName, HxSizes resultSize) | |
| Constructor. More... | |
| ~HxMfDiy () | |
| Destructor. More... | |
| HxImageData * | source () const |
| The argument image of the frame. More... | |
| HxImageData * | result () const |
| The result image of the frame. More... | |
A result image will be allocated with the given size. The type of the result image is obtained from the HxImgFtorRuleBase via
resulttype of diy<source,diyName>
|
||||||||||||||||
|
Constructor.
00019 : _source(srcImg), _result(0)
00020 {
00021 HxImageSignature srcSig(_source->signature());
00022
00023 HxImageSignature resultSig
00024 = HxImgFtorRuleBase::instance().getResultType(
00025 srcSig, "diy", srcSig.toString(), diyName);
00026
00027 _result = HxImgDataFactory::instance().makeImage(resultSig, resultSize);
00028 }
|
|
|
Destructor.
00031 {
00032 }
|
|
|
The argument image of the frame.
00036 {
00037 return _source;
00038 }
|
|
|
The result image of the frame.
00042 {
00043 return _result;
00044 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001