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

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

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

01023     {
01024         if (mRankingMode)
01025         {
01026             int sz = mRankedShots.size();
01027             mCurRankShot += mStepSize;
01028             if (mCurRankShot > sz-1)
01029             {
01030                 mCurRankShot = sz ? sz-1 : 0;
01031                 if (!withinVideo && mSegDoc->GotoNextVideo())
01032                     return AllHandleNewCursor(Core::Database::LEVEL_FILE,false);
01033             }
01034             if (mCurRankShot >= 0 && mCurRankShot < sz)
01035             {
01036                 int newShot = mRankedShots[mCurRankShot];
01037                 if (newShot != mSegDoc->CurShot())
01038                 {
01039                     mSegDoc->GotoShot(newShot);
01040                     return AllHandleNewCursor(Core::Database::LEVEL_SHOT, false);
01041                 }
01042             }
01043             CheckSaveMpeg7(false);
01044             return;
01045         }
01046         if (mSegDoc->GotoNextShot(mStepSize))
01047             return AllHandleNewCursor(Core::Database::LEVEL_SHOT, false);
01048         if (withinVideo)
01049             return;
01050         if (mSegDoc->GotoNextVideo())
01051             return AllHandleNewCursor(Core::Database::LEVEL_FILE, false);
01052         CheckSaveMpeg7(false);
01053     }

Here is the call graph for this function:


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