|
libfreenect2 0.4
Open source driver for the Kinect for Windows v2 (K4W2) sensor
|
Library context to create and open replay devices. More...
#include <libfreenect2/libfreenect2.hpp>
Classes | |
| struct | Calibration |
| Calibration required to decode raw depth recordings without hardware. More... | |
Public Member Functions | |
| Freenect2Replay () | |
| Creates the context. | |
| virtual | ~Freenect2Replay () |
| Freenect2Device * | openDevice (const std::vector< std::string > &frame_filenames) |
| Open a device by a collection of stored frame filenames with default pipeline. | |
| Freenect2Device * | openDevice (const std::vector< std::string > &frame_filenames, const PacketPipeline *factory) |
| Open device by a collection of stored frame filenames with the specified pipeline. | |
| Freenect2Device * | openDevice (const std::vector< std::string > &frame_filenames, const Calibration &calibration) |
| Open replay data with the calibration needed for depth decoding. | |
| Freenect2Device * | openDevice (const std::vector< std::string > &frame_filenames, const Calibration &calibration, const PacketPipeline *factory) |
| Freenect2Device * | openRecording (const std::string &directory, const ReplayOptions &options=ReplayOptions()) |
| Open a versioned recording directory with the default pipeline. | |
| Freenect2Device * | openRecording (const std::string &directory, const PacketPipeline *factory, const ReplayOptions &options=ReplayOptions()) |
| Open a versioned recording directory with the specified pipeline. | |
Library context to create and open replay devices.
Call openDevice() and control the device with the returned Freenect2ReplayDevice object.
| Freenect2Replay | ( | ) |
Creates the context.
Referenced by openRecording().
|
virtual |
| Freenect2Device * openDevice | ( | const std::vector< std::string > & | frame_filenames | ) |
Open a device by a collection of stored frame filenames with default pipeline.
See filename format below. This legacy API remains independent of manifest-directory ReplayOptions.
| frame_filenames | A list of filenames for stored frames. |
| Freenect2Device * openDevice | ( | const std::vector< std::string > & | frame_filenames, |
| const PacketPipeline * | factory ) |
Open device by a collection of stored frame filenames with the specified pipeline.
File names non-compliant with the filename format will be skipped. Filename format: <prefix>_<timestamp>_<sequence>.<suffix>
| frame_filenames | A list of filenames for stored frames. |
| factory | New PacketPipeline instance. This is always automatically freed. |
| Freenect2Device * openDevice | ( | const std::vector< std::string > & | frame_filenames, |
| const Calibration & | calibration ) |
Open replay data with the calibration needed for depth decoding.
| Freenect2Device * openDevice | ( | const std::vector< std::string > & | frame_filenames, |
| const Calibration & | calibration, | ||
| const PacketPipeline * | factory ) |
| Freenect2Device * openRecording | ( | const std::string & | directory, |
| const ReplayOptions & | options = ReplayOptions() ) |
Open a versioned recording directory with the default pipeline.
| Freenect2Device * openRecording | ( | const std::string & | directory, |
| const PacketPipeline * | factory, | ||
| const ReplayOptions & | options = ReplayOptions() ) |
Open a versioned recording directory with the specified pipeline.
References Freenect2Replay().