Raytrix Light Field SDK
5.0
|
Interface supported by Raytrix images.
Inherited by Rx::CRxImage.
Public Member Functions | |
virtual bool | Create (const IImage *pImage)=0 |
Create image from given image. More... | |
virtual bool | Create (int iWidth, int iHeight, Interop::Runtime28::EPixelType::ID ePixelType, Interop::Runtime28::EDataType::ID eDataType)=0 |
Create an image of given type and size and reserve the appropriate amount of memory. We can use as input types enums as they stay compatible between module versions even if the enum declarations have different numbers of entries. More... | |
virtual bool | Create (int iWidth, int iHeight, Interop::Runtime28::EPixelType::ID ePixelType, Interop::Runtime28::EDataType::ID eDataType, const void *pData)=0 |
Create an image of given type and size and copy the data from the given pointer. More... | |
virtual bool | Destroy ()=0 |
Destroy image. More... | |
virtual unsigned | GetByteCount () const =0 |
Gets the byte count. More... | |
virtual int | GetBytesPerPixel () const =0 |
Gets the bytes per pixel. More... | |
virtual const void * | GetDataPtr () const =0 |
Gets the data pointer. More... | |
virtual void * | GetDataPtr ()=0 |
Gets the data pointer. More... | |
virtual unsigned | GetPixelCount () const =0 |
Gets the pixel count. More... | |
virtual void | GetSize (int &iWidth, int &iHeight) const =0 |
Gets the size of this image. More... | |
virtual void | GetType (Interop::Runtime28::EPixelType::ID &ePixelType, Interop::Runtime28::EDataType::ID &eDataType) const =0 |
Gets the type of this image. More... | |
virtual bool | IsValid () const =0 |
Test whether this image exists. More... | |
|
pure virtual |
Create image from given image.
pImage | The image. |
|
pure virtual |
Create an image of given type and size and reserve the appropriate amount of memory. We can use as input types enums as they stay compatible between module versions even if the enum declarations have different numbers of entries.
iWidth | Zero-based index of the width. |
iHeight | Zero-based index of the height. |
ePixelType | Type of the pixel. |
eDataType | Type of the data. |
Implemented in Rx::CRxImage.
|
pure virtual |
Create an image of given type and size and copy the data from the given pointer.
iWidth | Zero-based index of the width. |
iHeight | Zero-based index of the height. |
ePixelType | Type of the pixel. |
eDataType | Type of the data. |
pData | The data. |
Implemented in Rx::CRxImage.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Gets the size of this image.
iWidth | [out] The width. |
iHeight | [out] The height. |
Implemented in Rx::CRxImage.
|
pure virtual |
Gets the type of this image.
ePixelType | [out] Type of the pixel. |
eDataType | [out] Type of the data. |
Implemented in Rx::CRxImage.
|
pure virtual |