Open3D (C++ API)
0.19.0
Toggle main menu visibility
Loading...
Searching...
No Matches
cpp
open3d
io
sensor
azure_kinect
MKVWriter.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include "
open3d/geometry/RGBDImage.h
"
11
#include "
open3d/io/sensor/azure_kinect/MKVMetadata.h
"
12
#include "
open3d/utility/IJsonConvertible.h
"
13
14
struct
_k4a_device_configuration_t;
// Alias of k4a_device_configuration_t
15
struct
_k4a_device_t;
// typedef _k4a_device_t* k4a_device_t;
16
struct
_k4a_capture_t;
// typedef _k4a_capture_t* k4a_capture_t;
17
struct
_k4a_record_t;
// typedef _k4a_record_t* k4a_record_t;
18
19
namespace
open3d
{
20
namespace
io
{
21
22
class
MKVWriter
{
23
public
:
24
MKVWriter
();
25
virtual
~MKVWriter
() {}
26
27
bool
IsOpened
();
28
29
/* We assume device is already set properly according to config */
30
bool
Open
(
const
std::string &filename,
31
const
_k4a_device_configuration_t &config,
32
_k4a_device_t *device);
33
void
Close
();
34
35
bool
SetMetadata
(
const
MKVMetadata
&metadata);
36
bool
NextFrame
(_k4a_capture_t *);
37
38
private
:
39
_k4a_record_t *handle_;
40
MKVMetadata
metadata_;
41
};
42
}
// namespace io
43
}
// namespace open3d
IJsonConvertible.h
MKVMetadata.h
open3d::io::MKVMetadata
Definition
MKVMetadata.h:26
open3d::io::MKVWriter::~MKVWriter
virtual ~MKVWriter()
Definition
MKVWriter.h:25
open3d::io::MKVWriter::IsOpened
bool IsOpened()
Definition
MKVWriter.cpp:38
open3d::io::MKVWriter::Open
bool Open(const std::string &filename, const _k4a_device_configuration_t &config, _k4a_device_t *device)
Definition
MKVWriter.cpp:21
open3d::io::MKVWriter::SetMetadata
bool SetMetadata(const MKVMetadata &metadata)
Definition
MKVWriter.cpp:40
open3d::io::MKVWriter::MKVWriter
MKVWriter()
Definition
MKVWriter.cpp:19
open3d::io::MKVWriter::NextFrame
bool NextFrame(_k4a_capture_t *)
Definition
MKVWriter.cpp:57
open3d::io::MKVWriter::Close
void Close()
Definition
MKVWriter.cpp:50
RGBDImage.h
open3d::io
Definition
FeatureIO.cpp:14
open3d
Definition
PinholeCameraIntrinsic.cpp:16
Generated by
1.17.0