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

void Impala::Visualization::RotorBrowser::RotorBrowser::UpdateTrails (  )  [inline]

Definition at line 1429 of file RotorBrowser.h.

References Impala::Visualization::ShotTrail::AddBrowserContext(), ClearVisibleTrails(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetName(), mActiveContext, mContexts, mMinimapEnabled, mTrailVisibleQuery, and mTrailVisibleTime.

Referenced by UpdateViewsToContext().

01430     {
01431         if (!mMinimapEnabled)
01432             return;
01433 
01434         // clear current trails:
01435         ClearVisibleTrails();
01436 
01437         String cName = mActiveContext->GetName();
01438         // search through actives:
01439         if (mTrailVisibleQuery && cName == "shots_initialquery")
01440             mTrailVisibleQuery->AddBrowserContext(mActiveContext, 100);
01441 
01442         if (mTrailVisibleTime && cName == "time")
01443             mTrailVisibleTime->AddBrowserContext(mActiveContext, 20, true);
01444 
01445         // search through other contexts:
01446         RotorBrowserContextList::iterator context;
01447         for (context = mContexts.begin(); context != mContexts.end(); context++)
01448         {
01449             if ((*context)->GetName() == "shots_initialquery")
01450             {
01451                 if (mTrailVisibleQuery)
01452                     mTrailVisibleQuery->AddBrowserContext(*context, 100);
01453             }
01454             else if ((*context)->GetName() == "time")
01455             {
01456                 if (mTrailVisibleTime)
01457                     mTrailVisibleTime->AddBrowserContext(*context, 20, true);
01458             }
01459         }
01460     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:54:26 2010 for ImpalaSrc by  doxygen 1.5.1