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

void Impala::Core::VideoSet::SegmentationDocument::GotoKeyfr ( int  keyfrId  )  [inline]

Definition at line 231 of file SegmentationDocument.h.

References Impala::Core::VideoSet::Keyframes::GetFirstKeyframeShot(), Impala::Core::VideoSet::Keyframes::GetNrKeyframesShot(), Impala::Core::VideoSet::Keyframes::GetShotId(), Impala::Core::VideoSet::Segmentation::GetVideoId(), Impala::Core::Database::DataDocument::GotoFile(), ILOG_DEBUG, mCurrentKeyframes, mCurrentKeyfrId, mCurrentShotId, mKeyframes, and mShots.

Referenced by Impala::Visualization::RotorBrowser::RotorBrowser::BookmarkSpecific(), Clear(), CursorToCurBookmark(), GotoShot(), Impala::Visualization::SimilarityTableSetRank::HandleImageSelection(), Impala::Visualization::AnnotationTableGui::HandleImageSelectionEvent(), Impala::Visualization::SegmentationDocumentGuiKeyframes::ImageSelectionEvent(), Impala::Visualization::AnnoPUNS::ImageSelectionEvent(), Impala::Visualization::SegmentationDocumentGuiAnno::Synchronize(), TryShotMove(), TryVideoMove(), and Impala::Visualization::RotorBrowser::RotorBrowser::UpdateViewsToContext().

00232     {
00233         mCurrentKeyfrId = keyfrId;
00234         ILOG_DEBUG("mCurrentKeyfrId = " << mCurrentKeyfrId);
00235         mCurrentShotId = -1;
00236         mCurrentKeyframes->SetEmpty();
00237         if (mCurrentKeyfrId != -1)
00238         {
00239             mCurrentShotId = mKeyframes->GetShotId(mCurrentKeyfrId);
00240             int nrKey = mKeyframes->GetNrKeyframesShot(mCurrentShotId);
00241             int firstKey = mKeyframes->GetFirstKeyframeShot(mCurrentShotId);
00242             for (int i=0 ; i<nrKey ; i++)
00243                 mCurrentKeyframes->Add(firstKey + i);
00244         }
00245         ILOG_DEBUG("mCurrentShotId = " << mCurrentShotId);
00246         // inform base class
00247         if (mCurrentShotId == -1)
00248             GotoFile(-1);
00249         else
00250             GotoFile(mShots->GetVideoId(mCurrentShotId));
00251     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:31:44 2010 for ImpalaSrc by  doxygen 1.5.1