Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxRgbOOO.h

00001 /*
00002  *  Copyright (c) 2001, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *  Jan-Mark Geusebroek (mark@wins.uva.nl)
00007  *  Dennis Koelma (koelma@wins.uva.nl)
00008  *
00009  */
00010 
00011 #ifndef HxRgbOOO_h
00012 #define HxRgbOOO_h
00013 
00014 #include "HxTagList.h"
00015 #include "HxClassName.h"
00016 #include "HxColConvert.h"
00017 
00018 
00022 template<class ValT, class ValDoubleT>
00023 class HxRgbOOO
00024 {
00025 public:
00026                         HxRgbOOO(HxTagList&)
00027                             {}
00028 
00029     int                 doIt(const ValT& pixV)
00030                             {
00031                                 return HxColRGB2int(
00032                                             HxColOOO2RGB((HxVec3Double) pixV));
00033                             }
00034 
00035     int                 doItDouble(const ValDoubleT& pixV)
00036                             {
00037                                 return HxColRGB2int(
00038                                             HxColOOO2RGB((HxVec3Double) pixV));
00039                             }
00040 
00041     static HxString     className()
00042                             { return HxString("OOO"); }
00043 };
00044 
00045 
00046 #endif

Generated on Tue Jan 8 13:59:16 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001