Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxMfDiy Class Reference

Class definition of method frame for do it yourself operations. More...

#include <HxMfDiy.h>

List of all members.

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...


Detailed Description

Class definition of method frame for do it yourself operations.

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 & Destructor Documentation

HxMfDiy::HxMfDiy (  HxImageData *    srcImg,
HxString    diyName,
HxSizes    resultSize
) 
 

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 }

HxMfDiy::~HxMfDiy (    ) 
 

Destructor.

00031 {
00032 }


Member Function Documentation

HxImageData * HxMfDiy::source (    )  const
 

The argument image of the frame.

00036 { 
00037     return _source; 
00038 }

HxImageData * HxMfDiy::result (    )  const
 

The result image of the frame.

00042 { 
00043     return _result; 
00044 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 3 14:19:05 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001