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

void Impala::Application::WindowTrecResult::SetActiveShot ( int  idx  )  [inline]

Definition at line 49 of file mainTrecResult.cpp.

References Impala::Visualization::ImagesWindow::AddImage(), Impala::Core::VideoSet::Keyframes::GetFirstKeyframeShot(), Impala::Core::ImageSet::ImageSet::GetImage(), Impala::Core::VideoSet::Keyframes::GetName(), Impala::Core::VideoSet::Keyframes::GetNrKeyframesShot(), Impala::Core::Trec::SearchResult::GetShot(), Impala::Core::VideoSet::Segmentation::GetShotId(), Impala::Core::VideoSet::Segmentation::GetVideoId(), mCurShotId, mCurVidId, mImageStrip, mImSetThumb, mKeyframes, mResultWnd, mSearchResult, mShots, Impala::Visualization::ImagesWindow::RemoveImages(), and OglGui::StringSelector::SetCurrentString().

Referenced by StringSelectionEvent(), and WindowTrecResult().

00050     {
00051         mResultWnd->SetCurrentString(idx);
00052         std::string shotName = mSearchResult.GetShot(idx);
00053         mCurShotId = mShots->GetShotId(shotName);
00054         mCurVidId = mShots->GetVideoId(mCurShotId);
00055         mImageStrip->RemoveImages();
00056         int nrKey = mKeyframes->GetNrKeyframesShot(mCurShotId);
00057         int firstKey = mKeyframes->GetFirstKeyframeShot(mCurShotId);
00058         for (int i=0 ; i<nrKey ; i++)
00059         {
00060             std::string imName = mKeyframes->GetName(firstKey + i);
00061             Core::Array::Array2dVec3UInt8* im = mImSetThumb->GetImage(firstKey + i);
00062             mImageStrip->AddImage(im, std::string("Direct"), imName, false);
00063         }
00064     }

Here is the call graph for this function:


Generated on Fri Mar 19 10:38:06 2010 for ImpalaSrc by  doxygen 1.5.1