Home || Architecture || Video Search || Visual Search || Scripts || Applications || 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 Fri Mar 19 11:53:13 2010 for ImpalaSrc by  doxygen 1.5.1