33 struct _k4a_playback_t;
34 struct _k4a_capture_t;
35 struct _k4a_transformation_t;
53 bool IsEOF() {
return is_eof_; }
58 bool Open(
const std::string &filename);
67 std::shared_ptr<geometry::RGBDImage>
NextFrame();
70 _k4a_playback_t *handle_;
71 _k4a_transformation_t *transformation_;
75 Json::Value GetMetadataJson();
76 std::string GetTagInMetadata(
const std::string &tag_name);
Definition: MKVReader.h:44
MKVReader()
Default Constructor.
Definition: MKVReader.cpp:43
std::shared_ptr< geometry::RGBDImage > NextFrame()
Get next frame from the mkv playback and returns the RGBD object.
Definition: MKVReader.cpp:158
bool IsOpened()
Check If the mkv file is opened.
Definition: MKVReader.cpp:45
bool SeekTimestamp(size_t timestamp)
Seek to the timestamp (in us).
Definition: MKVReader.cpp:137
virtual ~MKVReader()
Definition: MKVReader.h:48
void Close()
Close the opened mkv playback.
Definition: MKVReader.cpp:79
bool IsEOF()
Check if the mkv file is all read.
Definition: MKVReader.h:53
Definition: PinholeCameraIntrinsic.cpp:35
bool Open(const std::string &filename)
Definition: MKVReader.cpp:62
MKVMetadata & GetMetadata()
Get metadata of the mkv playback.
Definition: MKVReader.h:63