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

bool Impala::Visualization::SegmentationDocumentGuiAnno::CheckAnnoMax (  )  [inline, private]

Definition at line 946 of file SegmentationDocumentGuiAnno.h.

References Impala::Visualization::AppControlDoc::AllHandleNewCursor(), Impala::Core::VideoSet::SegmentationDocument::CursorToFile(), FindAdjacentAnnoShot(), FindNextAnno(), Impala::Core::VideoSet::Segmentation::GetFirstShotVideo(), Impala::Core::VideoSet::SegmentationDocument::GetSegmentation(), Impala::Core::VideoSet::SegmentationDocument::GotoNextVideo(), mCurFile, mMaxAnnoPerVideo, mNoAutoNextAnno, mNrAnnoPerVideo, mRankingMode, mSegDoc, and UNKNOWN_BIT.

Referenced by DoAnno(), and HandleNewFile().

00947     {
00948         Segmentation* seg       = mSegDoc->GetSegmentation();
00949         int           firstShot = seg->GetFirstShotVideo(mCurFile);
00950 
00951         bool annoMax = mNrAnnoPerVideo >= mMaxAnnoPerVideo ||
00952                        FindAdjacentAnnoShot(UNKNOWN_BIT,firstShot-1,true)==-1;
00953         if (annoMax && mRankingMode && !mNoAutoNextAnno)
00954         {
00955                         mCurFile;
00956                         if (!mSegDoc->GotoNextVideo())
00957                                 return true;
00958                         mCurFile;
00959                         //mCurFile = mSegDoc->CurFileId();
00960             int res = FindNextAnno(UNKNOWN_BIT, true, false);
00961             if (res != -1)
00962                 AllHandleNewCursor(mSegDoc->CursorToFile(res/100000),false);
00963         }
00964         return annoMax;
00965     }

Here is the call graph for this function:


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