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

void Impala::Visualization::SegmentationDocumentGuiAnno::GoForw ( bool  withinVideo  )  [inline, private]

Definition at line 997 of file SegmentationDocumentGuiAnno.h.

References Impala::Visualization::AppControlDoc::AllHandleNewCursor(), CheckSaveMpeg7(), Impala::Core::VideoSet::SegmentationDocument::CurShot(), Impala::Core::VideoSet::SegmentationDocument::GotoNextShot(), Impala::Core::VideoSet::SegmentationDocument::GotoNextVideo(), Impala::Core::VideoSet::SegmentationDocument::GotoShot(), Impala::Core::Database::LEVEL_FILE, Impala::Core::Database::LEVEL_SHOT, mCurRankShot, mRankedShots, mRankingMode, mSegDoc, and mStepSize.

Referenced by ButtonSelectionEvent(), DoAnno(), HandleNewKey(), and OnAnnoHistoryVSB().

00998     {
00999         if (mRankingMode)
01000         {
01001             int sz = mRankedShots.size();
01002             mCurRankShot += mStepSize;
01003             if (mCurRankShot > sz-1)
01004             {
01005                 mCurRankShot = sz ? sz-1 : 0;
01006                 if (!withinVideo && mSegDoc->GotoNextVideo())
01007                     return AllHandleNewCursor(Core::Database::LEVEL_FILE,false);
01008             }
01009             if (mCurRankShot >= 0 && mCurRankShot < sz)
01010             {
01011                 int newShot = mRankedShots[mCurRankShot];
01012                 if (newShot != mSegDoc->CurShot())
01013                 {
01014                     mSegDoc->GotoShot(newShot);
01015                     return AllHandleNewCursor(Core::Database::LEVEL_SHOT, false);
01016                 }
01017             }
01018             CheckSaveMpeg7(false);
01019             return;
01020         }
01021         if (mSegDoc->GotoNextShot(mStepSize))
01022             return AllHandleNewCursor(Core::Database::LEVEL_SHOT, false);
01023         if (withinVideo)
01024             return;
01025         if (mSegDoc->GotoNextVideo())
01026             return AllHandleNewCursor(Core::Database::LEVEL_FILE, false);
01027         CheckSaveMpeg7(false);
01028     }

Here is the call graph for this function:


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