|
ifw-rtmstools 3.0.0
|
DDT Image Class. More...
#include <ddtImage.hpp>
Public Member Functions | |
| DdtImage (int width, int height, int bpp) | |
| Constructor. | |
| DdtImage (const DdtImage &)=delete | |
| DdtImage & | operator= (DdtImage &)=delete |
| virtual | ~DdtImage () |
| int | GetWidth () |
| Get image width. | |
| int | GetHeight () |
| Get image height. | |
| int | GetBpp () |
| Get image bytes per pixel. | |
| int | GetSize () |
| Get image size. | |
| unsigned char * | GetImage () |
| Get a pointer to the image data. | |
DDT Image Class.
This class is used store the image received through RTMS to be shared with the class that will send it to the DDT.
| ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::DdtImage | ( | int | width, |
| int | height, | ||
| int | bpp ) |
Constructor.
Initialize image memory and main properties.
|
delete |
|
virtual |
| int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetBpp | ( | ) |
Get image bytes per pixel.
| int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetHeight | ( | ) |
Get image height.
| unsigned char * ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetImage | ( | ) |
Get a pointer to the image data.
The image is stored as an array of bytes.
| int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetSize | ( | ) |
Get image size.
Size is width * height * bytes per pixel
| int ifw::rtmstools::rtms2ddtlib_llnetio::DdtImage::GetWidth | ( | ) |
Get image width.