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

void Impala::Application::IDash::ScreenDossier::AddShot ( int  shotID  )  [inline, private]

Definition at line 79 of file ScreenDossier.h.

References Impala::Application::IDash::DossierEntry::AddShot(), AddVideo(), Impala::Application::IDash::ScreenBase::Engine(), FindVideo(), Impala::Core::Trec::ThreadSet::GetSegmentation(), ILOG_DEBUG, Impala::Application::IDash::TrecEngine::ThreadSet(), and OglGui::OglWindow::UpdateScene().

Referenced by HandleBookmarkEvent().

00080     {
00081         ILOG_DEBUG("AddShot(" << shotID <<"): ");
00082         
00083         //ask from thread which video belongs to it
00084         int videoID =
00085             Engine()->ThreadSet()->GetSegmentation()->GetVideoId(shotID);
00086         ILOG_DEBUG("video = " << videoID);
00087         std::string name =
00088             Engine()->ThreadSet()->GetSegmentation()->GetName(shotID);
00089         ILOG_DEBUG("Name: " << name);
00090 
00091         //check if we have video
00092         DossierEntry *d = FindVideo(videoID);
00093         //add to video or make new video first
00094         if (!d)
00095             d = AddVideo(videoID);
00096         //add to video:
00097         d->AddShot(shotID);
00098         UpdateScene();
00099     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:15:04 2011 for ImpalaSrc by  doxygen 1.5.1