From 58d12c5095cbcaeded1b678b87e5fae2c623c768 Mon Sep 17 00:00:00 2001 From: zhonghong Date: Sat, 11 May 2024 21:44:10 +0800 Subject: [PATCH] update Orbbec API Doc --- doc/api/English/Context_8hpp_source.html | 163 ++ doc/api/English/Device_8hpp_source.html | 447 ++++ doc/api/English/Error_8hpp_source.html | 124 ++ doc/api/English/ObSensor_8hpp_source.html | 114 ++ doc/api/English/ObTypes_8h_source.html | 1795 +++++++++++++++++ .../English/RecordPlayback_8hpp_source.html | 165 ++ .../English/StreamProfile_8hpp_source.html | 275 +++ doc/api/English/Types_8hpp_source.html | 122 ++ doc/api/English/Utils_8hpp_source.html | 141 ++ 9 files changed, 3346 insertions(+) create mode 100644 doc/api/English/Context_8hpp_source.html create mode 100644 doc/api/English/Device_8hpp_source.html create mode 100644 doc/api/English/Error_8hpp_source.html create mode 100644 doc/api/English/ObSensor_8hpp_source.html create mode 100644 doc/api/English/ObTypes_8h_source.html create mode 100644 doc/api/English/RecordPlayback_8hpp_source.html create mode 100644 doc/api/English/StreamProfile_8hpp_source.html create mode 100644 doc/api/English/Types_8hpp_source.html create mode 100644 doc/api/English/Utils_8hpp_source.html diff --git a/doc/api/English/Context_8hpp_source.html b/doc/api/English/Context_8hpp_source.html new file mode 100644 index 00000000..268c0f7a --- /dev/null +++ b/doc/api/English/Context_8hpp_source.html @@ -0,0 +1,163 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/Context.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Context.hpp
+
+
+Go to the documentation of this file.
1
+
7#pragma once
+
8
+
9#include "Types.hpp"
+
10
+
11#include <functional>
+
12#include <memory>
+
13
+
14struct ContextImpl;
+
15
+
16namespace ob {
+
17class Device;
+
18class DeviceInfo;
+
19class DeviceList;
+
20
+ +
22private:
+
23 std::unique_ptr<ContextImpl> impl_;
+
24
+
25public:
+
31 Context(const char *configPath = "");
+
32 virtual ~Context() noexcept;
+
33
+
39 std::shared_ptr<DeviceList> queryDeviceList();
+
40
+
50 void enableNetDeviceEnumeration(bool enable);
+
51
+
59 std::shared_ptr<Device> createNetDevice(const char *address, uint16_t port);
+
60
+
67 void changeNetDeviceIpConfig(const char *deviceUid, const OBNetIpConfig &config);
+
68
+
69 using DeviceChangedCallback = std::function<void(std::shared_ptr<DeviceList> removedList, std::shared_ptr<DeviceList> addedList)>;
+
70
+
76 void setDeviceChangedCallback(DeviceChangedCallback callback);
+
77
+
83 void enableDeviceClockSync(uint64_t repeatInterval);
+
84#define enableMultiDeviceSync enableDeviceClockSync
+
85
+ +
90
+
96 static void setLoggerSeverity(OBLogSeverity severity);
+
97
+
105 static void setLoggerToFile(OBLogSeverity severity, const char *directory);
+
106
+
112 static void setLoggerToConsole(OBLogSeverity severity);
+
113
+
120 using LogCallback = std::function<void(OBLogSeverity severity, const char *logMsg)>;
+
121
+
128 static void setLoggerToCallback(OBLogSeverity severity, LogCallback callback);
+
129
+
136 static void loadLicense(const char *filePath, const char *key = OB_DEFAULT_DECRYPT_KEY);
+
137
+
145 static void loadLicenseFromData(const char *data, uint32_t dataLen, const char *key = OB_DEFAULT_DECRYPT_KEY);
+
146};
+
147} // namespace ob
+
#define OB_DEFAULT_DECRYPT_KEY
The default Decrypt Key.
Definition ObTypes.h:1763
+
#define OB_EXTENSION_API
Definition ObTypes.h:28
+
OBLogSeverity
log level, the higher the level, the stronger the log filter
Definition ObTypes.h:115
+
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
+ +
static void setLoggerSeverity(OBLogSeverity severity)
Set the level of the global log, which affects both the log level output to the terminal and output t...
+
static void setLoggerToConsole(OBLogSeverity severity)
Set log output to the terminal.
+
virtual ~Context() noexcept
+
static void loadLicense(const char *filePath, const char *key=OB_DEFAULT_DECRYPT_KEY)
Loads a license file.
+
static void setLoggerToCallback(OBLogSeverity severity, LogCallback callback)
Set the logger to callback.
+
std::function< void(std::shared_ptr< DeviceList > removedList, std::shared_ptr< DeviceList > addedList)> DeviceChangedCallback
Definition Context.hpp:69
+
std::function< void(OBLogSeverity severity, const char *logMsg)> LogCallback
Log output callback function.
Definition Context.hpp:120
+
void freeIdleMemory()
Frees idle memory from the internal frame memory pool.
+
Context(const char *configPath="")
The Context class is a management class that describes the runtime of the SDK. It is responsible for ...
+
static void loadLicenseFromData(const char *data, uint32_t dataLen, const char *key=OB_DEFAULT_DECRYPT_KEY)
Loads a license from data.
+
static void setLoggerToFile(OBLogSeverity severity, const char *directory)
Set log output to a file.
+
A class describing device information, representing the name, id, serial number and other basic infor...
Definition Device.hpp:633
+
Class representing a list of devices.
Definition Device.hpp:750
+ +
Definition Context.hpp:16
+
IP address configuration for network devices (IPv4)
Definition ObTypes.h:1087
+
+ + + + diff --git a/doc/api/English/Device_8hpp_source.html b/doc/api/English/Device_8hpp_source.html new file mode 100644 index 00000000..6974952d --- /dev/null +++ b/doc/api/English/Device_8hpp_source.html @@ -0,0 +1,447 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/Device.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Device.hpp
+
+
+Go to the documentation of this file.
1
+
6#pragma once
+
7#include "Types.hpp"
+
8
+ + +
11#include <memory>
+
12#include <string>
+
13#include <vector>
+
14
+
15struct DeviceImpl;
+
16struct DeviceInfoImpl;
+
17struct DeviceListImpl;
+
18struct CameraParamListImpl;
+
19
+
20namespace ob {
+
21class SensorList;
+
22class Context;
+
23class DeviceInfo;
+
24class Sensor;
+
25class CameraParamList;
+
26class OBDepthWorkModeList;
+
27class DevicePresetList;
+
28
+ +
30protected:
+
31 std::unique_ptr<DeviceImpl> impl_;
+
32
+
33 Device(Device &&device);
+
34
+
35public:
+
39 Device(std::unique_ptr<DeviceImpl> impl);
+
40 virtual ~Device() noexcept;
+
41
+
47 std::shared_ptr<DeviceInfo> getDeviceInfo();
+
48
+
54 std::shared_ptr<SensorList> getSensorList();
+
55
+
62 std::shared_ptr<Sensor> getSensor(OBSensorType type);
+
63
+
70 void setIntProperty(OBPropertyID propertyId, int32_t property);
+
71
+
78 void setFloatProperty(OBPropertyID propertyId, float property);
+
79
+
86 void setBoolProperty(OBPropertyID propertyId, bool property);
+
87
+
94 int32_t getIntProperty(OBPropertyID propertyId);
+
95
+
102 float getFloatProperty(OBPropertyID propertyId);
+
103
+
110 bool getBoolProperty(OBPropertyID propertyId);
+
111
+
118 OBIntPropertyRange getIntPropertyRange(OBPropertyID propertyId);
+
119
+
126 OBFloatPropertyRange getFloatPropertyRange(OBPropertyID propertyId);
+
127
+
134 OBBoolPropertyRange getBoolPropertyRange(OBPropertyID propertyId);
+
135
+
143 void writeAHB(uint32_t reg, uint32_t mask, uint32_t value);
+
144
+
152 void readAHB(uint32_t reg, uint32_t mask, uint32_t *value);
+
153
+
162 void writeI2C(uint32_t moduleId, uint32_t reg, uint32_t mask, uint32_t value);
+
163
+
172 void readI2C(uint32_t moduleId, uint32_t reg, uint32_t mask, uint32_t *value);
+
173
+
183 void writeFlash(uint32_t offset, const void *data, uint32_t dataSize, SetDataCallback callback, bool async = false);
+
184
+
193 void readFlash(uint32_t offset, uint32_t dataSize, GetDataCallback callback, bool async = false);
+
194
+
201 void writeCustomerData(const void *data, uint32_t dataSize);
+
202
+
209 void readCustomerData(void *data, uint32_t *dataSize);
+
210
+
220 void setRawData(OBPropertyID propertyId, const void *data, uint32_t dataSize, SetDataCallback callback, bool async = false);
+
221
+
229 void getRawData(OBPropertyID propertyId, GetDataCallback callback, bool async = false);
+
230
+
238 void setStructuredData(OBPropertyID propertyId, const void *data, uint32_t dataSize);
+
239
+
247 void getStructuredData(OBPropertyID propertyId, void *data, uint32_t *dataSize);
+
248
+
256 void setStructuredDataExt(OBPropertyID propertyId, std::shared_ptr<OBDataBundle> dataBundle, SetDataCallback callback);
+
257
+
264 std::shared_ptr<OBDataBundle> getStructuredDataExt(OBPropertyID propertyId);
+
265
+
271 OBProtocolVersion getProtocolVersion();
+
272
+
279 OBCmdVersion getCmdVersion(OBPropertyID propertyId);
+
280
+
286 uint32_t getSupportedPropertyCount();
+
287
+
294 OBPropertyItem getSupportedProperty(uint32_t index);
+
295
+
303 bool isPropertySupported(OBPropertyID propertyId, OBPermissionType permission);
+
304
+
310 bool isGlobalTimestampSupported();
+
311
+
319 void deviceUpgrade(const char *filePath, DeviceUpgradeCallback callback, bool async = true);
+
320
+
330 void deviceUpgradeFromData(const char *fileData, uint32_t fileSize, DeviceUpgradeCallback callback, bool async = true);
+
331
+
340 void sendFile(const char *filePath, const char *dstPath, SendFileCallback callback, bool async = true);
+
341
+
346 OBDeviceState getDeviceState();
+
347
+
354 void setDeviceStateChangedCallback(DeviceStateChangedCallback callback);
+
355
+
362 bool activateAuthorization(const char *authCode);
+
363
+
368 void writeAuthorizationCode(const char *authCodeStr);
+
369
+
379 std::shared_ptr<CameraParamList> getCalibrationCameraParamList();
+
380
+
386 OBDepthWorkMode getCurrentDepthWorkMode();
+
387
+
393 OBStatus switchDepthWorkMode(const OBDepthWorkMode &workMode);
+
394
+
400 OBStatus switchDepthWorkMode(const char *modeName);
+
401
+
406 std::shared_ptr<OBDepthWorkModeList> getDepthWorkModeList();
+
407
+
413 void reboot();
+
414
+
423 void reboot(uint32_t delayMs);
+
424
+
430 DEPRECATED uint64_t syncDeviceTime();
+
431
+ +
442
+
454 DEPRECATED void setSyncConfig(const OBDeviceSyncConfig &deviceSyncConfig);
+
455
+
471 uint16_t getSupportedMultiDeviceSyncModeBitmap();
+
472
+
478 void setMultiDeviceSyncConfig(const OBMultiDeviceSyncConfig &config);
+
479
+
485 OBMultiDeviceSyncConfig getMultiDeviceSyncConfig();
+
486
+
498 void triggerCapture();
+
499
+
503 void setTimestampResetConfig(const OBDeviceTimestampResetConfig &config);
+
504
+
510 OBDeviceTimestampResetConfig getTimestampResetConfig();
+
511
+
523 void timestampReset();
+
524
+
528#define timerReset timestampReset
+
529
+ +
542
+
547 void loadDepthFilterConfig(const char *filePath);
+
548
+ +
553
+
559 const char *getCurrentPresetName();
+
560
+
567 void loadPreset(const char *presetName);
+
568
+
576 std::shared_ptr<DevicePresetList> getAvailablePresetList();
+
577
+
588 void loadPresetFromJsonFile(const char *filePath);
+
589
+
601 void loadPresetFromJsonData(const char *presetName, const uint8_t *data, uint32_t size);
+
602
+
610 void exportSettingsAsPresetJsonFile(const char *filePath);
+
611
+
623 void exportSettingsAsPresetJsonData(const char *presetName, const uint8_t **data, uint32_t *dataSize);
+
624
+
625 friend class Pipeline;
+
626 friend class Recorder;
+ +
628};
+
629
+ +
634private:
+
635 std::unique_ptr<DeviceInfoImpl> impl_;
+
636
+
637public:
+
638 DeviceInfo(std::unique_ptr<DeviceInfoImpl> impl);
+
639 virtual ~DeviceInfo() noexcept;
+
640
+
646 const char *name();
+
647
+
653 int pid();
+
654
+
660 int vid();
+
661
+
667 const char *uid();
+
668
+
674 const char *serialNumber();
+
675
+
681 const char *firmwareVersion();
+
682
+
688 DEPRECATED const char *usbType();
+
689
+
696 const char *connectionType();
+
697
+
705 const char *ipAddress();
+
706
+
712 const char *hardwareVersion();
+
713
+
719 const char *supportedMinSdkVersion();
+
720
+
726 const char *extensionInfo();
+
727
+
733 const char *asicName();
+
734
+
740 OBDeviceType deviceType();
+
741
+
742 friend class Context;
+
743 friend class DeviceList;
+
744 friend class Pipeline;
+
745};
+
746
+ +
751private:
+
752 std::unique_ptr<DeviceListImpl> impl_;
+
753
+
754public:
+
755 DeviceList(std::unique_ptr<DeviceListImpl> impl);
+
756 ~DeviceList() noexcept;
+
757
+
763 uint32_t deviceCount();
+
764
+
771 DEPRECATED const char *name(uint32_t index);
+
772
+
779 int pid(uint32_t index);
+
780
+
787 int vid(uint32_t index);
+
788
+
795 const char *uid(uint32_t index);
+
796
+
803 const char *serialNumber(uint32_t index);
+
804
+
811 const char *connectionType(uint32_t index);
+
812
+
821 const char *ipAddress(uint32_t index);
+
822
+
831 std::shared_ptr<Device> getDevice(uint32_t index);
+
832
+
841 std::shared_ptr<Device> getDeviceBySN(const char *serialNumber);
+
842
+
854 std::shared_ptr<Device> getDeviceByUid(const char *uid);
+
855};
+
856
+ +
861private:
+
862 std::unique_ptr<CameraParamListImpl> impl_;
+
863
+
864public:
+
865 CameraParamList(std::unique_ptr<CameraParamListImpl> impl);
+ +
867
+
873 uint32_t count();
+
874
+
881 OBCameraParam getCameraParam(uint32_t index);
+
882};
+
883
+ +
888private:
+
889 std::unique_ptr<OBDepthWorkModeListImpl> impl_;
+
890
+
891public:
+
892 OBDepthWorkModeList(std::unique_ptr<OBDepthWorkModeListImpl> impl_);
+ +
894
+
900 uint32_t count();
+
901
+ +
909
+
916 const char *getName(uint32_t index);
+
917
+ +
925};
+
926
+ +
932private:
+
933 std::unique_ptr<DevicePresetListImpl> impl_;
+
934
+
935public:
+
936 DevicePresetList(std::unique_ptr<DevicePresetListImpl> impl);
+ +
938
+
944 uint32_t count();
+
945
+
952 const char *getName(uint32_t index);
+
953
+
959 bool hasPreset(const char *name);
+
960};
+
961
+
962} // namespace ob
+
This file contains the Filter class, which is the processing unit of the SDK that can perform point c...
+
OBSensorType
Enumeration value describing the sensor type.
Definition ObTypes.h:157
+
OBStatus
error code
Definition ObTypes.h:106
+
uint64_t OBDeviceState
Device state.
Definition ObTypes.h:635
+
OBDeviceType
Enumeration for device types.
Definition ObTypes.h:667
+
#define OB_EXTENSION_API
Definition ObTypes.h:28
+
OBPermissionType
the permission type of api or property
Definition ObTypes.h:94
+
enum OB_CMD_VERSION OBCmdVersion
+
#define DEPRECATED
Definition ObTypes.h:42
+
Control command property list maintenance.
+
OBPropertyID
Enumeration value describing all attribute control commands of the device.
Definition Property.h:24
+
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
+
std::function< void(OBDeviceState state, const char *message)> DeviceStateChangedCallback
Callback function for device status updates.
Definition Types.hpp:40
+
std::function< void(OBDataTranState state, uint8_t percent)> SetDataCallback
Callback function for setting the raw data property when progress callbacks are made.
Definition Types.hpp:56
+
std::function< void(OBUpgradeState state, const char *message, uint8_t percent)> DeviceUpgradeCallback
Callback function for device upgrade status updates.
Definition Types.hpp:32
+
std::function< void(OBDataTranState state, OBDataChunk *dataChunk)> GetDataCallback
Callback function for getting raw data property data when data and progress callbacks are made.
Definition Types.hpp:48
+
std::function< void(OBFileTranState state, const char *message, uint8_t percent)> SendFileCallback
Callback function for file transfer status updates.
Definition Types.hpp:23
+
Class representing a list of camera parameters.
Definition Device.hpp:860
+
~CameraParamList() noexcept
+
CameraParamList(std::unique_ptr< CameraParamListImpl > impl)
+ + +
A class describing device information, representing the name, id, serial number and other basic infor...
Definition Device.hpp:633
+
DeviceInfo(std::unique_ptr< DeviceInfoImpl > impl)
+
virtual ~DeviceInfo() noexcept
+
Class representing a list of devices.
Definition Device.hpp:750
+
DeviceList(std::unique_ptr< DeviceListImpl > impl)
+
~DeviceList() noexcept
+
Class representing a list of device presets @breif A device preset is a set of parameters or configur...
Definition Device.hpp:931
+
DevicePresetList(std::unique_ptr< DevicePresetListImpl > impl)
+
~DevicePresetList() noexcept
+ +
Device(Device &&device)
+
void timerSyncWithHost()
synchronize the timer of the device with the host.
+
void loadPresetFromJsonData(const char *presetName, const uint8_t *data, uint32_t size)
Load custom preset from data.
+
void exportSettingsAsPresetJsonFile(const char *filePath)
Export current device settings as a preset json file.
+
Device(std::unique_ptr< DeviceImpl > impl)
Describe the entity of the RGBD camera, representing a specific model of RGBD camera.
+
void resetDefaultDepthFilterConfig()
Reset depth filter config to device default define.
+
const char * getCurrentPresetName()
Get current preset name.
+
void loadPresetFromJsonFile(const char *filePath)
Load custom preset from file.
+
void loadPreset(const char *presetName)
load the preset according to the preset name.
+
virtual ~Device() noexcept
+
void exportSettingsAsPresetJsonData(const char *presetName, const uint8_t **data, uint32_t *dataSize)
Export current device settings as a preset json data.
+
void loadDepthFilterConfig(const char *filePath)
Load depth filter config from file.
+
std::shared_ptr< DevicePresetList > getAvailablePresetList()
Get available preset list.
+
std::unique_ptr< DeviceImpl > impl_
Definition Device.hpp:31
+
Class representing a list of OBDepthWorkMode.
Definition Device.hpp:887
+
uint32_t count()
Get the number of OBDepthWorkMode objects in the list.
+
const char * getName(uint32_t index)
Get the name of the depth work mode at the specified index.
+
OBDepthWorkModeList(std::unique_ptr< OBDepthWorkModeListImpl > impl_)
+ +
OBDepthWorkMode getOBDepthWorkMode(uint32_t index)
Get the OBDepthWorkMode object at the specified index.
+
OBDepthWorkMode operator[](uint32_t index)
Get the OBDepthWorkMode object at the specified index.
+ + + + +
Definition Context.hpp:16
+
Structure for boolean range.
Definition ObTypes.h:363
+
Structure for camera parameters.
Definition ObTypes.h:456
+
Internal API for future publication.
Definition ObTypes.h:1049
+
Depth work mode.
Definition ObTypes.h:931
+
Device synchronization configuration.
Definition ObTypes.h:875
+
Structure for float range.
Definition ObTypes.h:330
+
Structure for integer range.
Definition ObTypes.h:319
+
Used to describe the characteristics of each property.
Definition Property.h:723
+
Control command protocol version number.
Definition ObTypes.h:1003
+
The timestamp reset configuration of the device.
Definition ObTypes.h:1368
+
The synchronization configuration of the device.
Definition ObTypes.h:1304
+
+ + + + diff --git a/doc/api/English/Error_8hpp_source.html b/doc/api/English/Error_8hpp_source.html new file mode 100644 index 00000000..858d845c --- /dev/null +++ b/doc/api/English/Error_8hpp_source.html @@ -0,0 +1,124 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/Error.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Error.hpp
+
+
+Go to the documentation of this file.
1
+
6#pragma once
+
7
+
8#include "Types.hpp"
+
9#include <memory>
+
10
+
11struct ErrorImpl;
+
12
+
13namespace ob {
+ +
15private:
+
16 std::unique_ptr<ErrorImpl> impl_;
+
17
+
18public:
+
19 Error(std::unique_ptr<ErrorImpl> impl) noexcept;
+
20
+
21 Error(const Error &error) noexcept;
+
22
+
23 ~Error() noexcept;
+
24
+
29 const char *getMessage() const noexcept;
+
30
+
35 OBExceptionType getExceptionType() const noexcept;
+
36
+
41 const char *getName() const noexcept;
+
42
+
47 const char *getArgs() const noexcept;
+
48};
+
49} // namespace ob
+
OBExceptionType
The exception types in the SDK, through the exception type, you can easily determine the specific typ...
Definition ObTypes.h:129
+
#define OB_EXTENSION_API
Definition ObTypes.h:28
+
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
+ +
Error(const Error &error) noexcept
+
Error(std::unique_ptr< ErrorImpl > impl) noexcept
+
~Error() noexcept
+
Definition Context.hpp:16
+
+ + + + diff --git a/doc/api/English/ObSensor_8hpp_source.html b/doc/api/English/ObSensor_8hpp_source.html new file mode 100644 index 00000000..a3bc71d3 --- /dev/null +++ b/doc/api/English/ObSensor_8hpp_source.html @@ -0,0 +1,114 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/ObSensor.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
ObSensor.hpp
+
+
+Go to the documentation of this file.
1/* License: Apache 2.0. See LICENSE file in root directory.
+
2 Copyright(c) 2020 Orbbec Corporation. All Rights Reserved. */
+
3
+
9#pragma once
+
10
+ + + + + + + + + + + +
The SDK context class, which serves as the entry point to the underlying SDK. It is used to query dev...
+
Device related types, including operations such as getting and creating a device, setting and obtaini...
+
This file defines the Error class, which describes abnormal errors within the SDK....
+
This file contains the Filter class, which is the processing unit of the SDK that can perform point c...
+
Frame related type, which is mainly used to obtain frame data and frame information.
+
The SDK's advanced API type can quickly implement switching streaming and frame synchronization opera...
+
Header file for recording and playback functions.
+
Defines types related to sensors, which are used to obtain stream configurations, open and close stre...
+
The stream profile related type is used to get information such as the width, height,...
+
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
+
Provides functions to retrieve version information of the SDK.
+
+ + + + diff --git a/doc/api/English/ObTypes_8h_source.html b/doc/api/English/ObTypes_8h_source.html new file mode 100644 index 00000000..0f93d61b --- /dev/null +++ b/doc/api/English/ObTypes_8h_source.html @@ -0,0 +1,1795 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/h/ObTypes.h Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
ObTypes.h
+
+
+Go to the documentation of this file.
1// License: Apache 2.0. See LICENSE file in root directory.
+
2// Copyright(c) 2020 Orbbec Corporation. All Rights Reserved.
+
3
+
9#pragma once
+
10#if(defined(WIN32) || defined(_WIN32) || defined(WINCE))
+
11#ifdef OB_EXPORTS
+
12#define OB_EXTENSION_API __declspec(dllexport)
+
13#define OB_EXTENSION_INTERNAL_API __declspec(dllexport)
+
14#elif defined(OB2_EXPORTS)
+
15#define OB_EXTENSION_API __declspec(dllexport)
+
16#define OB_EXTENSION_INTERNAL_API
+
17#else
+
18#ifndef OB_STATIC
+
19#define OB_EXTENSION_API __declspec(dllimport)
+
20#define OB_EXTENSION_INTERNAL_API __declspec(dllimport)
+
21#else
+
22#define OB_EXTENSION_API
+
23#define OB_EXTENSION_INTERNAL_API
+
24#endif
+
25#endif
+
26#else
+
27#ifndef OB_STATIC
+
28#define OB_EXTENSION_API __attribute__((visibility("default")))
+
29#define OB_EXTENSION_INTERNAL_API __attribute__((visibility("default")))
+
30#else
+
31#define OB_EXTENSION_API
+
32#define OB_EXTENSION_INTERNAL_API
+
33#endif
+
34#endif
+
35
+
36#if defined(__GNUC__) || defined(__clang__)
+
37#define DEPRECATED __attribute__((deprecated))
+
38#elif defined(_MSC_VER)
+
39#define DEPRECATED __declspec(deprecated)
+
40#else
+
41#pragma message("WARNING: You need to implement DEPRECATED for this compiler")
+
42#define DEPRECATED
+
43#endif
+
44
+
45#pragma pack(push, 1) // struct 1-byte align
+
46
+
47#ifdef __cplusplus
+
48extern "C" {
+
49#endif
+
50
+
51#include <stdbool.h>
+
52#include <stdint.h>
+
53
+
54typedef struct ContextImpl ob_context;
+
55typedef struct DeviceImpl ob_device;
+
56typedef struct DeviceInfoImpl ob_device_info;
+
57typedef struct DeviceListImpl ob_device_list;
+
58typedef struct CameraParamListImpl ob_camera_param_list;
+
59typedef struct SensorImpl ob_sensor;
+
60typedef struct SensorListImpl ob_sensor_list;
+
61typedef struct StreamProfileImpl ob_stream_profile;
+
62typedef struct StreamProfileListImpl ob_stream_profile_list;
+
63typedef struct CFrameImpl ob_frame;
+
64typedef struct FilterImpl ob_filter;
+
65typedef struct PipelineImpl ob_pipeline;
+
66typedef struct ConfigImpl ob_config;
+
67typedef struct RecorderImpl ob_recorder;
+
68typedef struct PlaybackImpl ob_playback;
+
69typedef struct OBDepthWorkModeListImpl ob_depth_work_mode_list;
+
70typedef struct FilterListImpl ob_filter_list;
+
71typedef struct OBFilterListImpl ob_filters;
+
72typedef struct DevicePresetListImpl ob_device_preset_list;
+
73
+
74#define OB_WIDTH_ANY 0
+
75#define OB_HEIGHT_ANY 0
+
76#define OB_FPS_ANY 0
+
77#define OB_FORMAT_ANY OB_FORMAT_UNKNOWN
+
78#define OB_PROFILE_DEFAULT 0
+
79
+
83typedef enum {
+ + + + + + +
90
+
94typedef enum {
+ + + + + + + +
102
+
106typedef enum {
+ + +
109} OBStatus,
+ +
111
+
115typedef enum {
+ + + + + + + + +
124#define OB_LOG_SEVERITY_NONE OB_LOG_SEVERITY_OFF
+
129typedef enum {
+ + + + + + + + + + + +
142
+
146typedef struct ob_error {
+ +
148 char message[256];
+
149 char function[256];
+
150 char args[256];
+ + +
153
+
157typedef enum {
+ + + + + + + + + + + + +
170
+
174typedef enum {
+ + + + + + + + + + + + +
187
+
191typedef enum {
+ + + + + + + + + + + + + + +
206
+
210typedef enum {
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
246} OBFormat,
+ +
248
+
249#define OB_FORMAT_RGB888 OB_FORMAT_RGB // Alias of OB_FORMAT_RGB for compatibility
+
250#define OB_FORMAT_MJPEG OB_FORMAT_MJPG // Alias of OB_FORMAT_MJPG for compatibility
+
251
+
255typedef enum {
+ + + + + + + + + + + + +
268 ERR_DDR = -7,
+
269 ERR_TIMEOUT = -8
+ + +
272
+
276typedef enum {
+ + + + + + + + + + + +
288
+
292typedef enum {
+ + + + + + + + + + + + +
305
+
309typedef struct {
+
310 uint8_t *data;
+
311 uint32_t size;
+
312 uint32_t offset;
+
313 uint32_t fullDataSize;
+ +
315
+
319typedef struct {
+
320 int32_t cur;
+
321 int32_t max;
+
322 int32_t min;
+
323 int32_t step;
+
324 int32_t def;
+ +
326
+
330typedef struct {
+
331 float cur;
+
332 float max;
+
333 float min;
+
334 float step;
+
335 float def;
+ +
337
+
341typedef struct {
+
342 uint16_t cur;
+
343 uint16_t max;
+
344 uint16_t min;
+
345 uint16_t step;
+
346 uint16_t def;
+ +
348
+
352typedef struct {
+
353 uint8_t cur;
+
354 uint8_t max;
+
355 uint8_t min;
+
356 uint8_t step;
+
357 uint8_t def;
+ +
359
+
363typedef struct {
+
364 bool cur;
+
365 bool max;
+
366 bool min;
+
367 bool step;
+
368 bool def;
+ +
370
+
374typedef struct {
+
375 float fx;
+
376 float fy;
+
377 float cx;
+
378 float cy;
+
379 int16_t width;
+
380 int16_t height;
+ +
382
+
386typedef struct {
+ +
388 double randomWalk;
+ +
390 double bias[3];
+
391 double gravity[3];
+
392 double scaleMisalignment[9];
+
393 double tempSlope[9];
+ +
395
+
399typedef struct {
+ +
401 double randomWalk;
+ +
403 double bias[3];
+
404 double scaleMisalignment[9];
+
405 double tempSlope[9];
+ +
407
+
411typedef struct {
+
412 float k1;
+
413 float k2;
+
414 float k3;
+
415 float k4;
+
416 float k5;
+
417 float k6;
+
418 float p1;
+
419 float p2;
+ +
421
+
423typedef enum {
+ + + + + + +
431
+
433typedef struct {
+
434 int width;
+
435 int height;
+
436 float ppx;
+
437 float ppy;
+
438 float fx;
+
439 float fy;
+ +
441 float coeffs[5];
+ +
444
+
448typedef struct {
+
449 float rot[9];
+
450 float trans[3];
+ +
452
+
456typedef struct {
+ + + + + + + +
464
+
468typedef struct {
+ + + +
472
+ + + +
476
+
480typedef struct {
+ + + + +
486
+
490typedef struct {
+ + + + +
495 uint32_t width;
+
496 uint32_t height;
+ + +
499
+
503typedef struct {
+
504 uint32_t width;
+
505 uint32_t height;
+ + + + + + + + +
514
+
518typedef enum {
+ + + + + +
524
+
528typedef struct {
+
529 uint32_t x;
+
530 uint32_t y;
+
531 uint32_t width;
+
532 uint32_t height;
+ +
534
+
538typedef enum {
+ + + + + + + + + + + + + + + + + + + + +
559
+
560// DEPRECATED: Only used for old version program compatibility, will be completely deleted in subsequent iterative versions
+
561#define FORMAT_MJPEG_TO_I420 FORMAT_MJPG_TO_I420
+
562#define FORMAT_MJPEG_TO_NV21 FORMAT_MJPG_TO_NV21
+
563#define FORMAT_MJPEG_TO_BGRA FORMAT_MJPG_TO_BGRA
+
564#define FORMAT_YUYV_TO_RGB888 FORMAT_YUYV_TO_RGB
+
565#define FORMAT_I420_TO_RGB888 FORMAT_I420_TO_RGB
+
566#define FORMAT_NV21_TO_RGB888 FORMAT_NV21_TO_RGB
+
567#define FORMAT_NV12_TO_RGB888 FORMAT_NV12_TO_RGB
+
568#define FORMAT_UYVY_TO_RGB888 FORMAT_UYVY_TO_RGB
+
569#define FORMAT_MJPG_TO_RGB888 FORMAT_MJPG_TO_RGB
+
570#define FORMAT_MJPG_TO_BGR888 FORMAT_MJPG_TO_BGR
+
571#define FORMAT_MJPEG_TO_RGB888 FORMAT_MJPG_TO_RGB
+
572#define FORMAT_MJPEG_TO_BGR888 FORMAT_MJPG_TO_BGR
+
573#define FORMAT_RGB888_TO_BGR FORMAT_RGB_TO_BGR
+
574
+
578typedef enum {
+ + + + + + + + + + + + + + + + + +
596
+
600typedef enum {
+ + + + + + + + + + +
611
+
615typedef enum {
+ + + + + + +
622
+
626typedef struct {
+
627 float x;
+
628 float y;
+
629 float z;
+ +
631
+ +
636
+
640typedef struct {
+
641 float cpuTemp;
+
642 float irTemp;
+
643 float ldmTemp;
+ +
645 float tecTemp;
+
646 float imuTemp;
+
647 float rgbTemp;
+ + + + + +
653
+
657typedef enum {
+ + + + + +
663
+
667typedef enum {
+ + + + + +
673
+
677typedef enum {
+ + + + + + + + + + + + + + +
693
+
697typedef enum {
+ + + + + + +
704
+
710typedef enum {
+ + + + + + + + + + + +
722
+
726typedef enum {
+ + + + + + +
736typedef struct {
+
737 float x;
+
738 float y;
+
739 float z;
+ +
741
+
745typedef struct {
+
746 float x;
+
747 float y;
+ +
749
+
750typedef struct {
+
751 float *xTable;
+
752 float *yTable;
+
753 int width;
+
754 int height;
+ +
756
+
760typedef struct {
+
761 float x;
+
762 float y;
+
763 float z;
+
764 float r;
+
765 float g;
+
766 float b;
+ +
768
+
772typedef enum {
+ + + + +
777
+
781typedef struct {
+ + +
787
+
791typedef struct {
+
792 int32_t upper;
+
793 int32_t lower;
+ +
795
+
800typedef enum {
+ +
807
+ +
814
+ +
821
+ +
831
+ +
838
+ +
845
+ +
854
+ +
862
+ +
867
+
868} OBSyncMode,
+ +
870
+
875typedef struct {
+ +
880
+ +
888
+ +
896
+ +
904
+ +
913
+ +
921
+
925 uint16_t deviceId;
+
926
+ +
931typedef struct {
+
935 uint8_t checksum[16];
+
936
+
940 char name[32];
+ +
942
+
946typedef struct {
+ +
948 char name[8];
+ +
950
+
954typedef enum {
+ +
956 OB_HOLE_FILL_NEAREST = 1, // "max" means farest for depth, and nearest for disparity; FILL_NEAREST
+
957 OB_HOLE_FILL_FAREST = 2, // FILL_FAREST
+ + +
960
+
961typedef struct {
+
962 uint8_t magnitude; // magnitude
+
963 float alpha; // smooth_alpha
+
964 uint16_t disp_diff; // smooth_delta
+
965 uint16_t radius; // hole_fill
+ +
967
+ + +
970 OB_MGH_FILTER = 1, // horizontal MG
+
971 OB_MGA_FILTER = 2, // asym MG
+ + + +
975
+
976typedef struct {
+ +
978 uint16_t marginLeftTh;
+ +
980 uint16_t marginTopTh;
+ + +
983
+ +
988 OB_NR_LUT = 0, // SPLIT
+
989 OB_NR_OVERALL = 1, // NON_SPLIT
+ + +
992
+
993typedef struct {
+
994 uint16_t max_size;
+
995 uint16_t disp_diff;
+ + +
998;
+
999
+
1003typedef struct {
+
1007 uint8_t major;
+
1008
+
1012 uint8_t minor;
+
1013
+
1017 uint8_t patch;
+ +
1019
+
1023typedef enum {
+
1024 OB_CMD_VERSION_V0 = (uint16_t)0,
+
1025 OB_CMD_VERSION_V1 = (uint16_t)1,
+
1026 OB_CMD_VERSION_V2 = (uint16_t)2,
+
1027 OB_CMD_VERSION_V3 = (uint16_t)3,
+
1028
+
1029 OB_CMD_VERSION_NOVERSION = (uint16_t)0xfffe,
+
1030 OB_CMD_VERSION_INVALID = (uint16_t)0xffff,
+ + +
1033
+
1049typedef struct OBDataBundle {
+ +
1054
+
1060 void *data;
+
1061
+
1067 uint32_t dataSize;
+
1068
+ +
1075
+
1081 uint32_t itemCount;
+ +
1083
+
1087typedef struct {
+
1093 uint16_t dhcp;
+
1094
+
1098 uint8_t address[4];
+
1099
+
1103 uint8_t mask[4];
+
1104
+
1108 uint8_t gateway[4];
+ +
1110
+
1111#define OBDeviceIpAddrConfig OBNetIpConfig
+
1112#define ob_device_ip_addr_config OBNetIpConfig
+
1113
+
1117typedef enum {
+ + + + +
1122
+
1126typedef enum {
+ + + + + + +
1133
+
1137typedef enum {
+ + + + +
1142
+
1146typedef enum {
+ + + + + + +
1153
+
1157typedef enum {
+ + + + + +
1163
+
1167typedef enum {
+ +
1172
+ +
1180
+ + + +
1189
+
1193typedef enum {
+ + + + +
1198
+
1202typedef enum {
+ +
1207
+ + + +
1214
+
1218typedef enum {
+
1219
+ +
1226
+ +
1233
+ +
1242
+ +
1255
+ +
1268
+ +
1281
+ +
1297
+ + +
1300
+
1304typedef struct {
+ +
1309
+ +
1316
+ +
1323
+ +
1333
+ +
1344
+ +
1352
+ + +
1363
+
1368typedef struct {
+ +
1378
+ +
1383
+ + +
1391
+
1395typedef struct {
+ +
1403 float zpd;
+ +
1405
+
1409typedef struct {
+
1410
+
1418 uint8_t enable;
+ +
1420 uint32_t exposure_1;
+
1421 uint32_t gain_1;
+
1422 uint32_t exposure_2;
+
1423 uint32_t gain_2;
+ +
1425
+
1429typedef struct {
+
1430 int16_t x0_left;
+
1431 int16_t y0_top;
+
1432 int16_t x1_right;
+
1433 int16_t y1_bottom;
+ +
1435
+
1440typedef enum {
+ +
1447
+ +
1455
+ +
1460
+ +
1466
+ +
1473
+ +
1480
+ +
1486
+ +
1491
+ +
1496
+ +
1501
+ +
1506
+ +
1511
+ +
1516
+ +
1521
+ +
1526
+ +
1532
+ +
1539
+ +
1544
+ +
1550
+ +
1555
+ +
1560
+ +
1565
+ +
1570
+ +
1575
+ +
1580
+ +
1585
+ +
1590
+ +
1595
+ +
1602
+ +
1607
+ +
1613
+ +
1618
+ + + +
1626
+
1627// For compatibility
+
1628#define OB_FRAME_METADATA_TYPE_LASER_POWER_MODE OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
+
1629#define OB_FRAME_METADATA_TYPE_EMITTER_MODE OB_FRAME_METADATA_TYPE_LASER_STATUS
+
1630
+
1639typedef void (*ob_file_send_callback)(ob_file_tran_state state, const char *message, uint8_t percent, void *user_data);
+
1640
+
1649typedef void (*ob_device_upgrade_callback)(ob_upgrade_state state, const char *message, uint8_t percent, void *user_data);
+
1650
+
1658typedef void (*ob_device_state_callback)(ob_device_state state, const char *message, void *user_data);
+
1659
+
1667typedef void (*ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data);
+
1668
+
1676typedef void (*ob_get_data_callback)(ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data);
+
1677
+
1684typedef void (*ob_media_state_callback)(ob_media_state state, void *user_data);
+
1685
+
1693typedef void (*ob_device_changed_callback)(ob_device_list *removed, ob_device_list *added, void *user_data);
+
1694
+
1695// typedef void (*ob_net_device_added_callback)(const char *added, void *user_data);
+
1696// typedef void (*ob_net_device_removed_callback)(const char *removed, void *user_data);
+
1697
+
1704typedef void (*ob_frame_callback)(ob_frame *frame, void *user_data);
+
1705#define ob_filter_callback ob_frame_callback
+
1706#define ob_playback_callback ob_frame_callback
+
1707
+
1714typedef void (*ob_frameset_callback)(ob_frame *frameset, void *user_data);
+
1715
+
1722typedef void(ob_frame_destroy_callback)(void *buffer, void *user_data);
+
1723
+
1731typedef void(ob_log_callback)(ob_log_severity severity, const char *message, void *user_data);
+
1732
+
1739#define is_ir_sensor(sensor_type) (sensor_type == OB_SENSOR_IR || sensor_type == OB_SENSOR_IR_LEFT || sensor_type == OB_SENSOR_IR_RIGHT)
+
1740#define isIRSensor is_ir_sensor
+
1741
+
1748#define is_ir_stream(stream_type) (stream_type == OB_STREAM_IR || stream_type == OB_STREAM_IR_LEFT || stream_type == OB_STREAM_IR_RIGHT)
+
1749#define isIRStream is_ir_stream
+
1750
+
1757#define is_ir_frame(frame_type) (frame_type == OB_FRAME_IR || frame_type == OB_FRAME_IR_LEFT || frame_type == OB_FRAME_IR_RIGHT)
+
1758#define isIRFrame is_ir_frame
+
1759
+
1763#define OB_DEFAULT_DECRYPT_KEY (nullptr)
+
1764
+
1765#ifdef __cplusplus
+
1766}
+
1767#endif
+
1768
+
1769#pragma pack(pop)
+
struct OBAccelValue OBGyroValue
+
struct OBD2CTransform ob_d2c_transform
+
enum OBFormat ob_format
+
enum OBMediaType ob_media_type
+
void(* ob_get_data_callback)(ob_data_tran_state state, ob_data_chunk *dataChunk, void *user_data)
Callback for reading data.
Definition ObTypes.h:1676
+
enum ob_power_line_freq_mode OBPowerLineFreqMode
+
struct OBPoint2f ob_point2f
+
struct OBCameraParam ob_camera_param
+
OBSensorType
Enumeration value describing the sensor type.
Definition ObTypes.h:157
+
@ OB_SENSOR_IR_RIGHT
Definition ObTypes.h:165
+
@ OB_SENSOR_GYRO
Definition ObTypes.h:163
+
@ OB_SENSOR_COLOR
Definition ObTypes.h:160
+
@ OB_SENSOR_UNKNOWN
Definition ObTypes.h:158
+
@ OB_SENSOR_IR
Definition ObTypes.h:159
+
@ OB_SENSOR_DEPTH
Definition ObTypes.h:161
+
@ OB_SENSOR_COUNT
Definition ObTypes.h:167
+
@ OB_SENSOR_IR_LEFT
Definition ObTypes.h:164
+
@ OB_SENSOR_ACCEL
Definition ObTypes.h:162
+
@ OB_SENSOR_RAW_PHASE
Definition ObTypes.h:166
+
enum OBSyncMode ob_sync_mode
+
enum OBUpgradeState ob_upgrade_state
+
void(* ob_device_changed_callback)(ob_device_list *removed, ob_device_list *added, void *user_data)
Callback for device change.
Definition ObTypes.h:1693
+
struct OBSequenceIdItem ob_sequence_id_item
+
struct PipelineImpl ob_pipeline
Definition ObTypes.h:65
+
enum OBDCPowerState ob_dc_power_state
+
struct OBColorPoint ob_color_point
+
struct OBDeviceSyncConfig OB_DEVICE_SYNC_CONFIG
+
struct OBPoint OBPoint3f
+
OBStatus
error code
Definition ObTypes.h:106
+
@ OB_STATUS_OK
Definition ObTypes.h:107
+
@ OB_STATUS_ERROR
Definition ObTypes.h:108
+
struct FilterListImpl ob_filter_list
Definition ObTypes.h:70
+
enum OB_DDO_NOISE_REMOVAL_TYPE ob_ddo_noise_removal_type
+
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
Definition ObTypes.h:600
+
@ OB_GYRO_FS_500dps
Definition ObTypes.h:606
+
@ OB_GYRO_FS_250dps
Definition ObTypes.h:605
+
@ OB_GYRO_FS_62dps
Definition ObTypes.h:603
+
@ OB_GYRO_FS_16dps
Definition ObTypes.h:601
+
@ OB_GYRO_FS_125dps
Definition ObTypes.h:604
+
@ OB_GYRO_FS_1000dps
Definition ObTypes.h:607
+
@ OB_GYRO_FS_31dps
Definition ObTypes.h:602
+
@ OB_GYRO_FS_2000dps
Definition ObTypes.h:608
+
struct BASELINE_CALIBRATION_PARAM ob_baseline_calibration_param
+
enum OB_EDGE_NOISE_REMOVAL_TYPE OBEdgeNoiseRemovalType
+
enum OBLogSeverity OBDeviceLogSeverityLevel
+
struct OBXYTables ob_xy_tables
+
uint64_t OBDeviceState
Device state.
Definition ObTypes.h:635
+
struct PlaybackImpl ob_playback
Definition ObTypes.h:68
+
struct OBDeviceTemperature DEVICE_TEMPERATURE
+
enum OBExceptionType ob_exception_type
+
enum OB_FRAME_AGGREGATE_OUTPUT_MODE ob_frame_aggregate_output_mode
+
enum OBGyroSampleRate ob_gyro_sample_rate
+
ob_power_line_freq_mode
Power line frequency mode, for color camera anti-flicker configuration.
Definition ObTypes.h:1157
+
@ OB_POWER_LINE_FREQ_MODE_60HZ
60Hz
Definition ObTypes.h:1160
+
@ OB_POWER_LINE_FREQ_MODE_50HZ
50Hz
Definition ObTypes.h:1159
+
@ OB_POWER_LINE_FREQ_MODE_CLOSE
Close.
Definition ObTypes.h:1158
+
struct CFrameImpl ob_frame
Definition ObTypes.h:63
+
OBMediaState
Enumeration for record playback status.
Definition ObTypes.h:697
+
@ OB_MEDIA_BEGIN
Definition ObTypes.h:698
+
@ OB_MEDIA_RESUME
Definition ObTypes.h:700
+
@ OB_MEDIA_END
Definition ObTypes.h:701
+
@ OB_MEDIA_PAUSE
Definition ObTypes.h:699
+
OBFormat
Enumeration value describing the pixel format.
Definition ObTypes.h:210
+
@ OB_FORMAT_YUYV
Definition ObTypes.h:211
+
@ OB_FORMAT_Y11
Definition ObTypes.h:222
+
@ OB_FORMAT_ACCEL
Definition ObTypes.h:227
+
@ OB_FORMAT_Y16
Definition ObTypes.h:219
+
@ OB_FORMAT_RGB_POINT
Definition ObTypes.h:230
+
@ OB_FORMAT_BA81
Definition ObTypes.h:240
+
@ OB_FORMAT_YV12
Definition ObTypes.h:239
+
@ OB_FORMAT_RGBA
Definition ObTypes.h:241
+
@ OB_FORMAT_BGR
Definition ObTypes.h:233
+
@ OB_FORMAT_Z16
Definition ObTypes.h:238
+
@ OB_FORMAT_Y12
Definition ObTypes.h:223
+
@ OB_FORMAT_BGRA
Definition ObTypes.h:235
+
@ OB_FORMAT_NV21
Definition ObTypes.h:215
+
@ OB_FORMAT_RGB
Definition ObTypes.h:232
+
@ OB_FORMAT_UNKNOWN
Definition ObTypes.h:245
+
@ OB_FORMAT_Y10
Definition ObTypes.h:221
+
@ OB_FORMAT_H265
Definition ObTypes.h:218
+
@ OB_FORMAT_DISP16
Definition ObTypes.h:244
+
@ OB_FORMAT_UYVY
Definition ObTypes.h:213
+
@ OB_FORMAT_Y14
Definition ObTypes.h:234
+
@ OB_FORMAT_I420
Definition ObTypes.h:226
+
@ OB_FORMAT_YUY2
Definition ObTypes.h:212
+
@ OB_FORMAT_BYR2
Definition ObTypes.h:242
+
@ OB_FORMAT_RLE
Definition ObTypes.h:231
+
@ OB_FORMAT_MJPG
Definition ObTypes.h:216
+
@ OB_FORMAT_COMPRESSED
Definition ObTypes.h:236
+
@ OB_FORMAT_GRAY
Definition ObTypes.h:224
+
@ OB_FORMAT_H264
Definition ObTypes.h:217
+
@ OB_FORMAT_POINT
Definition ObTypes.h:229
+
@ OB_FORMAT_RVL
Definition ObTypes.h:237
+
@ OB_FORMAT_RW16
Definition ObTypes.h:243
+
@ OB_FORMAT_GYRO
Definition ObTypes.h:228
+
@ OB_FORMAT_Y8
Definition ObTypes.h:220
+
@ OB_FORMAT_NV12
Definition ObTypes.h:214
+
@ OB_FORMAT_HEVC
Definition ObTypes.h:225
+
OBHPStatusCode
send data or receive data return status type
Definition ObTypes.h:83
+
@ HP_STATUS_OK
Definition ObTypes.h:84
+
@ HP_STATUS_CONTROL_TRANSFER_FAILED
Definition ObTypes.h:86
+
@ HP_STATUS_NO_DEVICE_FOUND
Definition ObTypes.h:85
+
@ HP_STATUS_UNKNOWN_ERROR
Definition ObTypes.h:87
+
struct OBRect ob_rect
+
enum OBGyroSampleRate OBAccelSampleRate
+
OBCameraDistortionModel
Distortion model: defines how pixel coordinates should be mapped to sensor coordinates.
Definition ObTypes.h:423
+
@ OB_DISTORTION_INVERSE_BROWN_CONRADY
Definition ObTypes.h:427
+
@ OB_DISTORTION_BROWN_CONRADY
Definition ObTypes.h:428
+
@ OB_DISTORTION_MODIFIED_BROWN_CONRADY
Definition ObTypes.h:425
+
@ OB_DISTORTION_NONE
Definition ObTypes.h:424
+
struct OBNoiseRemovalFilterParams ob_noise_removal_filter_params
+
enum OBGyroFullScaleRange ob_gyro_full_scale_range
+
struct OBDataBundle ob_data_bundle
+
OBDataTranState
Enumeration value describing the data transfer status.
Definition ObTypes.h:292
+
@ DATA_TRAN_ERR_TRAN_FAILED
Definition ObTypes.h:300
+
@ DATA_TRAN_STAT_VERIFYING
Definition ObTypes.h:296
+
@ DATA_TRAN_STAT_TRANSFERRING
Definition ObTypes.h:297
+
@ DATA_TRAN_ERR_OTHER
Definition ObTypes.h:302
+
@ DATA_TRAN_ERR_VERIFY_FAILED
Definition ObTypes.h:301
+
@ DATA_TRAN_ERR_UNSUPPORTED
Definition ObTypes.h:299
+
@ DATA_TRAN_STAT_DONE
Definition ObTypes.h:295
+
@ DATA_TRAN_ERR_BUSY
Definition ObTypes.h:298
+
@ DATA_TRAN_STAT_VERIFY_DONE
Definition ObTypes.h:293
+
@ DATA_TRAN_STAT_STOPPED
Definition ObTypes.h:294
+
OBGyroSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer)
Definition ObTypes.h:578
+
@ OB_SAMPLE_RATE_100_HZ
Definition ObTypes.h:585
+
@ OB_SAMPLE_RATE_4_KHZ
Definition ObTypes.h:590
+
@ OB_SAMPLE_RATE_3_125_HZ
Definition ObTypes.h:580
+
@ OB_SAMPLE_RATE_6_25_HZ
Definition ObTypes.h:581
+
@ OB_SAMPLE_RATE_500_HZ
Definition ObTypes.h:587
+
@ OB_SAMPLE_RATE_32_KHZ
Definition ObTypes.h:593
+
@ OB_SAMPLE_RATE_50_HZ
Definition ObTypes.h:584
+
@ OB_SAMPLE_RATE_1_5625_HZ
Definition ObTypes.h:579
+
@ OB_SAMPLE_RATE_12_5_HZ
Definition ObTypes.h:582
+
@ OB_SAMPLE_RATE_1_KHZ
Definition ObTypes.h:588
+
@ OB_SAMPLE_RATE_200_HZ
Definition ObTypes.h:586
+
@ OB_SAMPLE_RATE_2_KHZ
Definition ObTypes.h:589
+
@ OB_SAMPLE_RATE_25_HZ
Definition ObTypes.h:583
+
@ OB_SAMPLE_RATE_16_KHZ
Definition ObTypes.h:592
+
@ OB_SAMPLE_RATE_8_KHZ
Definition ObTypes.h:591
+
struct HDR_CONFIG OBHdrConfig
+
enum OBDepthCroppingMode OB_DEPTH_CROPPING_MODE
+
struct OBAccelIntrinsic ob_accel_intrinsic
+
struct DeviceImpl ob_device
Definition ObTypes.h:55
+
OBTofFilterRange
Enumeration for TOF filter scene ranges.
Definition ObTypes.h:726
+
@ OB_TOF_FILTER_RANGE_LONG
Definition ObTypes.h:729
+
@ OB_TOF_FILTER_RANGE_CLOSE
Definition ObTypes.h:727
+
@ OB_TOF_FILTER_RANGE_MIDDLE
Definition ObTypes.h:728
+
@ OB_TOF_FILTER_RANGE_DEBUG
Definition ObTypes.h:730
+
enum ob_multi_device_sync_mode OBMultiDeviceSyncMode
+
enum ob_frame_metadata_type OBFrameMetadataType
+
struct DeviceInfoImpl ob_device_info
Definition ObTypes.h:56
+
OBFrameType
Enumeration value describing the type of frame.
Definition ObTypes.h:191
+
@ OB_FRAME_IR_RIGHT
Definition ObTypes.h:202
+
@ OB_FRAME_ACCEL
Definition ObTypes.h:197
+
@ OB_FRAME_GYRO
Definition ObTypes.h:200
+
@ OB_FRAME_IR_LEFT
Definition ObTypes.h:201
+
@ OB_FRAME_VIDEO
Definition ObTypes.h:193
+
@ OB_FRAME_COLOR
Definition ObTypes.h:195
+
@ OB_FRAME_UNKNOWN
Definition ObTypes.h:192
+
@ OB_FRAME_RAW_PHASE
Definition ObTypes.h:203
+
@ OB_FRAME_SET
Definition ObTypes.h:198
+
@ OB_FRAME_POINTS
Definition ObTypes.h:199
+
@ OB_FRAME_IR
Definition ObTypes.h:194
+
@ OB_FRAME_DEPTH
Definition ObTypes.h:196
+
OBStreamType
Enumeration value describing the type of data stream.
Definition ObTypes.h:174
+
@ OB_STREAM_RAW_PHASE
Definition ObTypes.h:184
+
@ OB_STREAM_GYRO
Definition ObTypes.h:181
+
@ OB_STREAM_UNKNOWN
Definition ObTypes.h:175
+
@ OB_STREAM_IR
Definition ObTypes.h:177
+
@ OB_STREAM_DEPTH
Definition ObTypes.h:179
+
@ OB_STREAM_IR_RIGHT
Definition ObTypes.h:183
+
@ OB_STREAM_IR_LEFT
Definition ObTypes.h:182
+
@ OB_STREAM_VIDEO
Definition ObTypes.h:176
+
@ OB_STREAM_ACCEL
Definition ObTypes.h:180
+
@ OB_STREAM_COLOR
Definition ObTypes.h:178
+
enum OBCompressionMode ob_compression_mode
+
OBDeviceType
Enumeration for device types.
Definition ObTypes.h:667
+
@ OB_STRUCTURED_LIGHT_MONOCULAR_CAMERA
Definition ObTypes.h:668
+
@ OB_TOF_CAMERA
Definition ObTypes.h:670
+
@ OB_STRUCTURED_LIGHT_BINOCULAR_CAMERA
Definition ObTypes.h:669
+
enum OBDeviceType ob_device_type
+
void(* ob_file_send_callback)(ob_file_tran_state state, const char *message, uint8_t percent, void *user_data)
Callback for file transfer.
Definition ObTypes.h:1639
+
enum OB_DEVICE_DEVELOPMENT_MODE ob_device_development_mode
+
struct BASELINE_CALIBRATION_PARAM OBBaselineCalibrationParam
+
struct OBCompressionParams OB_COMPRESSION_PARAMS
+
enum OB_CMD_VERSION ob_cmd_version
+
struct StreamProfileListImpl ob_stream_profile_list
Definition ObTypes.h:62
+
struct SensorListImpl ob_sensor_list
Definition ObTypes.h:60
+
enum OBAccelFullScaleRange OB_ACCEL_FULL_SCALE_RANGE
+
enum OBDepthPrecisionLevel OB_DEPTH_PRECISION_LEVEL
+
struct ConfigImpl ob_config
Definition ObTypes.h:66
+
struct AE_ROI ob_region_of_interest
+
OBDepthCroppingMode
Enumeration for depth crop modes.
Definition ObTypes.h:657
+
@ DEPTH_CROPPING_MODE_AUTO
Definition ObTypes.h:658
+
@ DEPTH_CROPPING_MODE_OPEN
Definition ObTypes.h:660
+
@ DEPTH_CROPPING_MODE_CLOSE
Definition ObTypes.h:659
+
struct OBEdgeNoiseRemovalFilterParams ob_edge_noise_removal_filter_params
+
struct OBCameraDistortion ob_camera_distortion
+
enum OBHoleFillingMode ob_hole_filling_mode
+
enum OB_DDO_NOISE_REMOVAL_TYPE OBDDONoiseRemovalType
去噪方式
+
enum OBTofFilterRange TOF_FILTER_RANGE
+
struct OBNetIpConfig ob_net_ip_config
+
enum OBLogSeverity ob_log_severity
+
OBExceptionType
The exception types in the SDK, through the exception type, you can easily determine the specific typ...
Definition ObTypes.h:129
+
@ OB_EXCEPTION_TYPE_PLATFORM
Definition ObTypes.h:132
+
@ OB_EXCEPTION_TYPE_UNKNOWN
Definition ObTypes.h:130
+
@ OB_EXCEPTION_TYPE_NOT_IMPLEMENTED
Definition ObTypes.h:136
+
@ OB_EXCEPTION_TYPE_WRONG_API_CALL_SEQUENCE
Definition ObTypes.h:135
+
@ OB_EXCEPTION_TYPE_INVALID_VALUE
Definition ObTypes.h:134
+
@ OB_EXCEPTION_TYPE_UNSUPPORTED_OPERATION
Definition ObTypes.h:139
+
@ OB_EXCEPTION_TYPE_IO
Definition ObTypes.h:137
+
@ OB_EXCEPTION_TYPE_MEMORY
Definition ObTypes.h:138
+
@ OB_EXCEPTION_TYPE_CAMERA_DISCONNECTED
Definition ObTypes.h:131
+
struct OBAccelValue ob_accel_value
+
struct OBCompressionParams ob_compression_params
+
enum OBAlignMode ob_align_mode
+
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
Definition ObTypes.h:615
+
@ OB_ACCEL_FS_4g
Definition ObTypes.h:617
+
@ OB_ACCEL_FS_16g
Definition ObTypes.h:619
+
@ OB_ACCEL_FS_2g
Definition ObTypes.h:616
+
@ OB_ACCEL_FS_8g
Definition ObTypes.h:618
+
struct ob_margin_filter_config OBMarginFilterConfig
+
enum OB_COORDINATE_SYSTEM_TYPE ob_coordinate_system_type
+
struct OBCalibrationParam ob_calibration_param
+
void(* ob_device_upgrade_callback)(ob_upgrade_state state, const char *message, uint8_t percent, void *user_data)
Callback for firmware upgrade.
Definition ObTypes.h:1649
+
void() ob_log_callback(ob_log_severity severity, const char *message, void *user_data)
Callback for receiving log.
Definition ObTypes.h:1731
+
enum OBLogSeverity ob_device_log_severity_level
+
enum OBFileTranState ob_file_tran_state
+
OB_CMD_VERSION
Command version associated with property id.
Definition ObTypes.h:1023
+
@ OB_CMD_VERSION_NOVERSION
Definition ObTypes.h:1029
+
@ OB_CMD_VERSION_V0
Version 1.0.
Definition ObTypes.h:1024
+
@ OB_CMD_VERSION_V1
Version 2.0.
Definition ObTypes.h:1025
+
@ OB_CMD_VERSION_INVALID
Invalid version.
Definition ObTypes.h:1030
+
@ OB_CMD_VERSION_V3
Version 4.0.
Definition ObTypes.h:1027
+
@ OB_CMD_VERSION_V2
Version 3.0.
Definition ObTypes.h:1026
+
struct DevicePresetListImpl ob_device_preset_list
Definition ObTypes.h:72
+
void() ob_frame_destroy_callback(void *buffer, void *user_data)
Customize the delete callback.
Definition ObTypes.h:1722
+
enum OBCommunicationType ob_communication_type
+
OBFileTranState
Enumeration value describing the file transfer status.
Definition ObTypes.h:276
+
@ FILE_TRAN_ERR_DDR
Definition ObTypes.h:280
+
@ FILE_TRAN_STAT_DONE
Definition ObTypes.h:278
+
@ FILE_TRAN_ERR_MD5_ERROR
Definition ObTypes.h:283
+
@ FILE_TRAN_ERR_NOT_ENOUGH_SPACE
Definition ObTypes.h:281
+
@ FILE_TRAN_ERR_WRITE_FLASH_ERROR
Definition ObTypes.h:284
+
@ FILE_TRAN_ERR_PATH_NOT_WRITABLE
Definition ObTypes.h:282
+
@ FILE_TRAN_ERR_TIMEOUT
Definition ObTypes.h:285
+
@ FILE_TRAN_STAT_PREPAR
Definition ObTypes.h:279
+
@ FILE_TRAN_STAT_TRANSFER
Definition ObTypes.h:277
+
OBCommunicationType
Device communication mode.
Definition ObTypes.h:1117
+
@ OB_COMM_NET
Ethernet.
Definition ObTypes.h:1119
+
@ OB_COMM_USB
USB.
Definition ObTypes.h:1118
+
enum OBUSBPowerState ob_usb_power_state
+
enum OBTofFilterRange ob_tof_filter_range
+
struct OBDeviceTemperature ob_device_temperature
+
struct OBDataChunk ob_data_chunk
+
struct OBUint8PropertyRange ob_uint8_property_range
+
struct DeviceListImpl ob_device_list
Definition ObTypes.h:57
+
struct SensorImpl ob_sensor
Definition ObTypes.h:59
+
enum OBConvertFormat ob_convert_format
+
enum OBStreamType ob_stream_type
+
enum OBDataTranState ob_data_tran_state
+
OBSyncMode
Sync mode.
Definition ObTypes.h:800
+
@ OB_SYNC_MODE_STANDALONE
Standalone synchronize mode.
Definition ObTypes.h:813
+
@ OB_SYNC_MODE_CLOSE
Close synchronize mode.
Definition ObTypes.h:806
+
@ OB_SYNC_MODE_PRIMARY
Primary synchronize mode.
Definition ObTypes.h:820
+
@ OB_SYNC_MODE_PRIMARY_MCU_TRIGGER
MCU Primary synchronize mode.
Definition ObTypes.h:837
+
@ OB_SYNC_MODE_SECONDARY
Secondary synchronize mode.
Definition ObTypes.h:830
+
@ OB_SYNC_MODE_PRIMARY_SOFT_TRIGGER
Software trigger synchronize mode.
Definition ObTypes.h:853
+
@ OB_SYNC_MODE_PRIMARY_IR_TRIGGER
IR Primary synchronize mode.
Definition ObTypes.h:844
+
@ OB_SYNC_MODE_UNKNOWN
Unknown type.
Definition ObTypes.h:866
+
@ OB_SYNC_MODE_SECONDARY_SOFT_TRIGGER
Software trigger synchronize mode as secondary device.
Definition ObTypes.h:861
+
struct OBAccelValue ob_gyro_value
+
enum OB_DEVICE_DEVELOPMENT_MODE OBDeviceDevelopmentMode
+
struct OBPoint ob_point
+
struct OBSpatialAdvancedFilterParams ob_spatial_advanced_filter_params
+
enum OBGyroSampleRate ob_accel_sample_rate
+
struct OBTofExposureThresholdControl ob_tof_exposure_threshold_control
+
struct RecorderImpl ob_recorder
Definition ObTypes.h:67
+
struct OBDepthWorkMode ob_depth_work_mode
+
enum OBHPStatusCode ob_hp_status_code
+
struct ob_device_timestamp_reset_config OBDeviceTimestampResetConfig
+
enum OB_COORDINATE_SYSTEM_TYPE OBCoordinateSystemType
+
enum OBCompressionMode OB_COMPRESSION_MODE
+
struct HDR_CONFIG ob_hdr_config
+
struct OBD2CTransform OBExtrinsic
+
enum OBMediaState OB_MEDIA_STATE_EM
+
struct OBFloatPropertyRange ob_float_property_range
+
enum OB_FRAME_AGGREGATE_OUTPUT_MODE OBFrameAggregateOutputMode
+
OB_FRAME_AGGREGATE_OUTPUT_MODE
Frame aggregate output mode.
Definition ObTypes.h:1167
+
@ OB_FRAME_AGGREGATE_OUTPUT_COLOR_FRAME_REQUIRE
Color Frame Require output mode.
Definition ObTypes.h:1179
+
@ OB_FRAME_AGGREGATE_OUTPUT_FULL_FRAME_REQUIRE
Only FrameSet that contains all types of data frames will be output.
Definition ObTypes.h:1171
+
@ OB_FRAME_AGGREGATE_OUTPUT_ANY_SITUATION
FrameSet for any case will be output.
Definition ObTypes.h:1186
+
OB_EDGE_NOISE_REMOVAL_TYPE
Definition ObTypes.h:968
+
@ OB_MGA_FILTER
Definition ObTypes.h:971
+
@ OB_MGC_FILTER
Definition ObTypes.h:972
+
@ OB_MGH_FILTER
Definition ObTypes.h:970
+
@ OB_MG_FILTER
Definition ObTypes.h:969
+
struct OBBoolPropertyRange ob_bool_property_range
+
OB_DEVICE_DEVELOPMENT_MODE
Enumeration of device development modes.
Definition ObTypes.h:1202
+
@ OB_USER_MODE
User mode (default mode), which provides full camera device functionality.
Definition ObTypes.h:1206
+
@ OB_DEVELOPER_MODE
Developer mode, which allows developers to access the operating system and software/hardware resource...
Definition ObTypes.h:1211
+
struct OBDeviceSyncConfig ob_device_sync_config
+
struct ob_multi_device_sync_config OBMultiDeviceSyncConfig
+
enum OB_EDGE_NOISE_REMOVAL_TYPE ob_edge_noise_removal_type
+
struct StreamProfileImpl ob_stream_profile
Definition ObTypes.h:61
+
OB_DDO_NOISE_REMOVAL_TYPE
去噪方式
Definition ObTypes.h:987
+
@ OB_NR_OVERALL
Definition ObTypes.h:989
+
@ OB_NR_LUT
Definition ObTypes.h:988
+
struct FilterImpl ob_filter
Definition ObTypes.h:64
+
ob_multi_device_sync_mode
The synchronization mode of the device.
Definition ObTypes.h:1218
+
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY
secondary mode
Definition ObTypes.h:1254
+
@ OB_MULTI_DEVICE_SYNC_MODE_SOFTWARE_TRIGGERING
software triggering mode
Definition ObTypes.h:1280
+
@ OB_MULTI_DEVICE_SYNC_MODE_HARDWARE_TRIGGERING
hardware triggering mode
Definition ObTypes.h:1296
+
@ OB_MULTI_DEVICE_SYNC_MODE_STANDALONE
standalone mode
Definition ObTypes.h:1232
+
@ OB_MULTI_DEVICE_SYNC_MODE_SECONDARY_SYNCED
secondary synced mode
Definition ObTypes.h:1267
+
@ OB_MULTI_DEVICE_SYNC_MODE_PRIMARY
primary mode
Definition ObTypes.h:1241
+
@ OB_MULTI_DEVICE_SYNC_MODE_FREE_RUN
free run mode
Definition ObTypes.h:1225
+
OBPermissionType
the permission type of api or property
Definition ObTypes.h:94
+
@ OB_PERMISSION_DENY
Definition ObTypes.h:95
+
@ OB_PERMISSION_ANY
Definition ObTypes.h:99
+
@ OB_PERMISSION_READ
Definition ObTypes.h:96
+
@ OB_PERMISSION_READ_WRITE
Definition ObTypes.h:98
+
@ OB_PERMISSION_WRITE
Definition ObTypes.h:97
+
struct AE_ROI OBRegionOfInterest
+
OBCompressionMode
Compression mode.
Definition ObTypes.h:772
+
@ OB_COMPRESSION_LOSSY
Definition ObTypes.h:774
+
@ OB_COMPRESSION_LOSSLESS
Definition ObTypes.h:773
+
OBDCPowerState
DC power status.
Definition ObTypes.h:1137
+
@ OB_DC_POWER_PLUGIN
Plugin.
Definition ObTypes.h:1139
+
@ OB_DC_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1138
+
struct OBCameraAlignIntrinsic ob_camera_align_intrinsic
+
enum OBAccelFullScaleRange ob_accel_full_scale_range
+
struct OBCameraParam_V0 ob_camera_param_v0
+
struct OBFilterListImpl ob_filters
Definition ObTypes.h:71
+
struct OBNetIpConfig DEVICE_IP_ADDR_CONFIG
+
struct OBIntPropertyRange ob_int_property_range
+
struct ContextImpl ob_context
Definition ObTypes.h:54
+
struct OBGyroIntrinsic ob_gyro_intrinsic
+
struct OBD2CTransform ob_transform
+
OBUpgradeState
Enumeration value describing the firmware upgrade status.
Definition ObTypes.h:255
+
@ ERR_DDR
Definition ObTypes.h:268
+
@ STAT_DONE
Definition ObTypes.h:258
+
@ ERR_IMAGE_SIZE
Definition ObTypes.h:266
+
@ STAT_IN_PROGRESS
Definition ObTypes.h:259
+
@ ERR_OTHER
Definition ObTypes.h:267
+
@ STAT_VERIFY_IMAGE
Definition ObTypes.h:261
+
@ ERR_FLASH_TYPE
Definition ObTypes.h:265
+
@ ERR_VERIFY
Definition ObTypes.h:262
+
@ ERR_ERASE
Definition ObTypes.h:264
+
@ STAT_VERIFY_SUCCESS
Definition ObTypes.h:256
+
@ STAT_START
Definition ObTypes.h:260
+
@ ERR_TIMEOUT
Definition ObTypes.h:269
+
@ STAT_FILE_TRANSFER
Definition ObTypes.h:257
+
@ ERR_PROGRAM
Definition ObTypes.h:263
+
OBUSBPowerState
USB power status.
Definition ObTypes.h:1126
+
@ OB_USB_POWER_5V_1A5
5V/1.5A
Definition ObTypes.h:1129
+
@ OB_USB_POWER_5V_3A0
5V/3.0A
Definition ObTypes.h:1130
+
@ OB_USB_POWER_5V_0A9
5V/0.9A
Definition ObTypes.h:1128
+
@ OB_USB_POWER_NO_PLUGIN
No plugin.
Definition ObTypes.h:1127
+
enum OB_CMD_VERSION OBCmdVersion
+
struct OBD2CTransform OBTransform
+
enum OBSyncMode OB_SYNC_MODE
+
enum OBFrameType ob_frame_type
+
enum OBCameraDistortionModel ob_camera_distortion_model
+
enum OBDeviceType OB_DEVICE_TYPE
+
uint64_t ob_device_state
Definition ObTypes.h:635
+
OBHoleFillingMode
Hole fillig mode.
Definition ObTypes.h:954
+
@ OB_HOLE_FILL_FAREST
Definition ObTypes.h:957
+
@ OB_HOLE_FILL_NEAREST
Definition ObTypes.h:956
+
@ OB_HOLE_FILL_TOP
Definition ObTypes.h:955
+
enum OBSensorType ob_sensor_type
+
enum OBDepthPrecisionLevel ob_depth_precision_level
+
void(* ob_frame_callback)(ob_frame *frame, void *user_data)
Callback for frame.
Definition ObTypes.h:1704
+
enum OBGyroSampleRate OB_SAMPLE_RATE
+
struct CameraParamListImpl ob_camera_param_list
Definition ObTypes.h:58
+
void(* ob_set_data_callback)(ob_data_tran_state state, uint8_t percent, void *user_data)
Callback for writing data.
Definition ObTypes.h:1667
+
struct OBD2CTransform ob_extrinsic
+
struct OBProtocolVersion ob_protocol_version
+
enum ob_rotate_degree_type OBRotateDegreeType
+
void(* ob_media_state_callback)(ob_media_state state, void *user_data)
Callback for media status (recording and playback)
Definition ObTypes.h:1684
+
enum OBGyroFullScaleRange OB_GYRO_FULL_SCALE_RANGE
+
enum OBMediaState ob_media_state
+
OBAlignMode
Alignment mode.
Definition ObTypes.h:518
+
@ ALIGN_D2C_HW_MODE
Definition ObTypes.h:520
+
@ ALIGN_DISABLE
Definition ObTypes.h:519
+
@ ALIGN_D2C_SW_MODE
Definition ObTypes.h:521
+
enum OBMediaType OB_MEDIA_TYPE
+
struct OBTofExposureThresholdControl TOF_EXPOSURE_THRESHOLD_CONTROL
+
struct OBPoint ob_point3f
+
ob_frame_metadata_type
Frame metadata types.
Definition ObTypes.h:1440
+
@ OB_FRAME_METADATA_TYPE_POWER_LINE_FREQUENCY
Power line frequency.
Definition ObTypes.h:1531
+
@ OB_FRAME_METADATA_TYPE_SATURATION
Saturation.
Definition ObTypes.h:1505
+
@ OB_FRAME_METADATA_TYPE_AE_ROI_TOP
Top region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1564
+
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_SIZE
HDR sequence size.
Definition ObTypes.h:1589
+
@ OB_FRAME_METADATA_TYPE_FRAME_NUMBER
The number of current frame.
Definition ObTypes.h:1459
+
@ OB_FRAME_METADATA_TYPE_SHARPNESS
Sharpness.
Definition ObTypes.h:1510
+
@ OB_FRAME_METADATA_TYPE_MANUAL_WHITE_BALANCE
Manual white balance setting.
Definition ObTypes.h:1543
+
@ OB_FRAME_METADATA_TYPE_AE_ROI_LEFT
Left region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1559
+
@ OB_FRAME_METADATA_TYPE_SENSOR_TIMESTAMP
Timestamp in the middle of the capture.
Definition ObTypes.h:1454
+
@ OB_FRAME_METADATA_TYPE_COUNT
The number of frame metadata types, using for types iterating.
Definition ObTypes.h:1623
+
@ OB_FRAME_METADATA_TYPE_BRIGHTNESS
Brightness.
Definition ObTypes.h:1495
+
@ OB_FRAME_METADATA_TYPE_CONTRAST
Contrast.
Definition ObTypes.h:1500
+
@ OB_FRAME_METADATA_TYPE_HUE
Hue.
Definition ObTypes.h:1520
+
@ OB_FRAME_METADATA_TYPE_AE_ROI_BOTTOM
Bottom region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1574
+
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_INDEX
HDR sequence index.
Definition ObTypes.h:1594
+
@ OB_FRAME_METADATA_TYPE_LASER_STATUS
Laser status.
Definition ObTypes.h:1612
+
@ OB_FRAME_METADATA_TYPE_WHITE_BALANCE
White balance.
Definition ObTypes.h:1490
+
@ OB_FRAME_METADATA_TYPE_AE_ROI_RIGHT
Right region of interest for the auto exposure Algorithm.
Definition ObTypes.h:1569
+
@ OB_FRAME_METADATA_TYPE_GAIN
Gain.
Definition ObTypes.h:1479
+
@ OB_FRAME_METADATA_TYPE_LASER_POWER_LEVEL
Laser power level.
Definition ObTypes.h:1606
+
@ OB_FRAME_METADATA_TYPE_GPIO_INPUT_DATA
GPIO input data.
Definition ObTypes.h:1617
+
@ OB_FRAME_METADATA_TYPE_HDR_SEQUENCE_NAME
HDR sequence name.
Definition ObTypes.h:1584
+
@ OB_FRAME_METADATA_TYPE_EXPOSURE_PRIORITY
Exposure priority.
Definition ObTypes.h:1579
+
@ OB_FRAME_METADATA_TYPE_AUTO_WHITE_BALANCE
Auto white balance status.
Definition ObTypes.h:1485
+
@ OB_FRAME_METADATA_TYPE_BACKLIGHT_COMPENSATION
Backlight compensation.
Definition ObTypes.h:1515
+
@ OB_FRAME_METADATA_TYPE_TIMESTAMP
Timestamp when the frame is captured.
Definition ObTypes.h:1446
+
@ OB_FRAME_METADATA_TYPE_ACTUAL_FRAME_RATE
Actual frame rate.
Definition ObTypes.h:1549
+
@ OB_FRAME_METADATA_TYPE_LOW_LIGHT_COMPENSATION
Low light compensation.
Definition ObTypes.h:1538
+
@ OB_FRAME_METADATA_TYPE_LASER_POWER
Laser power value in mW.
Definition ObTypes.h:1601
+
@ OB_FRAME_METADATA_TYPE_FRAME_RATE
Frame rate.
Definition ObTypes.h:1554
+
@ OB_FRAME_METADATA_TYPE_EXPOSURE
Exposure time.
Definition ObTypes.h:1472
+
@ OB_FRAME_METADATA_TYPE_GAMMA
Gamma.
Definition ObTypes.h:1525
+
@ OB_FRAME_METADATA_TYPE_AUTO_EXPOSURE
Auto exposure status.
Definition ObTypes.h:1465
+
OBDepthPrecisionLevel
Enumeration for depth precision levels.
Definition ObTypes.h:710
+
@ OB_PRECISION_0MM05
Definition ObTypes.h:717
+
@ OB_PRECISION_UNKNOWN
Definition ObTypes.h:718
+
@ OB_PRECISION_0MM8
Definition ObTypes.h:712
+
@ OB_PRECISION_0MM5
Definition ObTypes.h:716
+
@ OB_PRECISION_1MM
Definition ObTypes.h:711
+
@ OB_PRECISION_COUNT
Definition ObTypes.h:719
+
@ OB_PRECISION_0MM4
Definition ObTypes.h:713
+
@ OB_PRECISION_0MM2
Definition ObTypes.h:715
+
@ OB_PRECISION_0MM1
Definition ObTypes.h:714
+
ob_rotate_degree_type
Rotate degree.
Definition ObTypes.h:1146
+
@ OB_ROTATE_DEGREE_0
Rotate 0.
Definition ObTypes.h:1147
+
@ OB_ROTATE_DEGREE_90
Rotate 90.
Definition ObTypes.h:1148
+
@ OB_ROTATE_DEGREE_180
Rotate 180.
Definition ObTypes.h:1149
+
@ OB_ROTATE_DEGREE_270
Rotate 270.
Definition ObTypes.h:1150
+
enum OBStatus ob_status
+
struct OBDepthWorkModeListImpl ob_depth_work_mode_list
Definition ObTypes.h:69
+
OBConvertFormat
Enumeration of format conversion types.
Definition ObTypes.h:538
+
@ FORMAT_MJPG_TO_NV21
Definition ObTypes.h:545
+
@ FORMAT_NV12_TO_RGB
Definition ObTypes.h:542
+
@ FORMAT_YUYV_TO_Y8
Definition ObTypes.h:556
+
@ FORMAT_YUYV_TO_RGBA
Definition ObTypes.h:553
+
@ FORMAT_UYVY_TO_RGB
Definition ObTypes.h:549
+
@ FORMAT_MJPG_TO_BGR
Definition ObTypes.h:547
+
@ FORMAT_NV21_TO_RGB
Definition ObTypes.h:541
+
@ FORMAT_RGB_TO_BGR
Definition ObTypes.h:544
+
@ FORMAT_BGR_TO_RGB
Definition ObTypes.h:550
+
@ FORMAT_MJPG_TO_BGRA
Definition ObTypes.h:548
+
@ FORMAT_MJPG_TO_I420
Definition ObTypes.h:543
+
@ FORMAT_YUYV_TO_RGB
Definition ObTypes.h:539
+
@ FORMAT_YUYV_TO_BGR
Definition ObTypes.h:552
+
@ FORMAT_MJPG_TO_NV12
Definition ObTypes.h:551
+
@ FORMAT_YUYV_TO_Y16
Definition ObTypes.h:555
+
@ FORMAT_I420_TO_RGB
Definition ObTypes.h:540
+
@ FORMAT_MJPG_TO_RGB
Definition ObTypes.h:546
+
@ FORMAT_YUYV_TO_BGRA
Definition ObTypes.h:554
+
enum OBCommunicationType OB_COMMUNICATION_TYPE
+
enum OBLogSeverity DEVICE_LOG_SEVERITY_LEVEL
+
struct OBUint16PropertyRange ob_uint16_property_range
+
void(* ob_device_state_callback)(ob_device_state state, const char *message, void *user_data)
Callback for device status.
Definition ObTypes.h:1658
+
OBMediaType
Enumeration for types of media to record or playback.
Definition ObTypes.h:677
+
@ OB_MEDIA_STREAM_INFO
Definition ObTypes.h:685
+
@ OB_MEDIA_IR_LEFT_STREAM
Definition ObTypes.h:686
+
@ OB_MEDIA_ALL
Definition ObTypes.h:689
+
@ OB_MEDIA_IR_RIGHT_STREAM
Definition ObTypes.h:687
+
@ OB_MEDIA_DEPTH_STREAM
Definition ObTypes.h:679
+
@ OB_MEDIA_IR_STREAM
Definition ObTypes.h:680
+
@ OB_MEDIA_CAMERA_PARAM
Definition ObTypes.h:683
+
@ OB_MEDIA_GYRO_STREAM
Definition ObTypes.h:681
+
@ OB_MEDIA_DEVICE_INFO
Definition ObTypes.h:684
+
@ OB_MEDIA_ACCEL_STREAM
Definition ObTypes.h:682
+
@ OB_MEDIA_COLOR_STREAM
Definition ObTypes.h:678
+
enum OBDepthCroppingMode ob_depth_cropping_mode
+
enum OBPermissionType ob_permission_type
+
OBLogSeverity
log level, the higher the level, the stronger the log filter
Definition ObTypes.h:115
+
@ OB_LOG_SEVERITY_DEBUG
Definition ObTypes.h:116
+
@ OB_LOG_SEVERITY_ERROR
Definition ObTypes.h:119
+
@ OB_LOG_SEVERITY_INFO
Definition ObTypes.h:117
+
@ OB_LOG_SEVERITY_OFF
Definition ObTypes.h:121
+
@ OB_LOG_SEVERITY_WARN
Definition ObTypes.h:118
+
@ OB_LOG_SEVERITY_FATAL
Definition ObTypes.h:120
+
void(* ob_frameset_callback)(ob_frame *frameset, void *user_data)
Callback for frameset.
Definition ObTypes.h:1714
+
OB_COORDINATE_SYSTEM_TYPE
Enumeration of point cloud coordinate system types.
Definition ObTypes.h:1193
+
@ OB_RIGHT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1195
+
@ OB_LEFT_HAND_COORDINATE_SYSTEM
Definition ObTypes.h:1194
+
struct OBMGCFilterConfig ob_mgc_filter_config
+
struct OBCameraIntrinsic ob_camera_intrinsic
+
The rect of the region of interest.
Definition ObTypes.h:1429
+
int16_t y0_top
Definition ObTypes.h:1431
+
int16_t x1_right
Definition ObTypes.h:1432
+
int16_t y1_bottom
Definition ObTypes.h:1433
+
int16_t x0_left
Definition ObTypes.h:1430
+
Baseline calibration parameters.
Definition ObTypes.h:1395
+
float zpd
Calibration distance.
Definition ObTypes.h:1403
+
float baseline
Baseline length.
Definition ObTypes.h:1399
+
HDR Configuration.
Definition ObTypes.h:1409
+
uint32_t gain_1
Gain 1.
Definition ObTypes.h:1421
+
uint32_t exposure_1
Exposure time 1.
Definition ObTypes.h:1420
+
uint32_t exposure_2
Exposure time 2.
Definition ObTypes.h:1422
+
uint8_t enable
Enable/disable HDR, after enabling HDR, the exposure_1 and gain_1 will be used as the first exposure ...
Definition ObTypes.h:1418
+
uint8_t sequence_name
Sequence name.
Definition ObTypes.h:1419
+
uint32_t gain_2
Gain 2.
Definition ObTypes.h:1423
+
Structure for accelerometer intrinsic parameters.
Definition ObTypes.h:386
+
double randomWalk
random walk
Definition ObTypes.h:388
+
double noiseDensity
In-run bias instability.
Definition ObTypes.h:387
+
double referenceTemp
reference temperature
Definition ObTypes.h:389
+
Data structures for accelerometers and gyroscopes.
Definition ObTypes.h:626
+
float z
Z-direction component.
Definition ObTypes.h:629
+
float x
X-direction component.
Definition ObTypes.h:627
+
float y
Y-direction component.
Definition ObTypes.h:628
+
Structure for boolean range.
Definition ObTypes.h:363
+
bool def
Default value.
Definition ObTypes.h:368
+
bool min
Minimum value.
Definition ObTypes.h:366
+
bool cur
Current value.
Definition ObTypes.h:364
+
bool max
Maximum value.
Definition ObTypes.h:365
+
bool step
Step value.
Definition ObTypes.h:367
+
calibration parameters
Definition ObTypes.h:480
+
Video stream intrinsics.
Definition ObTypes.h:433
+ + +
OBCameraDistortionModel model
Definition ObTypes.h:440
+ + + + +
Structure for distortion parameters.
Definition ObTypes.h:411
+
float p1
Tangential distortion factor 1.
Definition ObTypes.h:418
+
float k6
Radial distortion factor 6.
Definition ObTypes.h:417
+
float k3
Radial distortion factor 3.
Definition ObTypes.h:414
+
float k1
Radial distortion factor 1.
Definition ObTypes.h:412
+
float k5
Radial distortion factor 5.
Definition ObTypes.h:416
+
float k4
Radial distortion factor 4.
Definition ObTypes.h:415
+
float p2
Tangential distortion factor 2.
Definition ObTypes.h:419
+
float k2
Radial distortion factor 2.
Definition ObTypes.h:413
+
Structure for camera intrinsic parameters.
Definition ObTypes.h:374
+
float fx
Focal length in x direction.
Definition ObTypes.h:375
+
float cx
Optical center abscissa.
Definition ObTypes.h:377
+
int16_t height
Image height.
Definition ObTypes.h:380
+
float cy
Optical center ordinate.
Definition ObTypes.h:378
+
int16_t width
Image width.
Definition ObTypes.h:379
+
float fy
Focal length in y direction.
Definition ObTypes.h:376
+
Camera parameters.
Definition ObTypes.h:468
+
OBD2CTransform transform
Rotation/transformation matrix.
Definition ObTypes.h:474
+
OBCameraDistortion rgbDistortion
Distortion parameters for color camera.
Definition ObTypes.h:473
+
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
Definition ObTypes.h:471
+
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
Definition ObTypes.h:470
+
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
Definition ObTypes.h:469
+
Structure for camera parameters.
Definition ObTypes.h:456
+
OBCameraDistortion rgbDistortion
Color camera distortion parameters.
Definition ObTypes.h:460
+
bool isMirrored
Whether the image frame corresponding to this group of parameters is mirrored.
Definition ObTypes.h:462
+
OBCameraIntrinsic rgbIntrinsic
Color camera internal parameters.
Definition ObTypes.h:458
+
OBCameraIntrinsic depthIntrinsic
Depth camera internal parameters.
Definition ObTypes.h:457
+
OBCameraDistortion depthDistortion
Depth camera distortion parameters.
Definition ObTypes.h:459
+
OBD2CTransform transform
Rotation/transformation matrix.
Definition ObTypes.h:461
+
3D point structure with color information
Definition ObTypes.h:760
+
float z
Z coordinate.
Definition ObTypes.h:763
+
float g
Green channel component.
Definition ObTypes.h:765
+
float b
Blue channel component.
Definition ObTypes.h:766
+
float x
X coordinate.
Definition ObTypes.h:761
+
float y
Y coordinate.
Definition ObTypes.h:762
+
float r
Red channel component.
Definition ObTypes.h:764
+ + +
Structure for rotation/transformation.
Definition ObTypes.h:448
+
Internal API for future publication.
Definition ObTypes.h:1049
+
uint32_t itemCount
Count of data item.
Definition ObTypes.h:1081
+
OBCmdVersion cmdVersion
OBCmdVersion of propertyId.
Definition ObTypes.h:1053
+
uint32_t itemTypeSize
Size of data item.
Definition ObTypes.h:1074
+
uint32_t dataSize
Data size in bytes.
Definition ObTypes.h:1067
+
void * data
Data containing itemCount of elements.
Definition ObTypes.h:1060
+
Structure for transmitting data blocks.
Definition ObTypes.h:309
+
uint8_t * data
Pointer to current block data.
Definition ObTypes.h:310
+
uint32_t offset
Offset of current data block relative to complete data.
Definition ObTypes.h:312
+
uint32_t fullDataSize
Size of full data.
Definition ObTypes.h:313
+
uint32_t size
Length of current block data.
Definition ObTypes.h:311
+
Depth work mode.
Definition ObTypes.h:931
+
Device synchronization configuration.
Definition ObTypes.h:875
+
uint16_t rgbTriggerSignalInDelay
RGB trigger signal input delay is used to configure the delay from the time when an RGB Sensor receiv...
Definition ObTypes.h:895
+
OBSyncMode syncMode
Device synchronize mode.
Definition ObTypes.h:879
+
uint16_t deviceTriggerSignalOutPolarity
The device trigger signal output polarity is used to control the polarity configuration of the trigge...
Definition ObTypes.h:912
+
uint16_t deviceId
Device number. Users can mark the device with this number.
Definition ObTypes.h:925
+
uint16_t irTriggerSignalInDelay
IR Trigger signal input delay: Used to configure the delay between the IR/Depth/TOF Sensor receiving ...
Definition ObTypes.h:887
+
uint16_t deviceTriggerSignalOutDelay
Device trigger signal output delay, used to control the delay configuration of the host device to out...
Definition ObTypes.h:903
+
uint16_t mcuTriggerFrequency
MCU trigger frequency, used to configure the output frequency of MCU trigger signal in MCU master mod...
Definition ObTypes.h:920
+
Temperature parameters of the device (unit: Celsius)
Definition ObTypes.h:640
+
float tecTemp
TEC temperature.
Definition ObTypes.h:645
+
float irRightTemp
Right IR temperature.
Definition ObTypes.h:649
+
float imuTemp
IMU temperature.
Definition ObTypes.h:646
+
float mainBoardTemp
Motherboard temperature.
Definition ObTypes.h:644
+
float irTemp
IR temperature.
Definition ObTypes.h:642
+
float chipBottomTemp
MX6600 bottom temperature.
Definition ObTypes.h:651
+
float irLeftTemp
Left IR temperature.
Definition ObTypes.h:648
+
float ldmTemp
Laser temperature.
Definition ObTypes.h:643
+
float rgbTemp
RGB temperature.
Definition ObTypes.h:647
+
float chipTopTemp
MX6600 top temperature.
Definition ObTypes.h:650
+
float cpuTemp
CPU temperature.
Definition ObTypes.h:641
+ +
OBEdgeNoiseRemovalType type
Definition ObTypes.h:977
+ + + + +
Structure for float range.
Definition ObTypes.h:330
+
float cur
Current value.
Definition ObTypes.h:331
+
float min
Minimum value.
Definition ObTypes.h:333
+
float max
Maximum value.
Definition ObTypes.h:332
+
float def
Default value.
Definition ObTypes.h:335
+
float step
Step value.
Definition ObTypes.h:334
+
Structure for gyroscope intrinsic parameters.
Definition ObTypes.h:399
+
double randomWalk
random walk
Definition ObTypes.h:401
+
double noiseDensity
In-run bias instability.
Definition ObTypes.h:400
+
double referenceTemp
reference temperature
Definition ObTypes.h:402
+
Structure for integer range.
Definition ObTypes.h:319
+
int32_t step
Step value.
Definition ObTypes.h:323
+
int32_t def
Default value.
Definition ObTypes.h:324
+
int32_t max
Maximum value.
Definition ObTypes.h:321
+
int32_t min
Minimum value.
Definition ObTypes.h:322
+
int32_t cur
Current value.
Definition ObTypes.h:320
+
Configuration for mgc filter.
Definition ObTypes.h:503
+ + + +
uint32_t width
Definition ObTypes.h:504
+ + + + +
uint32_t height
Definition ObTypes.h:505
+
IP address configuration for network devices (IPv4)
Definition ObTypes.h:1087
+
uint16_t dhcp
DHCP status.
Definition ObTypes.h:1093
+ + + +
OBDDONoiseRemovalType type
Definition ObTypes.h:996
+
2D point structure in the SDK
Definition ObTypes.h:745
+
float x
X coordinate.
Definition ObTypes.h:746
+
float y
Y coordinate.
Definition ObTypes.h:747
+
3D point structure in the SDK
Definition ObTypes.h:736
+
float y
Y coordinate.
Definition ObTypes.h:738
+
float z
Z coordinate.
Definition ObTypes.h:739
+
float x
X coordinate.
Definition ObTypes.h:737
+
Control command protocol version number.
Definition ObTypes.h:1003
+
uint8_t major
Major version number.
Definition ObTypes.h:1007
+
uint8_t minor
Minor version number.
Definition ObTypes.h:1012
+
uint8_t patch
Patch version number.
Definition ObTypes.h:1017
+
Rectangle.
Definition ObTypes.h:528
+
uint32_t height
Rectangle height.
Definition ObTypes.h:532
+
uint32_t y
Origin coordinate y.
Definition ObTypes.h:530
+
uint32_t x
Origin coordinate x.
Definition ObTypes.h:529
+
uint32_t width
Rectangle width.
Definition ObTypes.h:531
+
SequenceId fliter list item.
Definition ObTypes.h:946
+ + + + + + +
TOF Exposure Threshold.
Definition ObTypes.h:791
+
int32_t lower
Lower threshold, unit: ms.
Definition ObTypes.h:793
+
int32_t upper
Upper threshold, unit: ms.
Definition ObTypes.h:792
+
Structure for float range.
Definition ObTypes.h:341
+
uint16_t min
Minimum value.
Definition ObTypes.h:344
+
uint16_t cur
Current value.
Definition ObTypes.h:342
+
uint16_t step
Step value.
Definition ObTypes.h:345
+
uint16_t max
Maximum value.
Definition ObTypes.h:343
+
uint16_t def
Default value.
Definition ObTypes.h:346
+
Structure for float range.
Definition ObTypes.h:352
+
uint8_t min
Minimum value.
Definition ObTypes.h:355
+
uint8_t def
Default value.
Definition ObTypes.h:357
+
uint8_t cur
Current value.
Definition ObTypes.h:353
+
uint8_t step
Step value.
Definition ObTypes.h:356
+
uint8_t max
Maximum value.
Definition ObTypes.h:354
+ +
int width
width of x and y tables
Definition ObTypes.h:753
+
float * xTable
table used to compute X coordinate
Definition ObTypes.h:751
+
int height
height of x and y tables
Definition ObTypes.h:754
+
float * yTable
table used to compute Y coordinate
Definition ObTypes.h:752
+
The timestamp reset configuration of the device.
Definition ObTypes.h:1368
+
int timestamp_reset_delay_us
The delay time of executing the timestamp reset function after receiving the command or signal in mic...
Definition ObTypes.h:1382
+
bool enable
Whether to enable the timestamp reset function.
Definition ObTypes.h:1377
+
bool timestamp_reset_signal_output_enable
the timestamp reset signal output enable flag.
Definition ObTypes.h:1389
+
The error class exposed by the SDK, users can get detailed error information according to the error.
Definition ObTypes.h:146
+
char function[256]
Describe the name of the function where the error occurred.
Definition ObTypes.h:149
+
char args[256]
Describes the parameters passed to the function when an error occurs. Used to check whether the param...
Definition ObTypes.h:150
+
char message[256]
Describe the detailed error log.
Definition ObTypes.h:148
+
ob_exception_type exception_type
The description is the specific error type of the SDK.
Definition ObTypes.h:151
+
ob_status status
Describe the status code of the error, as compatible with previous customer status code requirements.
Definition ObTypes.h:147
+
Configuration for depth margin filter.
Definition ObTypes.h:490
+
bool enable_direction
Set to true for horizontal and vertical, false for horizontal only.
Definition ObTypes.h:497
+
int limit_y_th
Maximum vertical threshold.
Definition ObTypes.h:494
+
int limit_x_th
Maximum horizontal threshold.
Definition ObTypes.h:493
+
uint32_t height
Image height.
Definition ObTypes.h:496
+
int margin_y_th
Vertical threshold settings.
Definition ObTypes.h:492
+
uint32_t width
Image width.
Definition ObTypes.h:495
+
int margin_x_th
Horizontal threshold settings.
Definition ObTypes.h:491
+
The synchronization configuration of the device.
Definition ObTypes.h:1304
+
int depthDelayUs
The delay time of the depth image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1315
+
int framesPerTrigger
The frame number of each stream after each trigger in triggering mode.
Definition ObTypes.h:1361
+
int trigger2ImageDelayUs
The delay time of the image capture after receiving the capture command or trigger signal in microsec...
Definition ObTypes.h:1332
+
int triggerOutDelayUs
The delay time of the trigger signal output after receiving the capture command or trigger signal in ...
Definition ObTypes.h:1351
+
ob_multi_device_sync_mode syncMode
The sync mode of the device.
Definition ObTypes.h:1308
+
int colorDelayUs
The delay time of the color image capture after receiving the capture command or trigger signal in mi...
Definition ObTypes.h:1322
+
bool triggerOutEnable
Trigger signal output enable flag.
Definition ObTypes.h:1343
+
+ + + + diff --git a/doc/api/English/RecordPlayback_8hpp_source.html b/doc/api/English/RecordPlayback_8hpp_source.html new file mode 100644 index 00000000..90c8d6c3 --- /dev/null +++ b/doc/api/English/RecordPlayback_8hpp_source.html @@ -0,0 +1,165 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/RecordPlayback.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
RecordPlayback.hpp
+
+
+Go to the documentation of this file.
1
+
6#pragma once
+
7
+
8#include "Types.hpp"
+
9#include <memory>
+
10
+
11struct RecorderImpl;
+
12struct PlaybackImpl;
+
13
+
14namespace ob {
+
15
+
16class Device;
+
17class Frame;
+
18class DeviceInfo;
+
19
+
20using PlaybackCallback = std::function<void(std::shared_ptr<Frame> frame)>;
+
21using MediaStateCallback = std::function<void(OBMediaState state)>;
+
22
+ +
24private:
+
25 std::unique_ptr<RecorderImpl> impl_;
+
26
+
27public:
+ +
32 Recorder(std::unique_ptr<RecorderImpl> impl);
+
33
+
38 Recorder(std::shared_ptr<Device> device);
+
39
+
40 virtual ~Recorder() noexcept;
+
41
+
48 void start(const char *filename, bool async = false);
+
49
+
53 void stop();
+
54
+
60 void write(std::shared_ptr<Frame> frame);
+
61};
+
62
+ +
64private:
+
65 std::unique_ptr<PlaybackImpl> impl_;
+
66
+
67public:
+
72 Playback(const char *filename);
+
73 Playback(std::unique_ptr<PlaybackImpl> impl);
+
74 virtual ~Playback() noexcept;
+
75
+
81 void start(PlaybackCallback callback, OBMediaType type = OB_MEDIA_ALL);
+
82
+
86 void stop();
+
87
+
92 void setPlaybackStateCallback(MediaStateCallback state);
+
93
+
99 std::shared_ptr<DeviceInfo> getDeviceInfo();
+
100
+
106 OBCameraParam getCameraParam();
+
107};
+
108
+
109} // namespace ob
+
OBMediaState
Enumeration for record playback status.
Definition ObTypes.h:697
+
#define OB_EXTENSION_API
Definition ObTypes.h:28
+
OBMediaType
Enumeration for types of media to record or playback.
Definition ObTypes.h:677
+
@ OB_MEDIA_ALL
Definition ObTypes.h:689
+
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
+
A class describing device information, representing the name, id, serial number and other basic infor...
Definition Device.hpp:633
+ + +
virtual ~Playback() noexcept
+
Playback(const char *filename)
Create a playback object.
+
Playback(std::unique_ptr< PlaybackImpl > impl)
+ +
Recorder()
Create a recorder for data recording.
+
virtual ~Recorder() noexcept
+
Recorder(std::unique_ptr< RecorderImpl > impl)
+
Recorder(std::shared_ptr< Device > device)
Create a recorder for data recording.
+
Definition Context.hpp:16
+
std::function< void(std::shared_ptr< Frame > frame)> PlaybackCallback
+
std::function< void(OBMediaState state)> MediaStateCallback
+
Structure for camera parameters.
Definition ObTypes.h:456
+
+ + + + diff --git a/doc/api/English/StreamProfile_8hpp_source.html b/doc/api/English/StreamProfile_8hpp_source.html new file mode 100644 index 00000000..a56eddc0 --- /dev/null +++ b/doc/api/English/StreamProfile_8hpp_source.html @@ -0,0 +1,275 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/StreamProfile.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
StreamProfile.hpp
+
+
+Go to the documentation of this file.
1
+
5#pragma once
+
6
+
7#include "Types.hpp"
+
8
+
9#include <iostream>
+
10#include <memory>
+
11
+
12struct StreamProfileImpl;
+
13struct StreamProfileListImpl;
+
14
+
15namespace ob {
+
16
+
17class VideoStreamProfile;
+
18class GyroStreamProfile;
+
19class AccelStreamProfile;
+
20class Config;
+
21
+
22class OB_EXTENSION_API StreamProfile : public std::enable_shared_from_this<StreamProfile> {
+
23protected:
+
24 std::unique_ptr<StreamProfileImpl> impl_;
+
25
+
26public:
+
27 StreamProfile(std::unique_ptr<StreamProfileImpl> impl);
+ +
29 virtual ~StreamProfile() noexcept;
+
30
+
36 OBFormat format() const;
+
37
+
43 OBStreamType type() const;
+
44
+
50 OBExtrinsic getExtrinsicTo(std::shared_ptr<StreamProfile> target);
+
51
+
58 template <typename T> bool is();
+
59
+
66 template <typename T> std::shared_ptr<T> as() {
+
67 if(!is<T>()) {
+
68 throw std::runtime_error("Unsupported operation. Object's type is not the required type.");
+
69 }
+
70
+
71 return std::static_pointer_cast<T>(std::const_pointer_cast<StreamProfile>(shared_from_this()));
+
72 }
+
73
+
74 friend class Sensor;
+
75 friend class Config;
+
76 friend class Pipeline;
+
77};
+
78
+ +
83public:
+ +
85
+
86 explicit VideoStreamProfile(std::unique_ptr<StreamProfileImpl> impl);
+
87
+
88 ~VideoStreamProfile() noexcept override;
+
89
+
95 uint32_t fps() const;
+
96
+
102 uint32_t width() const;
+
103
+
109 uint32_t height() const;
+
110
+
116 OBCameraIntrinsic getIntrinsic();
+
117
+
124 OBCameraDistortion getDistortion();
+
125};
+
126
+ +
131public:
+ +
133
+
134 explicit AccelStreamProfile(std::unique_ptr<StreamProfileImpl> impl);
+
135
+
136 ~AccelStreamProfile() noexcept override;
+
137
+
143 OBAccelFullScaleRange fullScaleRange() const;
+
144
+
150 OBAccelSampleRate sampleRate() const;
+
151
+
157 OBAccelIntrinsic getIntrinsic();
+
158};
+
159
+ +
164public:
+ +
166
+
167 explicit GyroStreamProfile(std::unique_ptr<StreamProfileImpl> impl);
+
168 ~GyroStreamProfile() noexcept override;
+
169
+
175 OBGyroFullScaleRange fullScaleRange() const;
+
176
+
182 OBGyroSampleRate sampleRate() const;
+
183
+
189 OBGyroIntrinsic getIntrinsic();
+
190};
+
191
+
192template <typename T> bool StreamProfile::is() {
+
193 switch(this->type()) {
+
194 case OB_STREAM_VIDEO:
+
195 case OB_STREAM_IR:
+ + +
198 case OB_STREAM_COLOR:
+
199 case OB_STREAM_DEPTH:
+ +
201 return typeid(T) == typeid(VideoStreamProfile);
+
202 case OB_STREAM_ACCEL:
+
203 return typeid(T) == typeid(AccelStreamProfile);
+
204 case OB_STREAM_GYRO:
+
205 return typeid(T) == typeid(GyroStreamProfile);
+
206 default:
+
207 break;
+
208 }
+
209 return false;
+
210}
+
211
+ +
213protected:
+
214 std::unique_ptr<StreamProfileListImpl> impl_;
+
215
+
216public:
+
217 explicit StreamProfileList(std::unique_ptr<StreamProfileListImpl> impl);
+ +
219
+
225 uint32_t count() const;
+
226
+
233 const std::shared_ptr<StreamProfile> getProfile(uint32_t index);
+
234
+
245 const std::shared_ptr<VideoStreamProfile> getVideoStreamProfile(int width = OB_WIDTH_ANY, int height = OB_HEIGHT_ANY, OBFormat format = OB_FORMAT_ANY,
+
246 int fps = OB_FPS_ANY);
+
247
+
255 const std::shared_ptr<AccelStreamProfile> getAccelStreamProfile(OBAccelFullScaleRange fullScaleRange, OBAccelSampleRate sampleRate);
+
256
+
264 const std::shared_ptr<GyroStreamProfile> getGyroStreamProfile(OBGyroFullScaleRange fullScaleRange, OBGyroSampleRate sampleRate);
+
265};
+
266
+
267} // namespace ob
+
OBGyroFullScaleRange
Enumeration of gyroscope ranges.
Definition ObTypes.h:600
+
OBFormat
Enumeration value describing the pixel format.
Definition ObTypes.h:210
+
enum OBGyroSampleRate OBAccelSampleRate
+
OBGyroSampleRate
Enumeration of IMU sample rate values (gyroscope or accelerometer)
Definition ObTypes.h:578
+
OBStreamType
Enumeration value describing the type of data stream.
Definition ObTypes.h:174
+
@ OB_STREAM_RAW_PHASE
Definition ObTypes.h:184
+
@ OB_STREAM_GYRO
Definition ObTypes.h:181
+
@ OB_STREAM_IR
Definition ObTypes.h:177
+
@ OB_STREAM_DEPTH
Definition ObTypes.h:179
+
@ OB_STREAM_IR_RIGHT
Definition ObTypes.h:183
+
@ OB_STREAM_IR_LEFT
Definition ObTypes.h:182
+
@ OB_STREAM_VIDEO
Definition ObTypes.h:176
+
@ OB_STREAM_ACCEL
Definition ObTypes.h:180
+
@ OB_STREAM_COLOR
Definition ObTypes.h:178
+
OBAccelFullScaleRange
Enumeration of accelerometer ranges.
Definition ObTypes.h:615
+
#define OB_WIDTH_ANY
Definition ObTypes.h:74
+
#define OB_EXTENSION_API
Definition ObTypes.h:28
+
#define OB_FPS_ANY
Definition ObTypes.h:76
+
#define OB_HEIGHT_ANY
Definition ObTypes.h:75
+
#define OB_FORMAT_ANY
Definition ObTypes.h:77
+
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
+
Class representing an accelerometer stream profile.
+
~AccelStreamProfile() noexcept override
+
AccelStreamProfile(std::unique_ptr< StreamProfileImpl > impl)
+
AccelStreamProfile(StreamProfile &profile)
+
Config class for configuring pipeline parameters.
Definition Pipeline.hpp:201
+
Class representing a gyroscope stream profile.
+
GyroStreamProfile(StreamProfile &profile)
+
GyroStreamProfile(std::unique_ptr< StreamProfileImpl > impl)
+
~GyroStreamProfile() noexcept override
+ + + +
~StreamProfileList() noexcept
+
std::unique_ptr< StreamProfileListImpl > impl_
+
StreamProfileList(std::unique_ptr< StreamProfileListImpl > impl)
+ +
virtual ~StreamProfile() noexcept
+
std::unique_ptr< StreamProfileImpl > impl_
+
StreamProfile(StreamProfile &streamProfile)
+
StreamProfile(std::unique_ptr< StreamProfileImpl > impl)
+
Class representing a video stream profile.
+
VideoStreamProfile(std::unique_ptr< StreamProfileImpl > impl)
+
~VideoStreamProfile() noexcept override
+
VideoStreamProfile(StreamProfile &profile)
+
Definition Context.hpp:16
+
Structure for accelerometer intrinsic parameters.
Definition ObTypes.h:386
+
Structure for distortion parameters.
Definition ObTypes.h:411
+
Structure for camera intrinsic parameters.
Definition ObTypes.h:374
+
Structure for rotation/transformation.
Definition ObTypes.h:448
+
Structure for gyroscope intrinsic parameters.
Definition ObTypes.h:399
+
+ + + + diff --git a/doc/api/English/Types_8hpp_source.html b/doc/api/English/Types_8hpp_source.html new file mode 100644 index 00000000..033b88ce --- /dev/null +++ b/doc/api/English/Types_8hpp_source.html @@ -0,0 +1,122 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/Types.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Types.hpp
+
+
+Go to the documentation of this file.
1
+
6#pragma once
+
7
+ +
9
+
10#include <functional>
+
11
+
12#ifdef __cplusplus
+
13extern "C" {
+
14#endif
+
15
+
23using SendFileCallback = std::function<void(OBFileTranState state, const char *message, uint8_t percent)>;
+
24
+
32using DeviceUpgradeCallback = std::function<void(OBUpgradeState state, const char *message, uint8_t percent)>;
+
33
+
40using DeviceStateChangedCallback = std::function<void(OBDeviceState state, const char *message)>;
+
41
+
48using GetDataCallback = std::function<void(OBDataTranState state, OBDataChunk *dataChunk)>;
+
49
+
56using SetDataCallback = std::function<void(OBDataTranState state, uint8_t percent)>;
+
57
+
58#ifdef __cplusplus
+
59}
+
60#endif
+
Provide structs commonly used in the SDK, enumerating constant definitions.
+
uint64_t OBDeviceState
Device state.
Definition ObTypes.h:635
+
OBDataTranState
Enumeration value describing the data transfer status.
Definition ObTypes.h:292
+
OBFileTranState
Enumeration value describing the file transfer status.
Definition ObTypes.h:276
+
OBUpgradeState
Enumeration value describing the firmware upgrade status.
Definition ObTypes.h:255
+
std::function< void(OBDeviceState state, const char *message)> DeviceStateChangedCallback
Callback function for device status updates.
Definition Types.hpp:40
+
std::function< void(OBDataTranState state, uint8_t percent)> SetDataCallback
Callback function for setting the raw data property when progress callbacks are made.
Definition Types.hpp:56
+
std::function< void(OBUpgradeState state, const char *message, uint8_t percent)> DeviceUpgradeCallback
Callback function for device upgrade status updates.
Definition Types.hpp:32
+
std::function< void(OBDataTranState state, OBDataChunk *dataChunk)> GetDataCallback
Callback function for getting raw data property data when data and progress callbacks are made.
Definition Types.hpp:48
+
std::function< void(OBFileTranState state, const char *message, uint8_t percent)> SendFileCallback
Callback function for file transfer status updates.
Definition Types.hpp:23
+
Structure for transmitting data blocks.
Definition ObTypes.h:309
+
+ + + + diff --git a/doc/api/English/Utils_8hpp_source.html b/doc/api/English/Utils_8hpp_source.html new file mode 100644 index 00000000..ec3ef42d --- /dev/null +++ b/doc/api/English/Utils_8hpp_source.html @@ -0,0 +1,141 @@ + + + + + + + +OrbbecSDK: E:/Projects/Jenkins/workspace/OrbbecSDK/libobsensor/include/libobsensor/hpp/Utils.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
OrbbecSDK 1.10.5 +
+
OrbbecSDK: Software-Development-Kit for Orbbec 3D Cameras
+
+
+ + + + + + + + +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ + +
+
+
Utils.hpp
+
+
+Go to the documentation of this file.
1
+
6#pragma once
+
7
+
8#include "Types.hpp"
+
9
+
10namespace ob {
+
11class Device;
+
12
+ +
14public:
+
26 static bool calibration3dTo3d(const OBCalibrationParam calibrationParam, const OBPoint3f sourcePoint3f, const OBSensorType sourceSensorType,
+
27 const OBSensorType targetSensorType, OBPoint3f *targetPoint3f);
+
28
+
41 static bool calibration2dTo3d(const OBCalibrationParam calibrationParam, const OBPoint2f sourcePoint2f, const float sourceDepthPixelValue,
+
42 const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint3f *targetPoint3f);
+
43
+
57 static bool calibration2dTo3dUndistortion(const OBCalibrationParam calibrationParam, const OBPoint2f sourcePoint2f, const float sourceDepthPixelValue,
+
58 const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint3f *targetPoint3f);
+
59
+
71 static bool calibration3dTo2d(const OBCalibrationParam calibrationParam, const OBPoint3f sourcePoint3f, const OBSensorType sourceSensorType,
+
72 const OBSensorType targetSensorType, OBPoint2f *targetPoint2f);
+
73
+
86 static bool calibration2dTo2d(const OBCalibrationParam calibrationParam, const OBPoint2f sourcePoint2f, const float sourceDepthPixelValue,
+
87 const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint2f *targetPoint2f);
+
88
+
99 static std::shared_ptr<ob::Frame> transformationDepthFrameToColorCamera(std::shared_ptr<ob::Device> device, std::shared_ptr<ob::Frame> depthFrame,
+
100 uint32_t targetColorCameraWidth, uint32_t targetColorCameraHeight);
+
101
+
114 static bool transformationInitXYTables(const OBCalibrationParam calibrationParam, const OBSensorType sensorType, float *data, uint32_t *dataSize,
+
115 OBXYTables *xyTables);
+
116
+
125 static void transformationDepthToPointCloud(OBXYTables *xyTables, const void *depthImageData, void *pointCloudData);
+
126
+
136 static void transformationDepthToRGBDPointCloud(OBXYTables *xyTables, const void *depthImageData, const void *colorImageData, void *pointCloudData);
+
137};
+
138} // namespace ob
+
OBSensorType
Enumeration value describing the sensor type.
Definition ObTypes.h:157
+
#define OB_EXTENSION_API
Definition ObTypes.h:28
+
Provides SDK structure and enumeration constant definitions (depending on libobsensor/h/ObTypes....
+ +
static bool calibration3dTo2d(const OBCalibrationParam calibrationParam, const OBPoint3f sourcePoint3f, const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint2f *targetPoint2f)
Transform a 3d point of a source coordinate system into a 2d pixel coordinate of the target camera.
+
static bool calibration2dTo3dUndistortion(const OBCalibrationParam calibrationParam, const OBPoint2f sourcePoint2f, const float sourceDepthPixelValue, const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint3f *targetPoint3f)
Transform a 2d pixel coordinate with an associated depth value of the source camera into a 3d point o...
+
static bool calibration2dTo2d(const OBCalibrationParam calibrationParam, const OBPoint2f sourcePoint2f, const float sourceDepthPixelValue, const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint2f *targetPoint2f)
Transform a 2d pixel coordinate with an associated depth value of the source camera into a 2d pixel c...
+
static bool calibration3dTo3d(const OBCalibrationParam calibrationParam, const OBPoint3f sourcePoint3f, const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint3f *targetPoint3f)
Transform a 3d point of a source coordinate system into a 3d point of the target coordinate system.
+
static bool transformationInitXYTables(const OBCalibrationParam calibrationParam, const OBSensorType sensorType, float *data, uint32_t *dataSize, OBXYTables *xyTables)
Init transformation tables.
+
static std::shared_ptr< ob::Frame > transformationDepthFrameToColorCamera(std::shared_ptr< ob::Device > device, std::shared_ptr< ob::Frame > depthFrame, uint32_t targetColorCameraWidth, uint32_t targetColorCameraHeight)
Transforms the depth frame into the geometry of the color camera.
+
static void transformationDepthToPointCloud(OBXYTables *xyTables, const void *depthImageData, void *pointCloudData)
Transform depth image to point cloud data.
+
static void transformationDepthToRGBDPointCloud(OBXYTables *xyTables, const void *depthImageData, const void *colorImageData, void *pointCloudData)
Transform depth image to RGBD point cloud data.
+
static bool calibration2dTo3d(const OBCalibrationParam calibrationParam, const OBPoint2f sourcePoint2f, const float sourceDepthPixelValue, const OBSensorType sourceSensorType, const OBSensorType targetSensorType, OBPoint3f *targetPoint3f)
Transform a 2d pixel coordinate with an associated depth value of the source camera into a 3d point o...
+
Definition Context.hpp:16
+
calibration parameters
Definition ObTypes.h:480
+
2D point structure in the SDK
Definition ObTypes.h:745
+
3D point structure in the SDK
Definition ObTypes.h:736
+ +
+ + + +