21 #include "vtkImageData.h"
58 void VideoRecorder::newFrameSlot()
60 if (!mSource->validData())
63 double timestamp = mSource->getTimestamp();
68 report(QString(
"VideoRecorder found and corrected sync shift: %1 s").arg(
double(mSyncShift)/1000, 6,
'f', 3));
80 frame->DeepCopy(mSource->getVtkImageData());
82 mData[timestamp] = frame;
107 retval.erase(retval.begin(), retval.lower_bound(start));
108 retval.erase(retval.upper_bound(stop), retval.end());