OrbbecSDK 2.10.6
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
Loading...
Searching...
No Matches
TypeHelper.h
Go to the documentation of this file.
1// Copyright (c) Orbbec Inc. All Rights Reserved.
2// Licensed under the MIT License.
3
4#pragma once
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10#include "ObTypes.h"
11
19OB_EXPORT const char* ob_format_type_to_string(OBFormat type);
20
28OB_EXPORT const char* ob_frame_type_to_string(OBFrameType type);
29
37OB_EXPORT const char* ob_stream_type_to_string(OBStreamType type);
38
46OB_EXPORT const char* ob_sensor_type_to_string(OBSensorType type);
47
55OB_EXPORT const char* ob_imu_rate_type_to_string(OBIMUSampleRate type);
56
65
74
83
92
100
109
118
127
136
145
154
162OB_EXPORT const char *ob_format_to_string(OBFormat format);
163#ifdef __cplusplus
164}
165#endif
Provide structs commonly used in the SDK, enumerating constant definitions.
OBLiDARScanRate
Data structures for LiDAR scan rate.
Definition ObTypes.h:726
OBSensorType
Enumeration value describing the sensor type.
Definition ObTypes.h:182
OBIMUSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer).
Definition ObTypes.h:658
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
Definition ObTypes.h:683
OBFormat
Enumeration value describing the pixel format.
Definition ObTypes.h:262
enum ob_frame_metadata_type OBFrameMetadataType
OBFrameType
Enumeration value describing the type of frame.
Definition ObTypes.h:225
OBStreamType
Enumeration value describing the type of data stream.
Definition ObTypes.h:203
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
Definition ObTypes.h:701
OB_EXPORT const char * ob_gyro_range_type_to_string(OBGyroFullScaleRange type)
Convert OBGyroFullScaleRange to " char* " type and then return.
OB_EXPORT OBSensorType ob_stream_type_to_sensor_type(OBStreamType type)
Convert OBStreamType to OBSensorType.
OB_EXPORT OBIMUSampleRate ob_imu_rate_value_to_type(float value)
Convert a numeric IMU sample rate value in Hz to OBIMUSampleRate.
OB_EXPORT const char * ob_sensor_type_to_string(OBSensorType type)
Convert OBSensorType to " char* " type and then return.
OB_EXPORT const char * ob_meta_data_type_to_string(OBFrameMetadataType type)
Convert OBFrameMetadataType to " char* " type and then return.
OB_EXPORT float ob_imu_rate_type_to_value(OBIMUSampleRate type)
Convert OBIMUSampleRate to its numeric frequency value in Hz.
OB_EXPORT OBFrameType ob_stream_type_to_frame_type(OBStreamType type)
Convert OBStreamType to OBFrameType.
OBStreamType ob_frame_type_to_stream_type(OBFrameType type)
Convert OBFrameType to OBStreamType.
OB_EXPORT OBSensorType ob_frame_type_to_sensor_type(OBFrameType type)
Convert OBFrameType to OBSensorType.
OB_EXPORT const char * ob_format_to_string(OBFormat format)
Convert OBFormat to " char* " type and then return.
OB_EXPORT const char * ob_format_type_to_string(OBFormat type)
Convert OBFormat to " char* " type and then return.
OB_EXPORT const char * ob_imu_rate_type_to_string(OBIMUSampleRate type)
Convert OBIMUSampleRate to " char* " type and then return.
OB_EXPORT const char * ob_accel_range_type_to_string(OBAccelFullScaleRange type)
Convert OBAccelFullScaleRange to " char* " type and then return.
OB_EXPORT const char * ob_frame_type_to_string(OBFrameType type)
Convert OBFrameType to " char* " type and then return.
OB_EXPORT const char * ob_lidar_scan_rate_type_to_string(OBLiDARScanRate type)
Convert OBLiDARScanRate to " char* " type and then return.
OB_EXPORT OBStreamType ob_sensor_type_to_stream_type(OBSensorType type)
Convert OBSensorType to OBStreamType.
OB_EXPORT const char * ob_stream_type_to_string(OBStreamType type)
Convert OBStreamType to " char* " type and then return.