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

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

Definition at line 804 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().

00805     {
00806         if (idx == -1 || !mCurMpeg7)
00807             return;
00808         float relevance = mCurMpeg7->Relevance(idx);
00809         ULONG col = RelevanceColor(relevance);
00810         int fFrame = mCurMpeg7->StartFrame(idx);
00811         int lFrame = mCurMpeg7->EndFrame(idx);
00812         DrawFramesLine(sTL, fFrame, lFrame, 2, y, y, col);
00813         if (kFrame != -1)
00814             DrawFramesLine(sTL, kFrame, kFrame, 1, y, y-6, col);
00815     }

Here is the call graph for this function:


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