Definition at line 725 of file SegmentationDocumentGuiAnno.h. References DrawFramesLine(), FindSegFrameShot(), Impala::Visualization::TimeLineViewStrip::FirstVisibleFrame(), Impala::Core::VideoSet::Segmentation::GetEnd(), Impala::Core::VideoSet::Segmentation::GetFirstShotVideo(), Impala::Core::VideoSet::Segmentation::GetNrShotsVideo(), Impala::Core::VideoSet::SegmentationDocument::GetSegmentation(), Impala::Core::VideoSet::Segmentation::GetStart(), Impala::Visualization::TimeLineViewStrip::LastVisibleFrame(), mCurFile, and mSegDoc. Referenced by WindowDisplayEvent(). 00726 { 00727 Segmentation* seg = mSegDoc->GetSegmentation(); 00728 if (!seg || !sTL) 00729 return; 00730 00731 int fVisFr = sTL->FirstVisibleFrame(); 00732 int lVisFr = sTL->LastVisibleFrame(); 00733 int firstShot = seg->GetFirstShotVideo(mCurFile); 00734 int lastShot = firstShot+seg->GetNrShotsVideo(mCurFile); 00735 int fVisShot = FindSegFrameShot(fVisFr); 00736 int lVisShot = FindSegFrameShot(lVisFr); 00737 00738 for (int i = fVisShot; i<lVisShot+1 && i<lastShot; i++) 00739 { 00740 int fFrame = seg->GetStart(i); 00741 int lFrame = seg->GetEnd(i); 00742 DrawFramesLine(sTL,fFrame,lFrame,2,y,y,(i%2) ? col1 : col2); 00743 } 00744 }
Here is the call graph for this function:
|