Definition at line 126 of file SimilarityTimeLineVideo.h. References OglGui::ZoomShiftRuler::Current(), Impala::Visualization::VideoPlayer::DataSrc(), Impala::Core::Stream::RgbDataSrc::FrameWidth(), Impala::Visualization::VideoPlayer::LastFrame(), mExtraTimeLines, mSimTimeLine, mTimeLineRuler, mVideoPlayer, OglGui::ZoomShiftRuler::SetMinMaxDocWidth(), OglGui::ZoomShiftRuler::SetSpan(), and Impala::Visualization::TimeLineViewStrip::ViewStripRgbSrc(). Referenced by ExtraTimeLine(), and HandleNewVideo(). 00127 { 00128 int nFrames = mVideoPlayer->LastFrame(); 00129 int imW = mVideoPlayer->DataSrc()->FrameWidth(); 00130 if (mSimTimeLine->ViewStripRgbSrc()) 00131 imW = mSimTimeLine->ViewStripRgbSrc()->FrameWidth(); 00132 mSimTimeLine->Current(0); 00133 mSimTimeLine->SetSpan(40*nFrames); 00134 mSimTimeLine->SetMinMaxDocWidth(160, nFrames*imW); 00135 00136 mTimeLineRuler->SetSpan(40*nFrames); 00137 for (int t=0; t<mExtraTimeLines.size(); t++) 00138 { 00139 mExtraTimeLines[t]->Current(0); 00140 mExtraTimeLines[t]->SetSpan(40*nFrames); 00141 mExtraTimeLines[t]->SetMinMaxDocWidth(160, nFrames*imW); 00142 } 00143 }
Here is the call graph for this function:
|