13 #ifndef mitkOclDataSet_h
14 #define mitkOclDataSet_h
20 #include "MitkOpenCLExports.h"
40 itkFactorylessNewMacro(Self);
44 virtual int TransferDataToGPU(cl_command_queue);
47 virtual void* TransferDataToCPU(cl_command_queue);
56 cl_mem GetGPUBuffer();
61 cl_mem CreateGPUBuffer();
67 bool IsModified(
int _type);
69 using OclBaseData::Modified;
75 void Modified(
int _type);
80 this->m_cpuModified =
true;
81 this->m_gpuModified =
false;
88 return this->m_bufferSize;
97 void SetBufferSize(
size_t size);
100 void SetBpE(
unsigned short BpE);
126 unsigned short m_BpE;