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

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

Reimplemented from OglGui::WindowListener.

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

00844     {
00845         SimilarityTimeLine* sTL = (SimilarityTimeLine*) src;
00846         int y                   = sTL->GetAxisY();
00847         int kFrame              = mKeyframes->GetFrameNr(mCurKey);
00848         int fFrame              = -1;
00849         int lFrame              = -1;
00850 
00851         // Draw line between shot boundaries
00852         if (!mCurShotFrames.empty())
00853         {
00854             fFrame = mCurShotFrames[0];
00855             lFrame = mCurShotFrames[mCurShotFrames.size()-1];
00856             DrawFramesLine(sTL, fFrame, lFrame, 2, y-18, y-18, 0xffffff00);
00857         }
00858 
00859         ShotControlFeedback(fFrame,lFrame,kFrame);
00860         if (mShowThreshShots)
00861             DisplayThreshShots(sTL, y-24,0xff808000, 0xffb0b000);
00862         if (mShowSegShots)
00863             DisplaySegShots(sTL,y-27,0xffb0b0ff,0xff8080ff);
00864         if (mCurMpeg7)
00865         {
00866                int idx = mCurMpeg7->FindShot(kFrame);
00867                DrawShotRelevance(sTL, idx, kFrame, y-20);
00868         }
00869     }

Here is the call graph for this function:


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