Definition at line 79 of file TimeLineViewStrip.h. References OglGui::DocDimensions::DocW(), OglGui::DocDimensions::DocX(), Impala::Core::Stream::RgbDataSrc::LastFrame(), OglGui::ZoomShiftRuler::mCurrent, OglGui::ZoomShiftRuler::mMaxDocWidth, mMinViewW, mRgbDataSrc, mViewFrameStep, and OglGui::ZoomShiftRuler::Unit2Pixel(). Referenced by Impala::Visualization::SegmentationDocumentGuiAnno::ButtonSelectionEvent(), and Impala::Visualization::AllFramesTLineVideo::ButtonSelectionEvent(). 00080 { 00081 int curPix = Unit2Pixel(mCurrent); 00082 int nrOfFrames = mRgbDataSrc->LastFrame(); 00083 int docX = DocX(); 00084 if (mode==0 || mode==1) 00085 DocW((nrOfFrames*(mMinViewW+(mode?0:-1)))/mViewFrameStep); 00086 if (mode==2) 00087 DocW(mMaxDocWidth); 00088 DocX(docX+(curPix-Unit2Pixel(mCurrent))); 00089 }
Here is the call graph for this function:
|