Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkOclBaseData.h>
Public Member Functions | |
mitkClassMacroItkParent (OclBaseData, itk::Object) | |
virtual int | TransferDataToGPU (cl_command_queue)=0 |
Copies the RAM-stored data to GPU-MEM. This method has to be implemented for each data type. More... | |
virtual void * | TransferDataToCPU (cl_command_queue)=0 |
Copies the in GPU-MEM stored data to RAM This method has to be implemented for each data type. More... | |
void | GPUModified () |
Set the modified flag for one of the GPU buffer. More... | |
void | CPUModified () |
Set the modified flag for one of the CPU buffer. More... | |
virtual cl_mem | GetGPUBuffer () |
Get the pointer to the buffer on the device (GPU) More... | |
Protected Member Functions | |
OclBaseData () | |
Default constructor. More... | |
virtual | ~OclBaseData () |
Default destructor. More... | |
Definition at line 32 of file mitkOclBaseData.h.
|
protected |
Default constructor.
Definition at line 19 of file mitkOclBaseData.cpp.
|
protectedvirtual |
Default destructor.
Definition at line 24 of file mitkOclBaseData.cpp.
void mitk::OclBaseData::CPUModified | ( | ) |
Set the modified flag for one of the CPU buffer.
|
virtual |
Get the pointer to the buffer on the device (GPU)
Reimplemented in mitk::OclImage.
Definition at line 30 of file mitkOclBaseData.cpp.
void mitk::OclBaseData::GPUModified | ( | ) |
Set the modified flag for one of the GPU buffer.
mitk::OclBaseData::mitkClassMacroItkParent | ( | OclBaseData | , |
itk::Object | |||
) |
|
pure virtual |
Copies the in GPU-MEM stored data to RAM This method has to be implemented for each data type.
Implemented in mitk::OclImage.
|
pure virtual |
Copies the RAM-stored data to GPU-MEM. This method has to be implemented for each data type.
Implemented in mitk::OclImage.