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

HxImgFtorDiy Class Template Reference

Instantiation of generic algorithm for do it yourself operations on images. More...

#include <HxImgFtorDiy.h>

Inheritance diagram for HxImgFtorDiy::

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

Public Types

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


Public Methods

 HxImgFtorDiy ()
 Constructor. More...

virtual ~HxImgFtorDiy ()
 Destructor. More...


Protected Methods

virtual void doIt (Img1DataPtrType dstPtr, Img2DataPtrType srcPtr, HxSizes dstSize, HxSizes srcSize, HxTagList &tags, HxImgFtorDescription *description=0)
 Do it. More...


Detailed Description

template<class DstImgSigT, class SrcImgSigT, class DiyT>
class HxImgFtorDiy< DstImgSigT, SrcImgSigT, DiyT >

Instantiation of generic algorithm for do it yourself operations on images.

Template parameters:


Member Typedef Documentation

template<class DstImgSigT, class SrcImgSigT, class DiyT>
typedef HxImgFtorDiyKey HxImgFtorDiy::KeyType
 

The key type of this class.

Reimplemented from HxImgFtorI2Cast.


Constructor & Destructor Documentation

template<class DstImgSigT, class SrcImgSigT, class DiyT>
HxImgFtorDiy< DstImgSigT, SrcImgSigT, DiyT >::HxImgFtorDiy   [inline]
 

Constructor.

template<class DstImgSigT, class SrcImgSigT, class DiyT>
HxImgFtorDiy< DstImgSigT, SrcImgSigT, DiyT >::~HxImgFtorDiy   [virtual]
 

Destructor.

00031 {
00032 }


Member Function Documentation

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

Do it.

Parameters:
dstPtr  Output image: IS = dstSize, IBS = 0
srcPtr  Input image: IS = srcSize, IBS = 0
Calls the user defined functor to do the actual work.

Reimplemented from HxImgFtorI2Cast.

00041 {
00042     DiyT diy(tags);
00043 
00044     diy.doIt(dstPtr, srcPtr, dstSize, srcSize);
00045 }


The documentation for this class was generated from the following files:
Generated on Mon Jan 27 15:49:01 2003 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001