Definition at line 700 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(). 00701 { 00702 Segmentation* seg = mSegDoc->GetSegmentation(); 00703 if (!seg || !sTL) 00704 return; 00705 00706 int fVisFr = sTL->FirstVisibleFrame(); 00707 int lVisFr = sTL->LastVisibleFrame(); 00708 int firstShot = seg->GetFirstShotVideo(mCurFile); 00709 int lastShot = firstShot+seg->GetNrShotsVideo(mCurFile); 00710 int fVisShot = FindSegFrameShot(fVisFr); 00711 int lVisShot = FindSegFrameShot(lVisFr); 00712 00713 for (int i = fVisShot; i<lVisShot+1 && i<lastShot; i++) 00714 { 00715 int fFrame = seg->GetStart(i); 00716 int lFrame = seg->GetEnd(i); 00717 DrawFramesLine(sTL,fFrame,lFrame,2,y,y,(i%2) ? col1 : col2); 00718 } 00719 }
Here is the call graph for this function: ![]()
|