ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
MKVMetadata.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
#include <
IJsonConvertible.h
>
11
12
#include "
camera/PinholeCameraIntrinsic.h
"
13
14
enum class
SensorType
{
AZURE_KINECT
= 0,
REAL_SENSE
= 1 };
15
16
namespace
cloudViewer
{
17
18
namespace
camera {
19
class
PinholeCameraIntrinsic
;
20
}
21
22
namespace
io {
23
27
class
MKVMetadata
:
public
utility::IJsonConvertible
{
28
public
:
29
bool
ConvertToJsonValue
(Json::Value &value)
const override
;
30
bool
ConvertFromJsonValue
(
const
Json::Value &value)
override
;
31
32
public
:
36
camera::PinholeCameraIntrinsic
intrinsics_
;
37
38
std::string
serial_number_
=
""
;
40
uint64_t
stream_length_usec_
= 0;
42
int
width_
;
44
int
height_
;
45
std::string
color_mode_
;
46
std::string
depth_mode_
;
47
};
48
49
}
// namespace io
50
}
// namespace cloudViewer
IJsonConvertible.h
SensorType
SensorType
Definition:
MKVMetadata.h:14
SensorType::REAL_SENSE
@ REAL_SENSE
SensorType::AZURE_KINECT
@ AZURE_KINECT
PinholeCameraIntrinsic.h
cloudViewer::camera::PinholeCameraIntrinsic
Contains the pinhole camera intrinsic parameters.
Definition:
PinholeCameraIntrinsic.h:35
cloudViewer::io::MKVMetadata
Definition:
MKVMetadata.h:27
cloudViewer::io::MKVMetadata::stream_length_usec_
uint64_t stream_length_usec_
Length of the video (usec).
Definition:
MKVMetadata.h:40
cloudViewer::io::MKVMetadata::serial_number_
std::string serial_number_
Definition:
MKVMetadata.h:38
cloudViewer::io::MKVMetadata::ConvertFromJsonValue
bool ConvertFromJsonValue(const Json::Value &value) override
Definition:
MKVMetadata.cpp:30
cloudViewer::io::MKVMetadata::color_mode_
std::string color_mode_
Definition:
MKVMetadata.h:45
cloudViewer::io::MKVMetadata::intrinsics_
camera::PinholeCameraIntrinsic intrinsics_
Shared intrinsics betwee RGB & depth.
Definition:
MKVMetadata.h:36
cloudViewer::io::MKVMetadata::width_
int width_
Width of the video.
Definition:
MKVMetadata.h:42
cloudViewer::io::MKVMetadata::depth_mode_
std::string depth_mode_
Definition:
MKVMetadata.h:46
cloudViewer::io::MKVMetadata::ConvertToJsonValue
bool ConvertToJsonValue(Json::Value &value) const override
Definition:
MKVMetadata.cpp:17
cloudViewer::io::MKVMetadata::height_
int height_
Height of the video.
Definition:
MKVMetadata.h:44
cloudViewer::utility::IJsonConvertible
Definition:
IJsonConvertible.h:41
cloudViewer
Generic file read and write utility for python interface.
Definition:
AutoSegmentationTools.h:16
libs
cloudViewer
io
sensor
azure_kinect
MKVMetadata.h
Generated on Wed Jan 28 2026 09:00:55 for ACloudViewer by
1.9.1