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

void Impala::Visualization::SegmentationDocumentGuiAnno::DisplayThreshShots ( SimilarityTimeLine sTL,
int  y,
ULONG  col1,
ULONG  col2 
) [inline]

Definition at line 683 of file SegmentationDocumentGuiAnno.h.

References DrawFramesLine(), FindFrameShot(), Impala::Visualization::TimeLineViewStrip::FirstVisibleFrame(), Impala::Visualization::TimeLineViewStrip::LastVisibleFrame(), and mShots.

Referenced by WindowDisplayEvent().

00684     {
00685         if (!sTL)
00686             return;
00687         int fVisFr   = sTL->FirstVisibleFrame();
00688         int lVisFr   = sTL->LastVisibleFrame();
00689         int fVisShot = FindFrameShot(fVisFr);
00690         int lVisShot = FindFrameShot(lVisFr);
00691         for (int i = fVisShot; i<lVisShot+1 && i<mShots.size()-1; i++)
00692         {
00693             int fFrame = mShots[i]+1;
00694             int lFrame = mShots[i+1];
00695             DrawFramesLine(sTL,fFrame,lFrame,2,y,y,(i%2) ? col1 : col2);
00696         }
00697     }

Here is the call graph for this function:


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