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

bool Impala::Core::VideoSet::SegmentationDocument::TryShotMove ( int  newShot,
bool  withinVideo 
) [inline, private]

Definition at line 469 of file SegmentationDocument.h.

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

Referenced by GotoNextShot(), and GotoPrevShot().

00470     {
00471         if ((newShot < 0) || (newShot >= mShots->GetNrShots()))
00472             return false;
00473         if (!HasCurShot())
00474             return false;
00475         if (withinVideo && (! SameVideo(mCurrentShotId, newShot)))
00476             return false;
00477         GotoKeyfr(GetShotRepresentative(newShot));
00478         return true;
00479     }

Here is the call graph for this function:


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