OrbbecSDK  1.5.7
OrbbecSDK: Software-Development-Kit for Orbbec 3D-Sensor devices
Public 成员函数 | 所有成员列表
ob::VideoStreamProfile类 参考

#include <StreamProfile.hpp>

类 ob::VideoStreamProfile 继承关系图:
ob::StreamProfile

Public 成员函数

 VideoStreamProfile (StreamProfile &profile)
 
 ~VideoStreamProfile () noexcept
 
uint32_t fps () const
 获取流的帧率 更多...
 
uint32_t width () const
 获取流的宽 更多...
 
uint32_t height () const
 获取流的高 更多...
 
- Public 成员函数 继承自 ob::StreamProfile
 StreamProfile (std::unique_ptr< StreamProfileImpl > impl)
 
 StreamProfile (StreamProfile &streamProfile)
 
 ~StreamProfile () noexcept
 
OBFormat format () const
 获取流的格式 更多...
 
OBStreamType type () const
 获取流的类型 更多...
 
template<typename T >
bool is ()
 检查帧对象的运行时类型是否与给定类型兼容 更多...
 
template<typename T >
std::shared_ptr< T > as ()
 对象类型转换 更多...
 

额外继承的成员函数

- Protected 属性 继承自 ob::StreamProfile
std::unique_ptr< StreamProfileImpl > impl_
 

详细描述

在文件 StreamProfile.hpp101 行定义.

构造及析构函数说明

ob::VideoStreamProfile::VideoStreamProfile ( StreamProfile profile)
ob::VideoStreamProfile::~VideoStreamProfile ( )
noexcept

成员函数说明

uint32_t ob::VideoStreamProfile::fps ( ) const

获取流的帧率

返回
uint32_t 返回流的帧率
uint32_t ob::VideoStreamProfile::width ( ) const

获取流的宽

返回
uint32_t 返回流的宽
uint32_t ob::VideoStreamProfile::height ( ) const

获取流的高

返回
uint32_t 返回流的高

该类的文档由以下文件生成: