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

void Impala::Visualization::AllFramesTLineVideo::ConstructPositives (  )  [inline]

Definition at line 434 of file AllFramesTLineVideo.h.

References ClearPositives(), mAnnoPositives, mAnnoTables, mCurFile, Impala::QuidId(), and Impala::QuidObject().

Referenced by HandleNewVideo().

00435     {
00436         ClearPositives();
00437 
00438         int sz = mAnnoTables.size();
00439         for (int a=0; a<sz; a++)
00440         {
00441             AnnotationTable* anno           = mAnnoTables[a];
00442             IntVector*       positiveVector = new IntVector;
00443 
00444             for (int i=0; i<anno->Size(); i++)
00445             {
00446                 Quid    quid    = anno->Get1(i);
00447                 float   qual    = anno->Get2(i);
00448                 int     vidId   = QuidObject(quid);
00449                 int     frameId = QuidId(quid);
00450 
00451                 if (vidId == mCurFile && qual > 0)
00452                     positiveVector->push_back(frameId);
00453             }
00454             mAnnoPositives.push_back(positiveVector);
00455         }
00456     }

Here is the call graph for this function:


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