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

void Impala::Visualization::SegmentationDocumentGuiAnno::DrawShotRelevance ( SimilarityTimeLine sTL,
int  idx,
int  kFrame,
int  y 
) [inline]

Definition at line 829 of file SegmentationDocumentGuiAnno.h.

References DrawFramesLine(), Impala::Core::VideoSet::Mpeg7Doc::EndFrame(), mCurMpeg7, Impala::Core::VideoSet::Mpeg7Doc::Relevance(), RelevanceColor(), and Impala::Core::VideoSet::Mpeg7Doc::StartFrame().

Referenced by DisplayShotRelevances(), and WindowDisplayEvent().

00830     {
00831         if (idx == -1 || !mCurMpeg7)
00832             return;
00833         float relevance = mCurMpeg7->Relevance(idx);
00834         ULONG col = RelevanceColor(relevance);
00835         int fFrame = mCurMpeg7->StartFrame(idx);
00836         int lFrame = mCurMpeg7->EndFrame(idx);
00837         DrawFramesLine(sTL, fFrame, lFrame, 2, y, y, col);
00838         if (kFrame != -1)
00839             DrawFramesLine(sTL, kFrame, kFrame, 1, y, y-6, col);
00840     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:46:41 2010 for ImpalaSrc by  doxygen 1.5.1