CustusX
16.5.0-rc9
An IGT application
|
Recorder for a VideoSource. More...
#include <cxSavingVideoRecorder.h>
Public Member Functions | |
SavingVideoRecorder (VideoSourcePtr source, QString saveFolder, QString prefix, bool compressed, bool writeColor) | |
virtual | ~SavingVideoRecorder () |
virtual void | startRecord () |
virtual void | stopRecord () |
void | cancel () |
CachedImageDataContainerPtr | getImageData () |
std::vector< TimeInfo > | getTimestamps () |
QString | getSaveFolder () |
void | completeSave () |
VideoSourcePtr | getSource () |
Recorder for a VideoSource.
Record all frames from the input source and store them in an internal buffer. Simultaneously save the data to disk continously using a VideoRecorderSaveThread.
Replacement for the overly complicated class VideoRecorder
Definition at line 125 of file cxSavingVideoRecorder.h.
cx::SavingVideoRecorder::SavingVideoRecorder | ( | VideoSourcePtr | source, |
QString | saveFolder, | ||
QString | prefix, | ||
bool | compressed, | ||
bool | writeColor | ||
) |
Definition at line 199 of file cxSavingVideoRecorder.cpp.
|
virtual |
Definition at line 212 of file cxSavingVideoRecorder.cpp.
void cx::SavingVideoRecorder::cancel | ( | ) |
Definition at line 251 of file cxSavingVideoRecorder.cpp.
void cx::SavingVideoRecorder::completeSave | ( | ) |
Call to force complete the writing of data to disk.
Definition at line 278 of file cxSavingVideoRecorder.cpp.
CachedImageDataContainerPtr cx::SavingVideoRecorder::getImageData | ( | ) |
Definition at line 241 of file cxSavingVideoRecorder.cpp.
|
inline |
Definition at line 139 of file cxSavingVideoRecorder.h.
|
inline |
Definition at line 145 of file cxSavingVideoRecorder.h.
std::vector< TimeInfo > cx::SavingVideoRecorder::getTimestamps | ( | ) |
Definition at line 246 of file cxSavingVideoRecorder.cpp.
|
virtual |
Definition at line 218 of file cxSavingVideoRecorder.cpp.
|
virtual |
Definition at line 223 of file cxSavingVideoRecorder.cpp.