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

int Impala::Core::VideoSet::SegmentationDocument::GetShotMove ( int  oldShot,
int  dir,
int  steps 
) [inline, private]

Definition at line 482 of file SegmentationDocument.h.

References Impala::Core::VideoSet::Segmentation::GetNrShots(), mCurrentShotId, mShots, and SameVideo().

Referenced by GetNextShot(), and GetPrevShot().

00483     {
00484         int newShot = oldShot + dir;
00485         if ((newShot < 0) || (newShot >= mShots->GetNrShots()))
00486             return -1;
00487         if (! SameVideo(mCurrentShotId, newShot))
00488             return -1;
00489         if (--steps <= 0)
00490             return newShot;
00491         return GetShotMove(newShot, dir, steps);
00492     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:31:59 2010 for ImpalaSrc by  doxygen 1.5.1