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

HxRgbDirectNC Class Template Reference

Direct display mapping pixV is RGB value in the range 0-255. More...

#include <HxRgbDirect.h>

List of all members.

Public Types

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


Public Methods

 HxRgbDirectNC (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 : "DirectNC". More...


Detailed Description

template<class ValT, class ValDoubleT>
class HxRgbDirectNC< ValT, ValDoubleT >

Direct display mapping pixV is RGB value in the range 0-255.

No clipping if pixV is out of range.


Member Typedef Documentation

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

The "double" arithtype.


Constructor & Destructor Documentation

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

Constructor : empty.

00058                             {}


Member Function Documentation

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

Actual operation for the "standard" arithtype.

00062                             {
00063                                 HxVec3Int v = (HxVec3Int) pixV;
00064                                 return (255 << 24) | (v.x() << 16) | (v.y() << 8) | v.z();
00065                             }

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

Actual operation for the "double" arithtype.

00069                             {
00070                                 HxVec3Int v = (HxVec3Int) pixV;
00071                                 return (255 << 24) | (v.x() << 16) | (v.y() << 8) | v.z();
00072                             }

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

The name : "DirectNC".

00076                             { return HxString("DirectNC"); }


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