Raytrix Light Field SDK
5.0
|
Interface for images. We use enums as parameters for interface functions as they are not version dependent. That is, if the enum definition is extended in a later version of this assembly, the enum classes stay compatible.
Inherited by Rx::Net::Image.
Public Member Functions | |
bool | Create (int iWidth, int iHeight, EPixelType ePixelType, EDataType eDataType) |
Prepares memory. More... | |
bool | Destroy () |
Destroys this IImage. Thus, all used memory is freed. More... | |
int | GetBytesPerPixel () |
Gets the bytes per pixel. More... | |
void * | GetDataPtr () |
Gets the data pointer. More... | |
Properties | |
EDataType | DataType [get] |
Gets the identifier of the data type. More... | |
int | Height [get] |
Gets the height. More... | |
bool | IsValid [get] |
Gets a value indicating whether this IImage is valid. More... | |
EPixelType | PixelType [get] |
Gets the identifier of the pixel type. More... | |
int | Width [get] |
Gets the width. More... | |
bool Rx::InteropNet::Runtime28::IImage::Create | ( | int | iWidth, |
int | iHeight, | ||
EPixelType | ePixelType, | ||
EDataType | eDataType | ||
) |
Prepares memory.
iWidth | The width. |
iHeight | The height. |
ePixelType | Identifier for the image type. |
eDataType | Identifier for the data type. |
bool Rx::InteropNet::Runtime28::IImage::Destroy | ( | ) |
Destroys this IImage. Thus, all used memory is freed.
Implemented in Rx::Net::Image.
int Rx::InteropNet::Runtime28::IImage::GetBytesPerPixel | ( | ) |
void* Rx::InteropNet::Runtime28::IImage::GetDataPtr | ( | ) |
Gets the data pointer.
Implemented in Rx::Net::Image.
|
get |
Gets the identifier of the data type.
|
get |
Gets the height.
|
get |
Gets a value indicating whether this IImage is valid.
|
get |
Gets the identifier of the pixel type.
|
get |
Gets the width.