Orbbec Unity SDK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Orbbec.Pipeline Class Reference
Inheritance diagram for Orbbec.Pipeline:

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 ()
 

Constructor & Destructor Documentation

◆ Pipeline() [1/3]

Orbbec.Pipeline.Pipeline ( )
inline

Pipeline 是SDK的高级接口,适用于应用,算法等重点关注RGBD数据流常见,Pipeline在SDK内部可以提供对齐,同步后的FrameSet桢集合 直接方便客户使用。 Pipeline()无参数版本,默认打开连接到OS的设备列表中的第一个设备。若应用已经通过DeviceList获取设备,此时打开Pipeline()会抛出设备已经创建异常。 需要开发者捕获异常处理。 .

◆ Pipeline() [2/3]

Orbbec.Pipeline.Pipeline ( Device  device)
inline

适用于多设备操作常见,此时需要通过DeviceList获取多个设备,通过该接口实现device和pipeline绑定。

◆ Pipeline() [3/3]

Orbbec.Pipeline.Pipeline ( string  fileName)
inline

使用回放文件来创建pipeline对象

Member Function Documentation

◆ GetConfig()

Config Orbbec.Pipeline.GetConfig ( )
inline

获取pipeline的配置参数

◆ GetDevice()

Device Orbbec.Pipeline.GetDevice ( )
inline

获取设备对象

◆ GetStreamProfileList()

StreamProfileList Orbbec.Pipeline.GetStreamProfileList ( SensorType  sensorType)
inline

获取指定传感器的流配置

Parameters
sensorType传感器的类型
Returns
StreamProfileList 返回流配置列表

◆ Start() [1/2]

void Orbbec.Pipeline.Start ( Config  config)
inline

启动pipeline

启动pipeline并配置参数

Parameters
configpipeline的参数配置

◆ Start() [2/2]

void Orbbec.Pipeline.Start ( Config  config,
FramesetCallback  callback 
)
inline

启动pipeline并设置帧集合数据回调

◆ Stop()

void Orbbec.Pipeline.Stop ( )
inline

停止pipeline

◆ WaitForFrames()

Frameset Orbbec.Pipeline.WaitForFrames ( UInt32  timeoutMs)
inline

等待帧集合数据