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

void Impala::Visualization::SearchJudgeGui::SetJudgeShot ( int  listId,
int  idx 
) [inline]

Definition at line 124 of file SearchJudgeGui.h.

References Impala::Visualization::ImagesWindow::AddImage(), Impala::Core::VideoSet::Keyframes::GetFirstKeyframeShot(), Impala::Core::VideoSet::Keyframes::GetNrKeyframesShot(), Impala::Core::Trec::SearchResult::GetShot(), Impala::Core::VideoSet::Segmentation::GetShotId(), Impala::Core::VideoSet::Segmentation::GetVideoId(), mCurrentShot, mImageSet, mImagesStrip, mKeyframes, mSearchResult1, mSearchResult2, mShots, mStringSelector1, mStringSelector2, Impala::Visualization::ImagesWindow::RemoveImages(), and OglGui::StringSelector::SetCurrentString().

Referenced by DoJudgement(), and StringSelectionEvent().

00125     {
00126         mImagesStrip->RemoveImages();
00127         mCurrentShot = -1;
00128         if (idx < 0)
00129             return;
00130         std::string shotName;
00131         if (listId == 1)
00132         {
00133             mStringSelector1->SetCurrentString(idx);
00134             shotName = mSearchResult1.GetShot(idx);
00135         }
00136         else
00137         {
00138             mStringSelector2->SetCurrentString(idx);
00139             shotName = mSearchResult2.GetShot(idx);
00140         }
00141         mCurrentShot = mShots->GetShotId(shotName);
00142         int vidId = mShots->GetVideoId(mCurrentShot);
00143         int nrKey = mKeyframes->GetNrKeyframesShot(mCurrentShot);
00144         int firstKey = mKeyframes->GetFirstKeyframeShot(mCurrentShot);
00145         for (int i=0 ; i<nrKey ; i++)
00146             mImagesStrip->AddImage(firstKey + i, mImageSet);
00147     }

Here is the call graph for this function:


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