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

void Impala::Visualization::SegmentationDocumentGuiAnno::OnAnnoHistoryVSB ( int  value  )  [inline]

Definition at line 609 of file SegmentationDocumentGuiAnno.h.

References Impala::Visualization::AppControlDoc::AllHandleNewCursor(), GoForw(), Impala::Visualization::VideoPlayer::GotoFrame(), Impala::Core::Database::LEVEL_FILE, mAnnoHistory, mAnnoHistoryPos, mCurRankShot, Impala::Visualization::DataDocumentGui< DataDocT >::mDataDoc, mSimTLV, Impala::Visualization::SimilarityTimeLineVideo::Player(), and Synchronize().

Referenced by HandleNewKey(), and OnValueChanged().

00610     {
00611         int sz = mAnnoHistory.size();
00612         if (value < 0 || value > sz || sz==0)
00613             return;
00614         bool goForward = (value == sz);
00615         mAnnoHistoryPos = value -= goForward ? 1 : 0;
00616         mDataDoc->CursorToFile(mAnnoHistory[value].fileIdx);
00617         AllHandleNewCursor(Core::Database::LEVEL_FILE, false);
00618         if (mSimTLV)
00619             mSimTLV->Player()->GotoFrame(mAnnoHistory[value].frameIdx);
00620         mCurRankShot = mAnnoHistory[value].rankIdx;
00621         Synchronize(mAnnoHistory[value].frameIdx);
00622         if (goForward)
00623             GoForw(false);
00624     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:46:33 2010 for ImpalaSrc by  doxygen 1.5.1