Astra SDK  v2.1.3
Public 成员函数 | 所有成员列表
astra::ImageStream类 参考

basic Image Stream 更多...

#include <Image.hpp>

类 astra::ImageStream 继承关系图:
astra::DataStream astra::ColorStream astra::DepthStream astra::InfraredStream

Public 成员函数

 ImageStream (astra_streamconnection_t connection)
 
float hFov () const
 get horizontal fov 更多...
 
float vFov () const
 get vertical fov 更多...
 
astra_usb_info_t usb_info () const
 get usb_info 更多...
 
bool mirroring_enabled () const
 get is mirroring 更多...
 
void enable_mirroring (bool mirroring)
 enable mirroring 更多...
 
std::vector< ImageStreamModeavailable_modes () const
 get available_modes 更多...
 
ImageStreamMode mode () const
 get current image mode 更多...
 
void set_mode (const ImageStreamMode &mode)
 set current image mode 更多...
 
- Public 成员函数 继承自 astra::DataStream
 DataStream (astra_streamconnection_t connection)
 default constructs 更多...
 
bool is_available ()
 start stream
更多...
 
void start ()
 start stream

 
void stop ()
 stop stream

 

详细描述

basic Image Stream

成员函数说明

◆ available_modes()

std::vector<ImageStreamMode> astra::ImageStream::available_modes ( ) const
inline

get available_modes

返回
available modes

◆ enable_mirroring()

void astra::ImageStream::enable_mirroring ( bool  mirroring)
inline

enable mirroring

参数
[int]mirroring

◆ hFov()

float astra::ImageStream::hFov ( ) const
inline

get horizontal fov

返回
horizontal fov

◆ mirroring_enabled()

bool astra::ImageStream::mirroring_enabled ( ) const
inline

get is mirroring

返回
is mirroring

◆ mode()

ImageStreamMode astra::ImageStream::mode ( ) const
inline

get current image mode

返回
current image mode
示例
SimpleDepthViewer-SFML\main.cpp , 以及 SimpleStreamViewer-SFML\main.cpp.

◆ set_mode()

void astra::ImageStream::set_mode ( const ImageStreamMode mode)
inline

set current image mode

参数
[in]imagemode
示例
MaskedColorViewer-SFML\main.cpp.

◆ usb_info()

astra_usb_info_t astra::ImageStream::usb_info ( ) const
inline

get usb_info

返回
usb_info

◆ vFov()

float astra::ImageStream::vFov ( ) const
inline

get vertical fov

返回
vertical fov

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