Reimplemented from Impala::Visualization::DataDocumentGui< DataDocT >. Definition at line 509 of file SegmentationDocumentGuiAnno.h. References AdjustAnnoBoundary(), BUT_BACK, BUT_FORW, BUT_LEFT_SHOT, BUT_NAV_BEGIN, BUT_NAV_END, BUT_NAV_MODE, BUT_NEGATIVE, BUT_POSITIVE, BUT_RANK_ALL, BUT_RANK_NOT_ANN, BUT_RIGHT_SHOT, BUT_SAVE, BUT_SHOT_NEG, BUT_SHOT_POS, BUT_SKIP, BUT_SYNC, CheckSaveMpeg7(), ConstructShotRanking(), DoAnno(), GoBack(), GoForw(), GoToCurrentRank(), mRankingMode, mSimTLV, NavigateExtremes(), SetRankingMode(), Synchronize(), Impala::Visualization::SimilarityTimeLineVideo::TimeLine(), ToggleNavigationMode(), VIEWSTRIP_MAX, VIEWSTRIP_MIN, VIEWSTRIP_PRE, and Impala::Visualization::TimeLineViewStrip::ViewStripZoomToShowViews(). 00510 { 00511 DataDocumentGui<SegmentationDocument>::ButtonSelectionEvent(src, vData); 00512 int lData = (int)((long long) vData); 00513 switch (lData) 00514 { 00515 case BUT_POSITIVE: 00516 DoAnno(1,false); 00517 break; 00518 case BUT_SKIP: 00519 DoAnno(0.5,false); 00520 break; 00521 case BUT_NEGATIVE: 00522 DoAnno(0,false); 00523 break; 00524 case BUT_SHOT_POS: 00525 DoAnno(1,true); 00526 break; 00527 case BUT_SHOT_NEG: 00528 DoAnno(0,true); 00529 break; 00530 case BUT_NAV_MODE: 00531 ToggleNavigationMode(); 00532 break; 00533 case BUT_NAV_BEGIN: 00534 case BUT_NAV_END: 00535 NavigateExtremes(lData==BUT_NAV_BEGIN); 00536 break; 00537 case BUT_BACK: 00538 GoBack(); 00539 break; 00540 case BUT_FORW: 00541 GoForw(true); 00542 break; 00543 case BUT_SAVE: 00544 CheckSaveMpeg7(false); 00545 break; 00546 case BUT_SYNC: 00547 Synchronize(); 00548 break; 00549 case BUT_LEFT_SHOT: 00550 case BUT_RIGHT_SHOT: 00551 AdjustAnnoBoundary(lData); 00552 break; 00553 case VIEWSTRIP_PRE: 00554 case VIEWSTRIP_MIN: 00555 case VIEWSTRIP_MAX: 00556 mSimTLV->TimeLine()->ViewStripZoomToShowViews(lData-VIEWSTRIP_PRE); 00557 break; 00558 case BUT_RANK_ALL: 00559 case BUT_RANK_NOT_ANN: 00560 ConstructShotRanking(lData==BUT_RANK_NOT_ANN); 00561 SetRankingMode(true); 00562 if (mRankingMode) 00563 GoToCurrentRank(); 00564 break; 00565 /* 00566 case 1234: 00567 HandlePUNS(); 00568 break; 00569 */ 00570 } // end switch 00571 00572 }
Here is the call graph for this function:
|