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

HxBpoSqrDst Class Template Reference

Pixel functor for computation of squared distance. More...

List of all members.

Public Types

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


Public Methods

 HxBpoSqrDst (HxTagList &)
 Constructor : empty. More...

DstValT doIt (const Src1ValT &arg1, const Src2ValT &arg2)
 Actual operation : # return (x - y)^2 #. More...


Static Public Methods

HxString className ()
 The name : "sqrDst". More...


Detailed Description

template<class DstValT, class Src1ValT, class Src2ValT>
class HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >

Pixel functor for computation of squared distance.


Member Typedef Documentation

template<class DstValT, class Src1ValT, class Src2ValT>
typedef HxTagTransInVar HxBpoSqrDst::TransVarianceCategory
 

Functor is translation invariant.


Constructor & Destructor Documentation

template<class DstValT, class Src1ValT, class Src2ValT>
HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >::HxBpoSqrDst HxTagList   [inline]
 

Constructor : empty.

00029                         { }


Member Function Documentation

template<class DstValT, class Src1ValT, class Src2ValT>
DstValT HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >::doIt const Src1ValT &    arg1,
const Src2ValT &    arg2
[inline]
 

Actual operation : # return (x - y)^2 #.

00033                         { return (arg1 - arg2) * (arg1 - arg2); }

template<class DstValT, class Src1ValT, class Src2ValT>
HxString HxBpoSqrDst< DstValT, Src1ValT, Src2ValT >::className   [inline, static]
 

The name : "sqrDst".

00037                         { return HxString("sqrDst"); }


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