Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxUpoColSpace Class Template Reference

Pixel functor for color space conversion. More...

#include <HxUpoColSpace.h>

List of all members.

Public Methods

 HxUpoColSpace (HxTagList &tags)
 Constructor. More...

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


Static Public Methods

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


Detailed Description

template<class DstValT, class SrcValT>
class HxUpoColSpace< DstValT, SrcValT >

Pixel functor for color space conversion.


Constructor & Destructor Documentation

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

Constructor.

00025                         {
00026                             _fromSpace = HxGetTag<HxColorModel>(tags,
00027                                 "fromColorSpace");
00028                             _toSpace = HxGetTag<HxColorModel>(tags,
00029                                 "toColorSpace");
00030                         }


Member Function Documentation

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

Actual operation :.

00034                         { return HxColor(x,_fromSpace).convert(_toSpace).value();}

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

The name : "colorSpace".

00038                         { return HxString("colorSpace"); }


The documentation for this class was generated from the following file:
Generated on Tue Jan 8 13:59:35 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001