Definition at line 328 of file RotorBrowserGUI.h. References AddVisualToBrowser(), Impala::Core::Column::Find(), Impala::Core::VideoSet::SegmentationDocument::GetBookmarked(), Impala::Visualization::RotorBrowser::RotorBrowser::GetBrowseMode(), ILOG_USER, IM_BOOKMARKS, IM_VISRESULTS, mLastVisualKeyframe, mLatestBookmarks, Impala::Visualization::RotorBrowser::RotorBrowser::MODE_CROSSBROWSER, mRotorBrowser, mSegDoc, Impala::Visualization::RotorBrowser::RotorBrowser::Redraw(), Impala::Visualization::ImageSet::Redraw(), Impala::Visualization::ImageSet::RemoveImageById(), Impala::Core::Table::RemoveRow(), SetInitialQueryToVisual(), and Impala::Visualization::RotorBrowser::RotorBrowser::TakeFocus(). 00330 { 00331 // RvB: IM_VISRESULTS does not seem to be used anywhere 00332 if (listenerData == (void*) IM_VISRESULTS && mLastVisualKeyframe >= 0) 00333 { 00334 int browseMode = mRotorBrowser->GetBrowseMode(); 00335 if (browseMode == RotorBrowser::MODE_CROSSBROWSER) 00336 { 00337 ILOG_USER("set shots_initialquery to visual set from bottom " << 00338 "view using keyframe " << mLastVisualKeyframe ); 00339 SetInitialQueryToVisual(); 00340 } 00341 else 00342 { 00343 ILOG_USER("adding results from bottom view to browser using " << 00344 "keyframe " << mLastVisualKeyframe ); 00345 AddVisualToBrowser(); 00346 } 00347 } 00348 00349 // the following code is required only when mLatestBookmarks is used. 00350 if (listenerData == (void*)IM_BOOKMARKS) 00351 { 00352 ILOG_USER( "unbookmark " << imIndex << " from bottom view" ); 00353 int row = Core::Column::Find(mSegDoc->GetBookmarked()->GetColumn1(), 00354 imIndex, 0, 00355 mSegDoc->GetBookmarked()->Size()); 00356 Core::Table::RemoveRow(mSegDoc->GetBookmarked(), row); 00357 mLatestBookmarks->RemoveImageById(imIndex); 00358 mLatestBookmarks->Redraw(); 00359 mRotorBrowser->Redraw(); 00360 } 00361 00362 mRotorBrowser->TakeFocus(); 00363 }
Here is the call graph for this function:
|