Medical Imaging Interaction Toolkit  2016.11.0
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 32 of file mitkOclBaseData.h.

Constructor & Destructor Documentation

mitk::OclBaseData::OclBaseData ( )
protected

Default constructor.

Definition at line 19 of file mitkOclBaseData.cpp.

mitk::OclBaseData::~OclBaseData ( )
protectedvirtual

Default destructor.

Definition at line 24 of file mitkOclBaseData.cpp.

Member Function Documentation

void mitk::OclBaseData::CPUModified ( )

Set the modified flag for one of the CPU buffer.

cl_mem mitk::OclBaseData::GetGPUBuffer ( )
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   
)
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.

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.


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