Definition at line 148 of file TimeLineViewStrip.h. References Impala::Core::Stream::RgbDataSrc::LastFrame(), mRgbDataSrc, OglGui::ZoomShiftRuler::mSpan, OglGui::ZoomShiftRuler::Pixel2Unit(), and OglGui::OglWindow::W(). Referenced by Impala::Visualization::SimilarityTimeLine::DisplayFunc(), Impala::Visualization::SegmentationDocumentGuiAnno::DisplaySegShots(), Impala::Visualization::SegmentationDocumentGuiAnno::DisplayShotRelevances(), Impala::Visualization::SegmentationDocumentGuiAnno::DisplayThreshShots(), and InitDisplayFunc(). 00149 { 00150 int endFrame = Pixel2Unit(W()) / 40 + 1; 00151 int lastSpanFrame = mSpan/40; 00152 int lastFrame = mRgbDataSrc ? mRgbDataSrc->LastFrame() : lastSpanFrame; 00153 if (endFrame > lastFrame) 00154 endFrame = lastFrame; 00155 if (endFrame > lastSpanFrame) 00156 endFrame = lastSpanFrame; 00157 return endFrame; 00158 }
Here is the call graph for this function:
|