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

virtual int Impala::Core::Trec::ThreadVisualSimilarity::GetShotAt ( int  shot,
int  offset 
) [inline, virtual]

Implements Impala::Core::Trec::Thread.

Definition at line 251 of file ThreadVisualSimilarity.h.

References Impala::Core::Column::Find(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn1(), mShotsCache, and Impala::Core::Table::Table::Size().

00252     {
00253         int r = Column::Find(mShotsCache->GetColumn1(), shot, 0, mShotsCache->Size());
00254         int dst = r + offset;
00255         if ((dst < 0) || (dst >= mShotsCache->Size())) {
00256             return -1;
00257         }
00258         return mShotsCache->Get1(dst);
00259     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:34 2011 for ImpalaSrc by  doxygen 1.5.1