Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

void Impala::Visualization::Plot::Similarity::Val2Color ( double  v  )  [inline]

Definition at line 69 of file Similarity.h.

00070     {
00071         double r,g,b;
00072         r = (v+1.)/2.;
00073         g = (v-1.)/-2.;
00074         b = (1.-fabs(v))/2.;
00075         glColor3f(r, g, b);
00076     }


Generated on Thu Jan 13 09:25:45 2011 for ImpalaSrc by  doxygen 1.5.1