Implements Impala::Core::Database::DataDocumentListener. Definition at line 88 of file SegmentationDocumentGuiStills.h. References Impala::Core::Database::DataDocument::GetRect(), OglGui::CheckBox::GetSelected(), Impala::Core::VideoSet::SegmentationDocument::HasCurShot(), mCheckBox, mForceUpdate, mImagesSet, mImageStills, mSegDoc, Impala::Visualization::ImagesWindow::RemoveImages(), UpdateFromJpg(), UpdateFromMpg(), and OglGui::OglWindow::UpdateScene(). Referenced by ButtonSelectionEvent(), Impala::Application::WindowTrecSearch::ContextMoveEvent(), and HandleNewKey(). 00089 { 00090 // ILOG_DEBUG("HandleNewFile()"); 00091 // RvB: Experimental only remove images when UpdateGui checkB or forced 00092 if ((mCheckBox->GetSelected() || mForceUpdate)) 00093 mImagesSet->RemoveImages(); 00094 if (mSegDoc->HasCurShot() && (mCheckBox->GetSelected() || mForceUpdate)) 00095 { 00096 bool done = false; 00097 if (mImageStills) 00098 done = UpdateFromJpg(); 00099 if (!done) 00100 UpdateFromMpg(); 00101 Core::Geometry::Rectangle r = mSegDoc->GetRect(); 00102 for (int i=0 ; i<mImagesSet->NrViewers() ; i++) 00103 mImagesSet->GetViewWithRect(i)->SetRect(r); 00104 } 00105 mForceUpdate = false; 00106 UpdateScene(); 00107 }
Here is the call graph for this function:
|