Reimplemented from Impala::Core::Database::DataDocumentListener. Definition at line 574 of file SegmentationDocumentGuiAnno.h. References OglGui::ScrollBar::ChangePos(), Impala::Visualization::AppControlDoc::CheckBinding(), DoAnno(), GoBack(), GoForw(), ILOG_DEBUG, mAnnoHistoryPos, mAnnoHistoryVSB, mRankingMode, mSimTLV, NavigateExtremes(), OnAnnoHistoryVSB(), Impala::Visualization::VideoPlayer::Play(), Impala::Visualization::SimilarityTimeLineVideo::Player(), Impala::Visualization::VideoPlayer::Playing(), OglGui::ValueScrollBar::SBar(), and Impala::Visualization::VideoPlayer::Stop(). 00575 { 00576 ILOG_DEBUG("HandleNewKey: " << c); 00577 if (CheckBinding("annoPositive",c,state)) 00578 DoAnno(1,false); 00579 if (CheckBinding("annoSkip",c,state)) 00580 DoAnno(0.5,false); 00581 if (CheckBinding("annoNegative",c,state)) 00582 DoAnno(0,false); 00583 if (CheckBinding("annoShotPositive",c,state)) 00584 DoAnno(1,true); 00585 if (CheckBinding("annoShotNegative",c,state)) 00586 DoAnno(0,true); 00587 if (CheckBinding("annoBackward",c,state) || (mRankingMode && c==oglLEFT)) 00588 GoBack(); 00589 if (CheckBinding("annoForward",c,state) || (mRankingMode && c==oglRIGHT)) 00590 GoForw(true); 00591 if (c == oglHOME || c == oglEND) 00592 NavigateExtremes(c==oglHOME); 00593 if (CheckBinding("annoTogglePlay",c,state) && mSimTLV) 00594 { 00595 if (mSimTLV->Player()->Playing()) 00596 mSimTLV->Player()->Stop(); 00597 else 00598 mSimTLV->Player()->Play(); 00599 } 00600 if (c == 8 || c == 127) 00601 { 00602 if (mAnnoHistoryVSB) 00603 mAnnoHistoryVSB->SBar()->ChangePos((state&oglControl)?1:-1); 00604 else 00605 OnAnnoHistoryVSB(mAnnoHistoryPos + ((c==8) ? -1 : 1)); 00606 } 00607 }
Here is the call graph for this function:
|