17 #ifndef __mitkOclImageFormats_h
18 #define __mitkOclImageFormats_h
25 #include <itkLightObject.h>
26 #include <itkObjectFactory.h>
30 #include <MitkOpenCLExports.h>
32 #define MAX_FORMATS 10
33 #define MAX_DATA_TYPES 12
48 itkFactorylessNewMacro(Self)
55 bool IsFormatSupported(cl_image_format* format);
66 bool GetNearestSupported(cl_image_format* inputformat, cl_image_format* outputformat);
72 void SetGPUContext( cl_context context );
79 void CollectAvailableFormats();
100 void SortFormats( cl_image_format* formats, cl_uint count,
int val=1 ,
int dims = 2);
104 unsigned int GetOffset( cl_image_format format );
110 unsigned char* m_Image2DSupport;
113 unsigned char* m_Image3DSupport;
116 cl_context m_GpuContext;
121 #endif // __mitkOclImageFormats_h
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)