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

HxImgFtorBpo Class Template Reference

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

#include <HxImgFtorBpo.h>

Inheritance diagram for HxImgFtorBpo::

HxImgFtorI3Cast< DstImgSigT, Src1ImgSigT, Src2ImgSigT > HxImgFtorI3 HxImgFunctor List of all members.

Public Types

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

enum  RuleType { Src1IsKey, ArgsAreKey }
 The type of the rule to insert in the rule base. More...


Public Methods

 HxImgFtorBpo (RuleType ruleType=Src1IsKey)
 Constructor. More...

virtual ~HxImgFtorBpo ()
 Destructor. More...


Protected Methods

virtual void doIt (Img1DataPtrType dstPtr, Img2DataPtrType src1Ptr, Img3DataPtrType src2Ptr, HxSizes dstSize, HxSizes src1Size, HxSizes src2Size, HxTagList &tags, HxImgFtorDescription *description=0)
 Calls HxFuncBpoDispatch to do the actual work. More...


Detailed Description

template<class DstImgSigT, class Src1ImgSigT, class Src2ImgSigT, class BpoT>
class HxImgFtorBpo< DstImgSigT, Src1ImgSigT, Src2ImgSigT, BpoT >

Instantiation of generic algorithm for binary pixel operations on images.

Template parameters:


Member Typedef Documentation

template<class DstImgSigT, class Src1ImgSigT, class Src2ImgSigT, class BpoT>
typedef HxImgFtorBpoKey HxImgFtorBpo::KeyType
 

The key type of this class.

Reimplemented from HxImgFtorI3Cast.


Member Enumeration Documentation

template<class DstImgSigT, class Src1ImgSigT, class Src2ImgSigT, class BpoT>
enum HxImgFtorBpo::RuleType
 

The type of the rule to insert in the rule base.

  • Src1IsKey implies that bpo<Src1ImgSigT,BpoT> is used as key and that the argumenttype and resulttype are inserted in the rule base
  • ArgsAreKey implies that bpo<Src1ImgSigT,Src2ImgSigT,BpoT> is used as key and that the resulttype is inserted in the rule base

00060 { Src1IsKey, ArgsAreKey };


Constructor & Destructor Documentation

template<class DstImgSigT, class Src1ImgSigT, class Src2ImgSigT, class BpoT>
HxImgFtorBpo< DstImgSigT, Src1ImgSigT, Src2ImgSigT, BpoT >::HxImgFtorBpo RuleType    ruleType = Src1IsKey [inline]
 

Constructor.

template<class DstImgSigT, class Src1ImgSigT, class Src2ImgSigT, class BpoT>
HxImgFtorBpo< DstImgSigT, Src1ImgSigT, Src2ImgSigT, BpoT >::~HxImgFtorBpo   [virtual]
 

Destructor.

00050 {
00051 }


Member Function Documentation

template<class DstImgSigT, class Src1ImgSigT, class Src2ImgSigT, class BpoT>
void HxImgFtorBpo< DstImgSigT, Src1ImgSigT, Src2ImgSigT, BpoT >::doIt Img1DataPtrType    dstPtr,
Img2DataPtrType    src1Ptr,
Img3DataPtrType    src2Ptr,
HxSizes    dstSize,
HxSizes    src1Size,
HxSizes    src2Size,
HxTagList   tags,
HxImgFtorDescription   description = 0
[protected, virtual]
 

Calls HxFuncBpoDispatch to do the actual work.

Reimplemented from HxImgFtorI3Cast.

00059 {
00060     BpoT bpo(tags);
00061 
00062     if (description) {
00063         HxString v(typename BpoT::TransVarianceCategory().toString());
00064         description->setVariation(v);
00065     }
00066 
00067     HxFuncBpoDispatch(dstPtr, src1Ptr, src2Ptr, dstSize, bpo);
00068 }


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