Fraxinus
16.5.0-fx-rc9
An IGT application
|
Recorder for a VideoSource. More...
#include <cxVideoRecorder.h>
Public Types | |
typedef std::map< double, vtkImageDataPtr > | DataType |
<timestamp, frame> More... | |
Public Member Functions | |
VideoRecorder (VideoSourcePtr source, bool sync=true) | |
virtual | ~VideoRecorder () |
virtual void | startRecord () |
virtual void | stopRecord () |
virtual DataType | getRecording (double start, double stop) |
Recorder for a VideoSource.
The class has an autosync feature that is useful if the realtimestream clock is unsynced with the master clock. The first received frame is used to estimate a shift between the master and source clocks. This shift is then added to the input times in getRecording in order to retrieve data using the source clock.
Definition at line 67 of file cxVideoRecorder.h.
typedef std::map<double, vtkImageDataPtr> cx::VideoRecorder::DataType |
<timestamp, frame>
Definition at line 71 of file cxVideoRecorder.h.
cx::VideoRecorder::VideoRecorder | ( | VideoSourcePtr | source, |
bool | sync = true |
||
) |
Definition at line 49 of file cxVideoRecorder.cpp.
|
virtual |
Definition at line 56 of file cxVideoRecorder.cpp.
|
virtual |
Definition at line 115 of file cxVideoRecorder.cpp.
|
virtual |
Definition at line 69 of file cxVideoRecorder.cpp.
|
virtual |
Definition at line 74 of file cxVideoRecorder.cpp.