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

void Impala::Visualization::VideoMinimap::SetPoint ( int  shot,
Vec3Int32  color 
) [inline]

Definition at line 264 of file VideoMinimap.h.

References GetPoint(), mCoordMap, Impala::Visualization::MapCoordPos::x, and Impala::Visualization::MapCoordPos::y.

Referenced by DrawTrail().

00265     {
00266         MapCoordPos p = mCoordMap[shot];
00267         Vec3Int32 ccolor = GetPoint(shot);
00268         // incorrect, but doable for now:
00269         //int c = p.count;
00270         SetPoint(p.x, p.y, color);
00271         //if (c == 1)
00272         //else
00273         //{
00274         //    SetPoint(p.x, p.y, Vec3Int32(
00275         //        (ccolor.X() * (c-1) + color.X()) / 256,
00276         //        (ccolor.Y() * (c-1) + color.Y()) / 256,
00277         //        (ccolor.Z() * (c-1) + color.Z()) / 256));
00278         //}
00279     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:49:53 2010 for ImpalaSrc by  doxygen 1.5.1