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

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

Definition at line 1484 of file RotorBrowser.h.

References Impala::Core::VideoSet::SegmentationDocument::AddCursorToBookmarked(), Impala::Visualization::RotorBrowser::RotorBrowserListener::BookmarkEvent(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetCenter(), Impala::Visualization::RotorBrowser::RotorBrowserContext::GetName(), Impala::Visualization::RotorBrowser::RotorViewCache::GetViewFor(), ILOG_DEBUG, ILOG_WARN, mActiveContext, mCache, mDocument, Impala::Visualization::RotorBrowser::RotorView::MoveTo(), mRotorBrowserListener, mTrailBookmarks, Impala::Visualization::ShotTrail::Push(), RemoveSpecificNegative(), Impala::Visualization::RotorBrowser::RotorView::Rename(), ShotHasBeenDumpedByTrecvidAtTheLastMinute(), and Impala::Visualization::RotorBrowser::RotorView::UpdateBookmarkState().

Referenced by BookmarkActiveCenterEx(), KbBookmarkActiveCenter(), and RotorBrowserNavigateKey().

01485     {
01486         if (ShotHasBeenDumpedByTrecvidAtTheLastMinute(mActiveContext->GetCenter()))
01487         {
01488             ILOG_WARN("Shot " << mActiveContext->GetCenter() << " has been dumped by trecvid, not bookmarked.");
01489             return;
01490         }
01491         if (mDocument->AddCursorToBookmarked())
01492         {
01493             int shot = mActiveContext->GetCenter();
01494             if (mRotorBrowserListener)
01495                 mRotorBrowserListener->BookmarkEvent(this,shot,true);
01496             RemoveSpecificNegative(shot);
01497             ILOG_DEBUG( "Bookmarked active center " << shot << " POSITIVE." );
01498             RotorView* bookmarked =
01499                 mCache->GetViewFor(mActiveContext->GetName(),shot);
01500             bookmarked->Rename("bookmarked");
01501             bookmarked->MoveTo(1.0f, -1.0f, -2.0f, 1.0f, 1.0f);
01502             bookmarked->UpdateBookmarkState();
01503 
01504             if (mTrailBookmarks)
01505                 mTrailBookmarks->Push(shot);
01506         }
01507     }

Here is the call graph for this function:


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