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

int Impala::Visualization::SimilarityTableSetRank::FindImSetId ( Quid  quid  )  [inline, private]

Definition at line 621 of file SimilarityTableSetRank.h.

References Impala::Core::VideoSet::Keyframes::GetFrameId(), Impala::Core::ImageSet::IxsDocument::GetImageSet(), Impala::Core::VideoSet::SegmentationDocument::GetSegmentation(), Impala::Core::VideoSet::Segmentation::GetShotId(), Impala::Core::VideoSet::Keyframes::GetShotRKF(), mIxsDoc, mKeyframes, mSegDoc, Impala::QUID_CLASS_FRAME, Impala::QUID_CLASS_IMAGE, Impala::QUID_CLASS_SHOT, Impala::QUID_ID_MASK, and Impala::QuidClass().

Referenced by HandleUpdate(), ShowFloatWnd(), and ShowImageInfo().

00622     {
00623         if (mSegDoc && QuidClass(quid) == QUID_CLASS_FRAME) // assume it is a keyframe
00624         {
00625             return mKeyframes->GetFrameId(quid);
00626         }
00627         if (mSegDoc && QuidClass(quid) == QUID_CLASS_SHOT)
00628         {
00629             int shotId = mSegDoc->GetSegmentation()->GetShotId(quid);
00630             return mKeyframes->GetShotRKF(shotId);
00631         }
00632         if (mIxsDoc && QuidClass(quid) == QUID_CLASS_IMAGE)
00633         {
00634             Core::ImageSet::ImageSet* imSet = mIxsDoc->GetImageSet();
00635             return (int) (imSet ? (quid & QUID_ID_MASK) : -1);
00636         }
00637 
00638         return -1;
00639     }

Here is the call graph for this function:


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