IImage Class
C++
#include "Rx.Core/IImage.h"
class IImage
Interface supported by Raytrix images.
Destructor
~IImage() | Virtual default destructor. |
Methods
Create(iWidth, iHeight, ePixelType, eDataType) | Creates an image of given type and size and reserve the appropriate amount of memory. |
Create(iWidth, iHeight, ePixelType, eDataType, pvData) | Creates an image of given type and size and copies the data from the given pointer. |
Destroy() | Destroys the image. |
IsValid() | Test whether this image exists. |
GetBytesPerPixel() | Gets the bytes per pixel. |
GetPixelCount() | Gets the pixel count. |
GetByteCount() | Gets the byte count. |
GetSize(iWidth, iHeight) | Gets the size of this image. |
GetType(ePixelType, eDataType) | Gets the pixel and the data type of this image. |
GetDataPtr() | Gets the data pointer. |
GetDataPtr() | Gets the const data pointer. |