00001 /* 00002 Data types, function prototypes, etc. exported by liveViz. 00003 This layer does image assembly, and is the most commonly-used 00004 interface to liveViz. 00005 */ 00006 #ifndef __UIUC_CHARM_COLORSCALE_H 00007 #define __UIUC_CHARM_COLORSCALE_H 00008 00009 /* 00010 A helper routine, call it with the value you have, 00011 a minimum, a maximum, and 3 unsigned bytes to stuff the RGB result 00012 in, and it'll compute the color for you. 00013 */ 00014 void colorScale(double val, 00015 double min, 00016 double max, 00017 unsigned char intensity[3]); 00018 00019 #endif /* def(thisHeader) */