Medical Imaging Interaction Toolkit
2023.12.00
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.
|
protectedvirtual |
Default destructor.
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.
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.