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

HxImgFtorUpo Class Template Reference

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

#include <HxImgFtorUpo.h>

Inheritance diagram for HxImgFtorUpo::

HxImgFtorI2Cast< DstImgSigT, SrcImgSigT > HxImgFtorI2 HxImgFunctor List of all members.

Public Types

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


Public Methods

 HxImgFtorUpo ()
 Constructor. More...

virtual ~HxImgFtorUpo ()
 Destructor. More...


Protected Methods

virtual void doIt (Img1DataPtrType dstPtr, Img2DataPtrType srcPtr, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *description=0)
 Calls HxFuncUpoDispatch to dispatch the actual work. More...


Detailed Description

template<class DstImgSigT, class SrcImgSigT, class UpoT>
class HxImgFtorUpo< DstImgSigT, SrcImgSigT, UpoT >

Instantiation of generic algorithm for unary pixel operations on images.

Template parameters:


Member Typedef Documentation

template<class DstImgSigT, class SrcImgSigT, class UpoT>
typedef HxImgFtorUpoKey HxImgFtorUpo::KeyType
 

The key type of this class.

Reimplemented from HxImgFtorI2Cast.


Constructor & Destructor Documentation

template<class DstImgSigT, class SrcImgSigT, class UpoT>
HxImgFtorUpo< DstImgSigT, SrcImgSigT, UpoT >::HxImgFtorUpo   [inline]
 

Constructor.

00023     : HxImgFtorI2Cast<DstImgSigT, SrcImgSigT>(
00024         HxImgFtorUpoKey(HxClassName<DstImgSigT>(), HxClassName<SrcImgSigT>(), 
00025             HxClassName<UpoT>()))
00026 {
00027 #ifdef CD_TRACE
00028     HxEnvironment::instance()->outputStream()
00029         << "HxImgFtorUpo::HxImgFtorUpo()" << STD_ENDL;
00030 #endif
00031     HxImgFtorRuleBase::instance().setResultType(
00032         HxClassName<DstImgSigT>(), "upo",
00033         HxClassName<SrcImgSigT>(), HxClassName<UpoT>());
00034 }

template<class DstImgSigT, class SrcImgSigT, class UpoT>
HxImgFtorUpo< DstImgSigT, SrcImgSigT, UpoT >::~HxImgFtorUpo   [virtual]
 

Destructor.

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


Member Function Documentation

template<class DstImgSigT, class SrcImgSigT, class UpoT>
void HxImgFtorUpo< DstImgSigT, SrcImgSigT, UpoT >::doIt Img1DataPtrType    dstPtr,
Img2DataPtrType    srcPtr,
HxSizes    dstSize,
HxSizes    srcSize,
HxTagList   tags,
HxImgFtorDescription   description = 0
[protected, virtual]
 

Calls HxFuncUpoDispatch to dispatch the actual work.

Reimplemented from HxImgFtorI2Cast.

00051 {
00052     UpoT upo(tags);
00053 
00054     if (description) {
00055         HxString v(typename UpoT::TransVarianceCategory().toString());
00056         description->setVariation(v);
00057     }
00058 
00059     HxFuncUpoDispatch(dstPtr, srcPtr, dstSize, upo);
00060 }


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