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

HxImgFtorMpo Class Template Reference

Instantiation of generic algorithm for multi pixel operations on images. More...

#include <HxImgFtorMpo.h>

Inheritance diagram for HxImgFtorMpo::

HxImgFtorIMCast HxImgFtorIM HxImgFunctor List of all members.

Public Types

typedef HxImgFtorMpoKey KeyType
 The key type of this class. More...


Public Methods

 HxImgFtorMpo ()
 Constructor. More...

virtual ~HxImgFtorMpo ()
 Destructor. More...


Protected Methods

virtual void doIt (DstDataPtrType dstPtr, SrcDataPtrArray &srcPtrs, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *description=0)
 Calls HxFuncMpoDispatch to do the actual work. More...


Detailed Description

template<class DstImgSigT, class SrcImgsSigT, class MpoT>
class HxImgFtorMpo< DstImgSigT, SrcImgsSigT, MpoT >

Instantiation of generic algorithm for multi pixel operations on images.

Template parameters:


Member Typedef Documentation

template<class DstImgSigT, class SrcImgsSigT, class MpoT>
typedef HxImgFtorMpoKey HxImgFtorMpo::KeyType
 

The key type of this class.

Reimplemented from HxImgFtorIMCast.


Constructor & Destructor Documentation

template<class DstImgSigT, class SrcImgsSigT, class MpoT>
HxImgFtorMpo< DstImgSigT, SrcImgsSigT, MpoT >::HxImgFtorMpo   [inline]
 

Constructor.

00022     : HxImgFtorIMCast<DstImgSigT, SrcImgsSigT>(
00023         HxImgFtorMpoKey(HxClassName<DstImgSigT>(), HxClassName<SrcImgsSigT>(),
00024             HxClassName<MpoT>()))
00025 {
00026 #ifdef CD_TRACE
00027     HxEnvironment::instance()->outputStream()
00028         << "HxImgFtorMpo::HxImgFtorMpo()" << STD_ENDL;
00029 #endif
00030     HxImgFtorRuleBase::instance().setResultType(
00031         HxClassName<DstImgSigT>(), "mpo",
00032         HxClassName<SrcImgsSigT>(), HxClassName<MpoT>());
00033 }

template<class DstImgSigT, class SrcImgsSigT, class MpoT>
HxImgFtorMpo< DstImgSigT, SrcImgsSigT, MpoT >::~HxImgFtorMpo   [virtual]
 

Destructor.

00037 {
00038 #ifdef CD_TRACE
00039     HxEnvironment::instance()->outputStream()
00040         << "HxImgFtorMpo::~HxImgFtorMpo()" << STD_ENDL;
00041 #endif
00042 }


Member Function Documentation

template<class DstImgSigT, class SrcImgsSigT, class MpoT>
void HxImgFtorMpo< DstImgSigT, SrcImgsSigT, MpoT >::doIt DstDataPtrType    dstPtr,
SrcDataPtrArray   srcPtrs,
HxSizes    dstSize,
HxSizes    srcSize,
HxTagList   tags,
HxImgFtorDescription   description = 0
[protected, virtual]
 

Calls HxFuncMpoDispatch to do the actual work.

Reimplemented from HxImgFtorIMCast.

00050 {
00051     HxAddTag(tags, "sourceCnt", srcPtrs.size());
00052     MpoT mpo(tags);
00053 
00054     if (description) {
00055         HxString v(typename MpoT::TransVarianceCategory().toString());
00056         description->setVariation(v);
00057     }
00058 
00059     HxFuncMpoDispatch(dstPtr, srcPtrs, dstSize, mpo);
00060 }


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