#include <image.h>
Public Member Functions | |
uint64_t | getFrameID () const |
size_t | getHeight () const |
uint64_t | getPixelFormat () const |
const uint8_t * | getPixels () const |
uint64_t | getTimestampNS () const |
size_t | getWidth () const |
size_t | getXOffset () const |
size_t | getXPadding () const |
size_t | getYOffset () const |
size_t | getYPadding () const |
Image (const Buffer *buffer) | |
bool | isBigEndian () const |
Private Member Functions | |
Image (class Image &) | |
Image & | operator= (const Image &) |
Private Attributes | |
bool | bigendian |
uint64_t | frameid |
size_t | height |
std::unique_ptr< uint8_t[]> | pixel |
uint64_t | pixelformat |
uint64_t | timestamp |
size_t | width |
size_t | xoffset |
size_t | xpadding |
size_t | yoffset |
size_t | ypadding |
The image class encapsulates image information. It can be created from a buffer and provides a part of its information. It can be used to temporarily store the image so that the buffer can be freed.
NOTE: A GenTLException is thrown in case of a severe error.
rcg::Image::Image | ( | const Buffer * | buffer | ) |
rcg::Image::Image | ( | class Image & | ) | [private] |
uint64_t rcg::Image::getFrameID | ( | ) | const [inline] |
size_t rcg::Image::getHeight | ( | ) | const [inline] |
uint64_t rcg::Image::getPixelFormat | ( | ) | const [inline] |
const uint8_t* rcg::Image::getPixels | ( | ) | const [inline] |
uint64_t rcg::Image::getTimestampNS | ( | ) | const [inline] |
size_t rcg::Image::getWidth | ( | ) | const [inline] |
size_t rcg::Image::getXOffset | ( | ) | const [inline] |
size_t rcg::Image::getXPadding | ( | ) | const [inline] |
size_t rcg::Image::getYOffset | ( | ) | const [inline] |
size_t rcg::Image::getYPadding | ( | ) | const [inline] |
bool rcg::Image::isBigEndian | ( | ) | const [inline] |
bool rcg::Image::bigendian [private] |
uint64_t rcg::Image::frameid [private] |
size_t rcg::Image::height [private] |
std::unique_ptr<uint8_t []> rcg::Image::pixel [private] |
uint64_t rcg::Image::pixelformat [private] |
uint64_t rcg::Image::timestamp [private] |
size_t rcg::Image::width [private] |
size_t rcg::Image::xoffset [private] |
size_t rcg::Image::xpadding [private] |
size_t rcg::Image::yoffset [private] |
size_t rcg::Image::ypadding [private] |