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

HxRgbBinary Class Template Reference

Binary display. More...

#include <HxRgbBinary.h>

List of all members.

Public Types

typedef ValDoubleT ArithTypeDouble
 The "double" arithtype. More...


Public Methods

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

int doIt (const ValT &pixV)
 Actual operation for the "standard" arithtype. More...

int doItDouble (const ValDoubleT &pixV)
 Actual operation for the "double" arithtype. More...


Static Public Methods

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


Detailed Description

template<class ValT, class ValDoubleT>
class HxRgbBinary< ValT, ValDoubleT >

Binary display.

pixV is 0 or 1.


Member Typedef Documentation

template<class ValT, class ValDoubleT>
typedef ValDoubleT HxRgbBinary::ArithTypeDouble
 

The "double" arithtype.


Constructor & Destructor Documentation

template<class ValT, class ValDoubleT>
HxRgbBinary< ValT, ValDoubleT >::HxRgbBinary HxTagList   [inline]
 

Constructor : empty.

00032                             {}


Member Function Documentation

template<class ValT, class ValDoubleT>
int HxRgbBinary< ValT, ValDoubleT >::doIt const ValT &    pixV [inline]
 

Actual operation for the "standard" arithtype.

00036                             {
00037                                 ValT v = HxScalarInt(0);
00038                                 return (pixV == v) ? 0xFF000000 /*black*/
00039                                                    : 0xFFFF0000 /*red*/;
00040                             }

template<class ValT, class ValDoubleT>
int HxRgbBinary< ValT, ValDoubleT >::doItDouble const ValDoubleT &    pixV [inline]
 

Actual operation for the "double" arithtype.

00044                             {
00045                                 ValDoubleT v = HxScalarInt(0);
00046                                 return (pixV == v) ? 0xFF000000 /*black*/
00047                                                    : 0xFFFF0000 /*red*/;
00048                             }

template<class ValT, class ValDoubleT>
HxString HxRgbBinary< ValT, ValDoubleT >::className   [inline, static]
 

The name : "Binary".

00052                             { return HxString("Binary"); }


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