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

virtual void Impala::Visualization::SimilarityTableSetRank::HandleNewKey ( int  c,
int  state 
) [inline, virtual]

Reimplemented from Impala::Core::Database::DataDocumentListener.

Definition at line 557 of file SimilarityTableSetRank.h.

References Impala::Core::VideoSet::SegmentationDocument::CurShot(), DELETE_CORR, Impala::Core::VideoSet::SegmentationDocument::GetSegmentation(), HandleCorrection(), Impala::Core::VideoSet::SegmentationDocument::HasCurShot(), ILOG_DEBUG, mSegDoc, Impala::Core::VideoSet::PlayShot(), SAVE_CORR, SET_NEGATIVE, SET_POSITIVE, and SET_SKIP.

00558     {
00559         ILOG_DEBUG("HandleNewKey: " << c);
00560         if (c == 'P' && mSegDoc)
00561         {
00562             if (mSegDoc->HasCurShot())
00563                 Core::VideoSet::PlayShot(mSegDoc->GetSegmentation(),
00564                                          mSegDoc->CurShot());
00565         }
00566         if (c == '1')
00567             HandleCorrection(SET_POSITIVE);
00568         if (c == '2')
00569             HandleCorrection(SET_NEGATIVE);
00570         if (c == '3')
00571             HandleCorrection(SET_SKIP);
00572         if (c == '4')
00573             HandleCorrection(DELETE_CORR);
00574         if (c == '5')
00575             HandleCorrection(SAVE_CORR);
00576     }

Here is the call graph for this function:


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