14 struct _k4a_playback_t;
15 struct _k4a_capture_t;
16 struct _k4a_transformation_t;
34 bool IsEOF() {
return is_eof_; }
39 bool Open(
const std::string &filename);
48 std::shared_ptr<geometry::RGBDImage>
NextFrame();
51 _k4a_playback_t *handle_;
52 _k4a_transformation_t *transformation_;
56 Json::Value GetMetadataJson();
57 std::string GetTagInMetadata(
const std::string &tag_name);
Definition: MKVReader.h:25
std::shared_ptr< geometry::RGBDImage > NextFrame()
Get next frame from the mkv playback and returns the RGBD object.
Definition: MKVReader.cpp:139
bool IsOpened()
Check If the mkv file is opened.
Definition: MKVReader.cpp:26
virtual ~MKVReader()
Definition: MKVReader.h:29
bool SeekTimestamp(size_t timestamp)
Seek to the timestamp (in us).
Definition: MKVReader.cpp:118
bool Open(const std::string &filename)
Definition: MKVReader.cpp:43
MKVMetadata & GetMetadata()
Get metadata of the mkv playback.
Definition: MKVReader.h:44
MKVReader()
Default Constructor.
Definition: MKVReader.cpp:24
bool IsEOF()
Check if the mkv file is all read.
Definition: MKVReader.h:34
void Close()
Close the opened mkv playback.
Definition: MKVReader.cpp:60
Definition: PinholeCameraIntrinsic.cpp:16