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

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

Definition at line 584 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().

00585     {
00586         int sz = mAnnoHistory.size();
00587         if (value < 0 || value > sz || sz==0)
00588             return;
00589         bool goForward = (value == sz);
00590         mAnnoHistoryPos = value -= goForward ? 1 : 0;
00591         mDataDoc->CursorToFile(mAnnoHistory[value].fileIdx);
00592         AllHandleNewCursor(Core::Database::LEVEL_FILE, false);
00593         if (mSimTLV)
00594             mSimTLV->Player()->GotoFrame(mAnnoHistory[value].frameIdx);
00595         mCurRankShot = mAnnoHistory[value].rankIdx;
00596         Synchronize(mAnnoHistory[value].frameIdx);
00597         if (goForward)
00598             GoForw(false);
00599     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:24:58 2011 for ImpalaSrc by  doxygen 1.5.1