Astra SDK
v2.1.3
|
Image Stream Mode
更多...
#include <Image.hpp>
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 更多... | |
ImageStreamMode & | operator= (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
|
inline |
constructs
[in] | width | |
[in] | height | |
[in] | fps | |
[in] | format |
|
inline |
copy constructs
[in] | other | mode |
|
inline |
get bytes per pixel
|
inline |
get fps
|
inline |
get height
|
inline |
copy constructs
[in] | other | mode |
|
inline |
get height
|
inline |
set fps
[in] | fps |
|
inline |
set height
[in] | height |
|
inline |
set fps
[in] | pixel | format |
|
inline |
|
inline |
get width