#include <iso_cl_image_object.h>
Inherits iso::cl::MemoryObject.
Inheritance diagram for iso::cl::ImageObject< DataType >:
Public Member Functions | |
ImageObject (MemoryUsage pUsage, const math::Vector< int > &pSize, ColorType pColorType) throw (CLException) | |
ImageObject (MemoryUsage pUsage, DataType *pData, const math::Vector< int > &pSize, ColorType pColorType) throw (CLException) | |
~ImageObject () | |
void | reset (MemoryUsage pUsage, const math::Vector< int > &pSize, ColorType pColorType) throw (CLException) |
void | reset (MemoryUsage pUsage, DataType *pData, const math::Vector< int > &pSize, ColorType pColorType) throw (CLException) |
const math::Vector< int > & | size () const |
ColorType | colorType () const |
int | channelCount () const |
DataType * | data () |
const DataType * | data () const |
void | setData (DataType *pData) |
void | read (Queue &pQueue) throw (CLException) |
void | write (Queue &pQueue) throw (CLException) |
void | read (Queue &pQueue, DataType *pData) throw (CLException) |
void | write (Queue &pQueue, DataType *pData) throw (CLException) |
Static Protected Member Functions | |
static int | channelCount (ColorType pColorType) |
Protected Attributes | |
math::Vector< int > | mSize |
ColorType | mColorType |
DataType * | mData |
iso::cl::ImageObject< DataType >::ImageObject | ( | MemoryUsage | pUsage, | |
const math::Vector< int > & | pSize, | |||
ColorType | pColorType | |||
) | throw (CLException) |
iso::cl::ImageObject< DataType >::ImageObject | ( | MemoryUsage | pUsage, | |
DataType * | pData, | |||
const math::Vector< int > & | pSize, | |||
ColorType | pColorType | |||
) | throw (CLException) |
iso::cl::ImageObject< DataType >::~ImageObject | ( | ) |
void iso::cl::ImageObject< DataType >::reset | ( | MemoryUsage | pUsage, | |
const math::Vector< int > & | pSize, | |||
ColorType | pColorType | |||
) | throw (CLException) |
void iso::cl::ImageObject< DataType >::reset | ( | MemoryUsage | pUsage, | |
DataType * | pData, | |||
const math::Vector< int > & | pSize, | |||
ColorType | pColorType | |||
) | throw (CLException) |
const math::Vector< int > & iso::cl::ImageObject< DataType >::size | ( | ) | const |
ColorType iso::cl::ImageObject< DataType >::colorType | ( | ) | const |
int iso::cl::ImageObject< DataType >::channelCount | ( | ) | const |
DataType * iso::cl::ImageObject< DataType >::data | ( | ) |
const DataType * iso::cl::ImageObject< DataType >::data | ( | ) | const |
void iso::cl::ImageObject< DataType >::setData | ( | DataType * | pData | ) |
void iso::cl::ImageObject< DataType >::read | ( | Queue & | pQueue | ) | throw (CLException) [virtual] |
Implements iso::cl::MemoryObject.
void iso::cl::ImageObject< DataType >::write | ( | Queue & | pQueue | ) | throw (CLException) [virtual] |
Implements iso::cl::MemoryObject.
void iso::cl::ImageObject< DataType >::read | ( | Queue & | pQueue, | |
DataType * | pData | |||
) | throw (CLException) |
void iso::cl::ImageObject< DataType >::write | ( | Queue & | pQueue, | |
DataType * | pData | |||
) | throw (CLException) |
int iso::cl::ImageObject< DataType >::channelCount | ( | ColorType | pColorType | ) | [static, protected] |
math::Vector<int> iso::cl::ImageObject< DataType >::mSize [protected] |
ColorType iso::cl::ImageObject< DataType >::mColorType [protected] |
DataType* iso::cl::ImageObject< DataType >::mData [protected] |