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

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

Definition at line 119 of file HeightMap.h.

References Impala::Visualization::Plot::Plottable::mMaxY, and Impala::Visualization::Plot::Plottable::mMinY.

00120     {
00121         v -= mMinY;
00122         v /= (mMaxY - mMinY);
00123         double r,g,b;
00124         r = v;
00125         g = 1.-v;
00126         b = -fabs(v - .5)*2.;
00127         glColor3f(r, g, b);
00128     }


Generated on Fri Mar 19 11:52:40 2010 for ImpalaSrc by  doxygen 1.5.1