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

String Impala::Core::IDash::VideoSetWrapper::GetAsRankingItem ( Quid  quid,
Real64  sim,
CString  conceptName 
) [inline, private]

Definition at line 275 of file VideoSetWrapper.h.

References Impala::Core::VideoSet::Segmentation::GetFirstShotVideo(), Impala::Core::VideoSet::Segmentation::GetShotId(), Impala::Core::IDash::VideoTable::GetUrl(), Impala::MakeString(), mSegm, mVidTable, and Impala::QuidObject().

Referenced by GetAsRankingList().

00276     {
00277         int vidId = QuidObject(quid);
00278         int shotIdx = mSegm->GetShotId(quid) - mSegm->GetFirstShotVideo(vidId);
00279 
00280         String url = mVidTable->GetUrl(vidId) + "/shots/" + MakeString(shotIdx);
00281         String s = "    <rankingItem>";
00282         s += "    <entity xlink:href=\"" + url
00283             + "\" xlink:type=\"simple\" entityType=\"Moment\" />";
00284         s += "    <probability>" + MakeString(sim) + "</probability>";
00285         s += "    <tag>" + conceptName + "</tag>";
00286         s += "    </rankingItem>";
00287         return s;
00288     }

Here is the call graph for this function:


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