|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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 28 of file mitkOclBaseData.h.
|
protected |
Default constructor.
Definition at line 15 of file mitkOclBaseData.cpp.
|
protectedvirtual |
Default destructor.
Definition at line 20 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, and mitk::OclDataSet.
Definition at line 26 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, and mitk::OclDataSet.
|
pure virtual |
Copies the RAM-stored data to GPU-MEM. This method has to be implemented for each data type.
Implemented in mitk::OclImage, and mitk::OclDataSet.