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

virtual int Impala::Visualization::GUI::KeyframeResultBar::GetImageKeyframeID ( int  rank  )  [inline, protected, virtual]

Definition at line 167 of file KeyframeResultBar.h.

References mKeyResults.

Referenced by ImageSelectionEvent().

00168     {
00169         int foundrank = 0;
00170         KeyframeResultList::iterator shot;
00171         for (shot = mKeyResults.begin(); shot != mKeyResults.end(); shot++)
00172         {
00173             int frameID = shot->keyframeid;
00174             if (frameID >= 0)
00175             {
00176                 if (rank == foundrank)
00177                     return frameID;
00178                 foundrank ++;
00179             }
00180         }
00181         return -1;
00182     }


Generated on Thu Jan 13 09:25:37 2011 for ImpalaSrc by  doxygen 1.5.1