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

void Impala::Visualization::ShotTrail::AddBrowserContext ( RotorBrowser::RotorBrowserContext c,
int  length,
bool  bidirectional = false 
) [inline]

Definition at line 110 of file VideoMinimap.h.

References Impala::Visualization::RotorBrowser::RotorBrowserContext::GetRelative(), and Push().

Referenced by Impala::Visualization::RotorBrowser::RotorBrowser::UpdateTrails().

00111     {
00112         if (bidirectional)
00113             length = length / 2;
00114 
00115         for (int i=length-1; i>=0; i--)
00116         {
00117             int shot = c->GetRelative(i);
00118             if (shot == -1)
00119                 continue;
00120             Push(shot);
00121             if (bidirectional)
00122             {
00123                 shot = c->GetRelative(-i);
00124                 if (shot == -1)
00125                     continue;
00126                 Push(shot);
00127             }
00128         }
00129     }

Here is the call graph for this function:


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