Open3D (C++ API)  0.17.0
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 
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 
27 public:
28  bool ConvertToJsonValue(Json::Value &value) const override;
29  bool ConvertFromJsonValue(const Json::Value &value) override;
30 
31 public:
36 
37  std::string serial_number_ = "";
41  int width_;
43  int height_;
44  std::string color_mode_;
45  std::string depth_mode_;
46 };
47 
48 } // namespace io
49 } // namespace open3d
SensorType
Definition: MKVMetadata.h:13
Contains the pinhole camera intrinsic parameters.
Definition: PinholeCameraIntrinsic.h:32
Definition: MKVMetadata.h:26
int height_
Height of the video.
Definition: MKVMetadata.h:43
std::string serial_number_
Definition: MKVMetadata.h:37
bool ConvertFromJsonValue(const Json::Value &value) override
Definition: MKVMetadata.cpp:30
int width_
Width of the video.
Definition: MKVMetadata.h:41
camera::PinholeCameraIntrinsic intrinsics_
Shared intrinsics between RGB & depth.
Definition: MKVMetadata.h:35
uint64_t stream_length_usec_
Length of the video (usec).
Definition: MKVMetadata.h:39
std::string color_mode_
Definition: MKVMetadata.h:44
bool ConvertToJsonValue(Json::Value &value) const override
Definition: MKVMetadata.cpp:17
std::string depth_mode_
Definition: MKVMetadata.h:45
Definition: IJsonConvertible.h:40
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample uint64_t
Definition: K4aPlugin.cpp:343
Definition: PinholeCameraIntrinsic.cpp:16