Definition at line 91 of file TimeLineViewStrip.h.
References Impala::Core::Stream::RgbDataSrc::FrameHeight(), Impala::Core::Stream::RgbDataSrc::FrameWidth(), Impala::Core::Stream::RgbDataSrc::LastFrame(), mImH, mImW, mRgbDataSrc, OglGui::ZoomShiftRuler::SetMinMaxDocWidth(), OglGui::ZoomShiftRuler::SetSpan(), and ViewStripClearViews().
Referenced by Impala::Visualization::SegmentationDocumentGuiAnno::CheckNewVideo(), Impala::Visualization::AllFramesTLineVideo::HandleNewVideo(), Impala::Visualization::VideoTimeLine::OpenVideo(), and ViewStripOpenRawFile().
00092 {
00093 if (mRgbDataSrc)
00094 delete mRgbDataSrc;
00095 if (!(mRgbDataSrc = src))
00096 {
00097 ViewStripClearViews();
00098 return;
00099 }
00100
00101 mImW = mRgbDataSrc->FrameWidth();
00102 mImH = mRgbDataSrc->FrameHeight();
00103 int nrFrames = mRgbDataSrc->LastFrame();
00104 SetSpan(nrFrames * 40);
00105 SetMinMaxDocWidth(200, nrFrames * mImW);
00106 }
Here is the call graph for this function: