Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
mitk::OclBaseData Class Referenceabstract

#include <mitkOclBaseData.h>

Inheritance diagram for mitk::OclBaseData:
Collaboration diagram for mitk::OclBaseData:

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...
 

Detailed Description

Definition at line 28 of file mitkOclBaseData.h.

Constructor & Destructor Documentation

◆ OclBaseData()

mitk::OclBaseData::OclBaseData ( )
protected

Default constructor.

◆ ~OclBaseData()

virtual mitk::OclBaseData::~OclBaseData ( )
protectedvirtual

Default destructor.

Member Function Documentation

◆ CPUModified()

void mitk::OclBaseData::CPUModified ( )

Set the modified flag for one of the CPU buffer.

◆ GetGPUBuffer()

virtual cl_mem mitk::OclBaseData::GetGPUBuffer ( )
virtual

Get the pointer to the buffer on the device (GPU)

Reimplemented in mitk::OclImage, and mitk::OclDataSet.

◆ GPUModified()

void mitk::OclBaseData::GPUModified ( )

Set the modified flag for one of the GPU buffer.

◆ mitkClassMacroItkParent()

mitk::OclBaseData::mitkClassMacroItkParent ( OclBaseData  ,
itk::Object   
)

◆ TransferDataToCPU()

virtual void* mitk::OclBaseData::TransferDataToCPU ( cl_command_queue  )
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.

◆ TransferDataToGPU()

virtual int mitk::OclBaseData::TransferDataToGPU ( cl_command_queue  )
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.


The documentation for this class was generated from the following file: