Open3D (C++ API)
0.17.0
Loading...
Searching...
No Matches
cpp
open3d
io
sensor
azure_kinect
MKVMetadata.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2023 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include "
open3d/camera/PinholeCameraIntrinsic.h
"
11
#include "
open3d/utility/IJsonConvertible.h
"
12
13
enum class
SensorType
{
AZURE_KINECT
= 0,
REAL_SENSE
= 1 };
14
15
namespace
open3d
{
16
17
namespace
camera {
18
class
PinholeCameraIntrinsic;
19
}
20
21
namespace
io {
22
26
class
MKVMetadata
:
public
utility::IJsonConvertible
{
27
public
:
28
bool
ConvertToJsonValue
(Json::Value &value)
const override
;
29
bool
ConvertFromJsonValue
(
const
Json::Value &value)
override
;
30
31
public
:
35
camera::PinholeCameraIntrinsic
intrinsics_
;
36
37
std::string
serial_number_
=
""
;
39
uint64_t
stream_length_usec_
= 0;
41
int
width_
;
43
int
height_
;
44
std::string
color_mode_
;
45
std::string
depth_mode_
;
46
};
47
48
}
// namespace io
49
}
// namespace open3d
IJsonConvertible.h
SensorType
SensorType
Definition
MKVMetadata.h:13
SensorType::REAL_SENSE
@ REAL_SENSE
SensorType::AZURE_KINECT
@ AZURE_KINECT
PinholeCameraIntrinsic.h
open3d::camera::PinholeCameraIntrinsic
Contains the pinhole camera intrinsic parameters.
Definition
PinholeCameraIntrinsic.h:32
open3d::io::MKVMetadata
Definition
MKVMetadata.h:26
open3d::io::MKVMetadata::height_
int height_
Height of the video.
Definition
MKVMetadata.h:43
open3d::io::MKVMetadata::serial_number_
std::string serial_number_
Definition
MKVMetadata.h:37
open3d::io::MKVMetadata::ConvertFromJsonValue
bool ConvertFromJsonValue(const Json::Value &value) override
Definition
MKVMetadata.cpp:30
open3d::io::MKVMetadata::width_
int width_
Width of the video.
Definition
MKVMetadata.h:41
open3d::io::MKVMetadata::intrinsics_
camera::PinholeCameraIntrinsic intrinsics_
Shared intrinsics between RGB & depth.
Definition
MKVMetadata.h:35
open3d::io::MKVMetadata::stream_length_usec_
uint64_t stream_length_usec_
Length of the video (usec).
Definition
MKVMetadata.h:39
open3d::io::MKVMetadata::color_mode_
std::string color_mode_
Definition
MKVMetadata.h:44
open3d::io::MKVMetadata::ConvertToJsonValue
bool ConvertToJsonValue(Json::Value &value) const override
Definition
MKVMetadata.cpp:17
open3d::io::MKVMetadata::depth_mode_
std::string depth_mode_
Definition
MKVMetadata.h:45
open3d::utility::IJsonConvertible
Definition
IJsonConvertible.h:40
open3d
Definition
PinholeCameraIntrinsic.cpp:16
Generated by
1.9.8