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

Image Stream Mode
更多...

#include <Image.hpp>

类 astra::ImageStreamMode 继承关系图:
astra_imagestream_mode_t

Public 成员函数

 ImageStreamMode ()
 Default constructs
 
 ImageStreamMode (std::uint32_t width, std::uint32_t height, std::uint8_t fps, astra_pixel_format_t format)
 constructs 更多...
 
 ImageStreamMode (const ::astra_imagestream_mode_t &mode)
 copy constructs 更多...
 
ImageStreamModeoperator= (const ::astra_imagestream_mode_t &mode)
 copy constructs 更多...
 
 operator::astra_imagestream_mode_t * ()
 
 operator const ::astra_imagestream_mode_t * () const
 
std::uint8_t fps () const
 get fps 更多...
 
void set_fps (std::uint8_t fps)
 set fps 更多...
 
const std::uint8_t bytes_per_pixel () const
 get bytes per pixel 更多...
 
std::uint32_t width () const
 get width 更多...
 
void set_width (std::uint32_t width)
 set width 更多...
 
std::uint32_t height () const
 get height 更多...
 
void set_height (std::uint32_t height)
 set height 更多...
 
astra_pixel_format_t pixel_format () const
 get height 更多...
 
void set_pixel_format (astra_pixel_format_t format)
 set fps 更多...
 

友元

std::ostream & operator<< (std::ostream &os, const ImageStreamMode &ism)
 

详细描述

Image Stream Mode

示例
ColorizedBodyViewer-SFML\main.cpp, MaskedColorViewer-SFML\main.cpp, MultiSensorViewer-SFML\main.cpp, SimpleBodyViewer-SFML\main.cpp, SimpleDepthViewer-SFML\main.cpp , 以及 SimpleStreamViewer-SFML\main.cpp.

构造及析构函数说明

◆ ImageStreamMode() [1/2]

astra::ImageStreamMode::ImageStreamMode ( std::uint32_t  width,
std::uint32_t  height,
std::uint8_t  fps,
astra_pixel_format_t  format 
)
inline

constructs

参数
[in]width
[in]height
[in]fps
[in]format

◆ ImageStreamMode() [2/2]

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

copy constructs

参数
[in]othermode

成员函数说明

◆ bytes_per_pixel()

const std::uint8_t astra::ImageStreamMode::bytes_per_pixel ( ) const
inline

get bytes per pixel

返回
bytes per pixel

◆ fps()

std::uint8_t astra::ImageStreamMode::fps ( ) const
inline

get fps

返回
fps

◆ height()

std::uint32_t astra::ImageStreamMode::height ( ) const
inline

get height

返回
height

◆ operator=()

ImageStreamMode& astra::ImageStreamMode::operator= ( const ::astra_imagestream_mode_t mode)
inline

copy constructs

参数
[in]othermode

◆ pixel_format()

astra_pixel_format_t astra::ImageStreamMode::pixel_format ( ) const
inline

get height

返回
pixel format

◆ set_fps()

void astra::ImageStreamMode::set_fps ( std::uint8_t  fps)
inline

◆ set_height()

void astra::ImageStreamMode::set_height ( std::uint32_t  height)
inline

◆ set_pixel_format()

void astra::ImageStreamMode::set_pixel_format ( astra_pixel_format_t  format)
inline

◆ set_width()

void astra::ImageStreamMode::set_width ( std::uint32_t  width)
inline

◆ width()

std::uint32_t astra::ImageStreamMode::width ( ) const
inline

get width

返回
width

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