Orbbec Unity SDK
|
Public Member Functions | |
Pipeline () | |
Pipeline 是SDK的高级接口,适用于应用,算法等重点关注RGBD数据流常见,Pipeline在SDK内部可以提供对齐,同步后的FrameSet桢集合 直接方便客户使用。 Pipeline()无参数版本,默认打开连接到OS的设备列表中的第一个设备。若应用已经通过DeviceList获取设备,此时打开Pipeline()会抛出设备已经创建异常。 需要开发者捕获异常处理。 . More... | |
Pipeline (Device device) | |
适用于多设备操作常见,此时需要通过DeviceList获取多个设备,通过该接口实现device和pipeline绑定。 More... | |
Pipeline (string fileName) | |
使用回放文件来创建pipeline对象 More... | |
void | Start (Config config) |
启动pipeline More... | |
void | Start (Config config, FramesetCallback callback) |
启动pipeline并设置帧集合数据回调 More... | |
void | Stop () |
停止pipeline More... | |
Config | GetConfig () |
获取pipeline的配置参数 More... | |
Frameset | WaitForFrames (UInt32 timeoutMs) |
等待帧集合数据 More... | |
Device | GetDevice () |
获取设备对象 More... | |
StreamProfileList | GetStreamProfileList (SensorType sensorType) |
获取指定传感器的流配置 More... | |
void | EnableFrameSync () |
打开帧同步功能 | |
void | DisableFrameSync () |
关闭帧同步功能 | |
void | SwitchConfig (Config config) |
CameraParam | GetCameraParam () |
void | StartRecord (String fileName) |
void | StopRecord () |
void | Dispose () |
|
inline |
Pipeline 是SDK的高级接口,适用于应用,算法等重点关注RGBD数据流常见,Pipeline在SDK内部可以提供对齐,同步后的FrameSet桢集合 直接方便客户使用。 Pipeline()无参数版本,默认打开连接到OS的设备列表中的第一个设备。若应用已经通过DeviceList获取设备,此时打开Pipeline()会抛出设备已经创建异常。 需要开发者捕获异常处理。 .
|
inline |
适用于多设备操作常见,此时需要通过DeviceList获取多个设备,通过该接口实现device和pipeline绑定。
|
inline |
使用回放文件来创建pipeline对象
|
inline |
获取pipeline的配置参数
|
inline |
获取设备对象
|
inline |
|
inline |
启动pipeline
启动pipeline并配置参数
config | pipeline的参数配置 |
|
inline |
启动pipeline并设置帧集合数据回调
|
inline |
停止pipeline
|
inline |
等待帧集合数据