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

virtual void Impala::Visualization::SegmentationDocumentGuiAnno::WindowDisplayEvent ( OglGui::Window src,
void *  userData 
) [inline, virtual]

Reimplemented from OglGui::WindowListener.

Definition at line 818 of file SegmentationDocumentGuiAnno.h.

References DisplaySegShots(), DisplayThreshShots(), DrawFramesLine(), DrawShotRelevance(), Impala::Core::VideoSet::Mpeg7Doc::FindShot(), OglGui::ZoomShiftRuler::GetAxisY(), Impala::Core::VideoSet::Keyframes::GetFrameNr(), mCurKey, mCurMpeg7, mCurShotFrames, mKeyframes, mShowSegShots, mShowThreshShots, and ShotControlFeedback().

00819     {
00820         SimilarityTimeLine* sTL = (SimilarityTimeLine*) src;
00821         int y                   = sTL->GetAxisY();
00822         int kFrame              = mKeyframes->GetFrameNr(mCurKey);
00823         int fFrame              = -1;
00824         int lFrame              = -1;
00825 
00826         // Draw line between shot boundaries
00827         if (!mCurShotFrames.empty())
00828         {
00829             fFrame = mCurShotFrames[0];
00830             lFrame = mCurShotFrames[mCurShotFrames.size()-1];
00831             DrawFramesLine(sTL, fFrame, lFrame, 2, y-18, y-18, 0xffffff00);
00832         }
00833 
00834         ShotControlFeedback(fFrame,lFrame,kFrame);
00835         if (mShowThreshShots)
00836             DisplayThreshShots(sTL, y-24,0xff808000, 0xffb0b000);
00837         if (mShowSegShots)
00838             DisplaySegShots(sTL,y-27,0xffb0b0ff,0xff8080ff);
00839         if (mCurMpeg7)
00840         {
00841                int idx = mCurMpeg7->FindShot(kFrame);
00842                DrawShotRelevance(sTL, idx, kFrame, y-20);
00843         }
00844     }

Here is the call graph for this function:


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