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

HxBpoBind2Val Class Template Reference

Pixel functor for binding of second value of a binary pixel operation. More...

#include <HxBpoBind2Val.h>

List of all members.

Public Types

typedef HxTagTransInVar TransVarianceCategory
 Functor is translation invariant. More...


Public Methods

 HxBpoBind2Val (HxTagList &tags)
 Constructor : obtain value from taglist. More...

DstValT doIt (const SrcValT &x)
 Actual operation : bpoOp (x, value). More...


Static Public Methods

HxString className ()
 The name is that of BpoOpT. More...


Detailed Description

template<class DstValT, class SrcValT, class BpoOpT>
class HxBpoBind2Val< DstValT, SrcValT, BpoOpT >

Pixel functor for binding of second value of a binary pixel operation.

In other words, this class turns the binary operation BpoOpT into a unary operation by using a constant value obtained from the taglist.


Member Typedef Documentation

template<class DstValT, class SrcValT, class BpoOpT>
typedef HxTagTransInVar HxBpoBind2Val::TransVarianceCategory
 

Functor is translation invariant.


Constructor & Destructor Documentation

template<class DstValT, class SrcValT, class BpoOpT>
HxBpoBind2Val< DstValT, SrcValT, BpoOpT >::HxBpoBind2Val HxTagList   tags [inline]
 

Constructor : obtain value from taglist.

00029                                                    : _bpoOp(tags)
00030                         { _value = HxGetTag<HxValue>(tags, "value"); }


Member Function Documentation

template<class DstValT, class SrcValT, class BpoOpT>
DstValT HxBpoBind2Val< DstValT, SrcValT, BpoOpT >::doIt const SrcValT &    x [inline]
 

Actual operation : bpoOp (x, value).

00034                         { return _bpoOp.doIt(x, _value); }

template<class DstValT, class SrcValT, class BpoOpT>
HxString HxBpoBind2Val< DstValT, SrcValT, BpoOpT >::className   [inline, static]
 

The name is that of BpoOpT.

00038                         { return BpoOpT::className(); }


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