Reimplemented from Impala::Visualization::AppControlDoc. Definition at line 215 of file SimilarityPlotNeedleImage.h. References FillPoints(), Impala::Core::VideoSet::Keyframes::GetNrKeyframes(), mCurKeyframe, mKeyframes, mPointSize, and UpdateImage(). 00216 { 00217 int oldKeyFr = mCurKeyframe; 00218 00219 if (c=='p' || c=='P') { 00220 if ((mPointSize += (c=='P' ? 1 : -1)) < 1) 00221 mPointSize = 1; 00222 FillPoints(); 00223 } 00224 if (c==oglLEFT && --mCurKeyframe < 0) 00225 mCurKeyframe = 0; 00226 if (c==oglRIGHT && ++mCurKeyframe > mKeyframes->GetNrKeyframes()) 00227 mCurKeyframe = mKeyframes->GetNrKeyframes()-1; 00228 if (oldKeyFr != mCurKeyframe) 00229 UpdateImage(); 00230 }
Here is the call graph for this function:
|