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

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

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

00922     {
00923         Segmentation* seg       = mSegDoc->GetSegmentation();
00924         int           firstShot = seg->GetFirstShotVideo(mCurFile);
00925 
00926         bool annoMax = mNrAnnoPerVideo >= mMaxAnnoPerVideo ||
00927                        FindAdjacentAnnoShot(UNKNOWN_BIT,firstShot-1,true)==-1;
00928         if (annoMax && mRankingMode && !mNoAutoNextAnno)
00929         {
00930                         mCurFile;
00931                         if (!mSegDoc->GotoNextVideo())
00932                                 return true;
00933                         mCurFile;
00934                         //mCurFile = mSegDoc->CurFileId();
00935             int res = FindNextAnno(UNKNOWN_BIT, true, false);
00936             if (res != -1)
00937                 AllHandleNewCursor(mSegDoc->CursorToFile(res/100000),false);
00938         }
00939         return annoMax;
00940     }

Here is the call graph for this function:


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