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

void Impala::Visualization::ThreadSetGui::ThreadStep ( int  position  )  [inline]

Definition at line 126 of file ThreadSetGui.h.

References Impala::Visualization::ImagesWindow::AddImage(), Impala::Core::VideoSet::SegmentationDocument::CurShot(), Impala::Core::Trec::Thread::GetFirstShot(), Impala::Core::Trec::ThreadSet::GetImageByShotID(), Impala::Core::Trec::Thread::GetShotAt(), Impala::Core::Trec::ThreadSet::GetShotName(), Impala::Core::VideoSet::SegmentationDocument::GotoShot(), Impala::Core::VideoSet::SegmentationDocument::HasCurShot(), mCurShotWnd, mCurThread, mSegDoc, mThreadSet, and Impala::Visualization::ImagesWindow::RemoveImages().

Referenced by ButtonSelectionEvent(), and ImageSelectionEvent().

00127     {
00128         if (!mCurThread || (!mSegDoc->HasCurShot()))
00129             return;
00130         int firstShot = mCurThread->GetFirstShot();
00131         int newShot = mCurThread->GetShotAt(firstShot, position);
00132         if (newShot == -1)
00133             return;
00134         mCurShotWnd->RemoveImages();
00135         mSegDoc->GotoShot(newShot);
00136         int curShot = mSegDoc->CurShot();
00137         mCurShotWnd->AddImage(mThreadSet->GetImageByShotID(curShot), "Direct",
00138                               mThreadSet->GetShotName(curShot), true);
00139     }

Here is the call graph for this function:


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