![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkOpenCLImageFormat.h>
The OpenCLImageFormat class represents the format of a OpenCLImage.
Definition at line 34 of file itkOpenCLImageFormat.h.
Public Types | |
enum | ChannelOrder { R = 0x10B0, A = 0x10B1, RG = 0x10B2, RA = 0x10B3, RGB = 0x10B4, RGBA = 0x10B5, BGRA = 0x10B6, ARGB = 0x10B7, INTENSITY = 0x10B8, LUMINANCE = 0x10B9, Rx = 0x10BA, RGx = 0x10BB, RGBx = 0x10BC, DEPTH = 0x10BD, DEPTH_STENCIL = 0x10BE } |
enum | ChannelType { SNORM_INT8 = 0x10D0, SNORM_INT16 = 0x10D1, UNORM_INT8 = 0x10D2, UNORM_INT16 = 0x10D3, UNORM_SHORT_565 = 0x10D4, UNORM_SHORT_555 = 0x10D5, UNORM_INT_101010 = 0x10D6, SIGNED_INT8 = 0x10D7, SIGNED_INT16 = 0x10D8, SIGNED_INT32 = 0x10D9, UNSIGNED_INT8 = 0x10DA, UNSIGNED_INT16 = 0x10DB, UNSIGNED_INT32 = 0x10DC, HALF_FLOAT = 0x10DD, FLOAT = 0x10DE, UNORM_INT24 = 0x10DF } |
enum | ImageType { BUFFER = 0x10F0, IMAGE2D = 0x10F1, IMAGE3D = 0x10F2, IMAGE2D_ARRAY = 0x10F3, IMAGE1D = 0x10F4, IMAGE1D_ARRAY = 0x10F5, IMAGE1D_BUFFER = 0x10F6 } |
typedef OpenCLImageFormat | Self |
Public Member Functions | |
OpenCLImageFormat::ChannelOrder | GetChannelOrder () const |
OpenCLImageFormat::ChannelType | GetChannelType () const |
OpenCLImageFormat::ImageType | GetImageType () const |
bool | IsNull () const |
OpenCLImageFormat () | |
OpenCLImageFormat (const OpenCLImageFormat::ChannelOrder channelOrder, const OpenCLImageFormat::ChannelType channelType) | |
OpenCLImageFormat (const OpenCLImageFormat::ImageType imageType, const OpenCLImageFormat::ChannelOrder channelOrder, const OpenCLImageFormat::ChannelType channelType) | |
Private Attributes | |
cl_image_format | m_Format |
cl_mem_object_type | m_ImageType |
Friends | |
class | OpenCLContext |
class | OpenCLImage |
Standard class typedefs.
Definition at line 39 of file itkOpenCLImageFormat.h.
Enumerator | |
---|---|
R | |
A | |
RG | |
RA | |
RGB | |
RGBA | |
BGRA | |
ARGB | |
INTENSITY | |
LUMINANCE | |
Rx | |
RGx | |
RGBx | |
DEPTH | |
DEPTH_STENCIL |
Definition at line 90 of file itkOpenCLImageFormat.h.
Definition at line 133 of file itkOpenCLImageFormat.h.
Enumerator | |
---|---|
BUFFER | |
IMAGE2D | |
IMAGE3D | |
IMAGE2D_ARRAY | |
IMAGE1D | |
IMAGE1D_ARRAY | |
IMAGE1D_BUFFER |
Definition at line 50 of file itkOpenCLImageFormat.h.
itk::OpenCLImageFormat::OpenCLImageFormat | ( | ) |
Constructs a null OpenCL image format descriptor.
itk::OpenCLImageFormat::OpenCLImageFormat | ( | const OpenCLImageFormat::ChannelOrder | channelOrder, |
const OpenCLImageFormat::ChannelType | channelType | ||
) |
Constructs an OpenCL image format descriptor from channelOrder and channelType.
itk::OpenCLImageFormat::OpenCLImageFormat | ( | const OpenCLImageFormat::ImageType | imageType, |
const OpenCLImageFormat::ChannelOrder | channelOrder, | ||
const OpenCLImageFormat::ChannelType | channelType | ||
) |
Constructs an OpenCL image format descriptor from imageType channelOrder and channelType.
OpenCLImageFormat::ChannelOrder itk::OpenCLImageFormat::GetChannelOrder | ( | ) | const |
Returns the order of channels in this OpenCL image format.
OpenCLImageFormat::ChannelType itk::OpenCLImageFormat::GetChannelType | ( | ) | const |
Returns the representation type for channels in this OpenCL image format.
OpenCLImageFormat::ImageType itk::OpenCLImageFormat::GetImageType | ( | ) | const |
Returns the image type in this OpenCL image format.
bool itk::OpenCLImageFormat::IsNull | ( | ) | const |
Returns true if this OpenCL image format descriptor is null.
|
friend |
friends from OpenCL core
Definition at line 190 of file itkOpenCLImageFormat.h.
|
friend |
Definition at line 191 of file itkOpenCLImageFormat.h.
|
private |
Definition at line 187 of file itkOpenCLImageFormat.h.
|
private |
Definition at line 186 of file itkOpenCLImageFormat.h.
Generated on 07-03-2016 for elastix by ![]() |
![]() |