Time-of-Flight Library(ToF) 3.13.5
|
|
The csf writer class takes care of writing depth frames to disk. More...
#include <csf_writer.hpp>
Public Member Functions | |
CsfWriter (tof_csf_writer_t ptr=nullptr) | |
Construct from pointer. | |
CsfWriter (StringView file_location, const CameraConfig &camera_config, const Calibration &calibration, StringView serial) | |
Construct csf writer from calibration and configuration. | |
CsfWriter (StringView file_location, Camera &camera) | |
Construct the csf writer from a camera. | |
void | write_frame (const Data &frame) |
Write frame to csf file. | |
The csf writer class takes care of writing depth frames to disk.
The class has to be created from either a Camera or csf reader, because it needs information about the camera that was used to record the depth frames. Therefore you should only write depth frames coming from one camera into the same writer
Definition at line 24 of file csf_writer.hpp.
|
inline |
Construct from pointer.
Definition at line 27 of file csf_writer.hpp.
|
inline |
Construct csf writer from calibration and configuration.
file_location | Path to where the csf file should be created |
camera_config | Camera configuration |
calibration | Calibration |
serial | Serial number of camera |
Definition at line 37 of file csf_writer.hpp.
|
inline |
Construct the csf writer from a camera.
file_location | Path to where the csf file should be created |
camera | The camera to get the camera config and calibration file from |
Definition at line 45 of file csf_writer.hpp.
|
inline |