![]() |
OrbbecSDK
1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
|
#include <Sensor.hpp>
Public 成员函数 | |
Sensor (std::unique_ptr< SensorImpl > impl) | |
virtual | ~Sensor () noexcept |
OBSensorType | type () |
传感器类型 更多... | |
const std::shared_ptr< StreamProfileList > | getStreamProfileList () |
获取传感器的流配置列表 更多... | |
void | start (std::shared_ptr< StreamProfile > streamProfile, FrameCallback callback) |
开启流并设置帧数据回调 更多... | |
void | stop () |
停止流 更多... | |
void | switchProfile (std::shared_ptr< StreamProfile > streamProfile) |
动态切换分辨率 更多... | |
Protected 属性 | |
std::unique_ptr< SensorImpl > | impl_ |
在文件 Sensor.hpp 第 40 行定义.
ob::Sensor::Sensor | ( | std::unique_ptr< SensorImpl > | impl | ) |
|
virtualnoexcept |
OBSensorType ob::Sensor::type | ( | ) |
传感器类型
const std::shared_ptr<StreamProfileList> ob::Sensor::getStreamProfileList | ( | ) |
获取传感器的流配置列表
void ob::Sensor::start | ( | std::shared_ptr< StreamProfile > | streamProfile, |
FrameCallback | callback | ||
) |
开启流并设置帧数据回调
streamProfile | 流的配置 |
callback | 设置帧数据到达时的回调 |
void ob::Sensor::stop | ( | ) |
停止流
void ob::Sensor::switchProfile | ( | std::shared_ptr< StreamProfile > | streamProfile | ) |
动态切换分辨率
streamProfile | 需要切换的分辨率 |
|
protected |
在文件 Sensor.hpp 第 42 行定义.