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

HxMfUpo Class Reference

Class definition of method frame for unary pixel operations. More...

#include <HxMfUpo.h>

List of all members.

Public Methods

 HxMfUpo (HxImageData *src, HxString upoName)
 Constructor. More...

 ~HxMfUpo ()
 Destructor. More...

HxImageDatasource () const
 The source image of the frame. More...

HxImageDataresult () const
 The result image of the frame. More...


Detailed Description

Class definition of method frame for unary pixel operations.

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 upo<src,upoName>


Constructor & Destructor Documentation

HxMfUpo::HxMfUpo HxImageData   src,
HxString    upoName
 

Constructor.

00018     : _source(src)
00019 {
00020     if (!_source)
00021         return;
00022 
00023     HxImageSignature srcSig(_source->signature());
00024 
00025     HxImgFtorRuleBase::QueryResultType resultSig
00026         = HxImgFtorRuleBase::instance().getResultType(
00027             srcSig, "upo", srcSig.toString(), upoName);
00028 
00029     if (int(resultSig)) {
00030         HxSizes sizes = _source->sizes();
00031 
00032         _result = HxImgDataFactory::instance().makeImage(
00033             HxImageSignature(resultSig), sizes);
00034     }
00035     else
00036         _result = 0;
00037 }

HxMfUpo::~HxMfUpo  
 

Destructor.

00040 {
00041 }


Member Function Documentation

HxImageData * HxMfUpo::source   const
 

The source image of the frame.

00045 { 
00046     return _source; 
00047 }

HxImageData * HxMfUpo::result   const
 

The result image of the frame.

00051 { 
00052     return _result; 
00053 }


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