CustusX
2023.01.05-dev+develop.0da12
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, FileManagerServicePtr filemanagerservice) | |
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 104 of file cxSavingVideoRecorder.h.
cx::SavingVideoRecorder::SavingVideoRecorder | ( | VideoSourcePtr | source, |
QString | saveFolder, | ||
QString | prefix, | ||
bool | compressed, | ||
bool | writeColor, | ||
FileManagerServicePtr | filemanagerservice | ||
) |
Definition at line 178 of file cxSavingVideoRecorder.cpp.
|
virtual |
Definition at line 191 of file cxSavingVideoRecorder.cpp.
void cx::SavingVideoRecorder::cancel | ( | ) |
Definition at line 230 of file cxSavingVideoRecorder.cpp.
void cx::SavingVideoRecorder::completeSave | ( | ) |
Call to force complete the writing of data to disk.
Definition at line 257 of file cxSavingVideoRecorder.cpp.
CachedImageDataContainerPtr cx::SavingVideoRecorder::getImageData | ( | ) |
Definition at line 220 of file cxSavingVideoRecorder.cpp.
|
inline |
Definition at line 118 of file cxSavingVideoRecorder.h.
|
inline |
Definition at line 124 of file cxSavingVideoRecorder.h.
std::vector< TimeInfo > cx::SavingVideoRecorder::getTimestamps | ( | ) |
Definition at line 225 of file cxSavingVideoRecorder.cpp.
|
virtual |
Definition at line 197 of file cxSavingVideoRecorder.cpp.
|
virtual |
Definition at line 202 of file cxSavingVideoRecorder.cpp.