go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends
itk::GPUImageDataManager< ImageType > Class Template Reference

#include <itkGPUImageDataManager.h>

Detailed Description

template<typename ImageType>
class itk::GPUImageDataManager< ImageType >

Definition at line 66 of file itkGPUImageDataManager.h.

+ Inheritance diagram for itk::GPUImageDataManager< ImageType >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef GPUImageDataManager Self
 
typedef GPUDataManager Superclass
 
- Public Types inherited from itk::GPUDataManager
typedef SmartPointer< const SelfConstPointer
 
using MutexHolderType = std::lock_guard< std::mutex >
 
typedef SmartPointer< SelfPointer
 
typedef GPUDataManager Self
 
typedef Object Superclass
 

Public Member Functions

virtual const char * GetClassName () const
 
virtual void Graft (const GPUImageDataManager *data)
 
void SetImagePointer (typename ImageType::Pointer img)
 
void UpdateCPUBuffer () override
 
void UpdateGPUBuffer () override
 
- Public Member Functions inherited from itk::GPUDataManager
void Allocate ()
 
unsigned int GetBufferSize ()
 
virtual const char * GetClassName () const
 
virtual const boolGetCPUBufferLock ()
 
void * GetCPUBufferPointer ()
 
virtual const boolGetGPUBufferLock ()
 
cl_mem * GetGPUBufferPointer ()
 
virtual void Graft (const GPUDataManager *data)
 
virtual void Initialize ()
 
bool IsCPUBufferDirty ()
 
bool IsGPUBufferDirty ()
 
 ITK_DISALLOW_COPY_AND_ASSIGN (GPUDataManager)
 
void SetBufferFlag (cl_mem_flags flags)
 
void SetBufferSize (unsigned int num)
 
void SetCPUBufferDirty ()
 
void SetCPUBufferLock (const bool v)
 
void SetCPUBufferPointer (void *ptr)
 
void SetCPUDirtyFlag (bool isDirty)
 
void SetGPUBufferDirty ()
 
void SetGPUBufferLock (const bool v)
 
void SetGPUDirtyFlag (bool isDirty)
 
bool Update ()
 
virtual void UpdateCPUBuffer ()
 
virtual void UpdateGPUBuffer ()
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::GPUDataManager
static Pointer New ()
 

Protected Member Functions

 GPUImageDataManager ()
 
 ~GPUImageDataManager () override
 
- Protected Member Functions inherited from itk::GPUDataManager
 GPUDataManager ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ~GPUDataManager () override
 

Private Member Functions

 GPUImageDataManager (const Self &)
 
void operator= (const Self &)
 

Private Attributes

ImageType::Pointer m_Image
 

Friends

class OpenCLKernelManager
 

Additional Inherited Members

- Protected Attributes inherited from itk::GPUDataManager
unsigned int m_BufferSize
 
OpenCLContextm_Context
 
void * m_CPUBuffer
 
bool m_CPUBufferLock
 
cl_mem m_GPUBuffer
 
bool m_GPUBufferLock
 
bool m_IsCPUBufferDirty
 
bool m_IsGPUBufferDirty
 
cl_mem_flags m_MemFlags
 
std::mutex m_Mutex
 

Member Typedef Documentation

◆ ConstPointer

template<typename ImageType >
typedef SmartPointer< const Self > itk::GPUImageDataManager< ImageType >::ConstPointer

Definition at line 77 of file itkGPUImageDataManager.h.

◆ Pointer

template<typename ImageType >
typedef SmartPointer< Self > itk::GPUImageDataManager< ImageType >::Pointer

Definition at line 76 of file itkGPUImageDataManager.h.

◆ Self

template<typename ImageType >
typedef GPUImageDataManager itk::GPUImageDataManager< ImageType >::Self

Definition at line 74 of file itkGPUImageDataManager.h.

◆ Superclass

template<typename ImageType >
typedef GPUDataManager itk::GPUImageDataManager< ImageType >::Superclass

Definition at line 75 of file itkGPUImageDataManager.h.

Constructor & Destructor Documentation

◆ GPUImageDataManager() [1/2]

template<typename ImageType >
itk::GPUImageDataManager< ImageType >::GPUImageDataManager ( )
inlineprotected

Definition at line 95 of file itkGPUImageDataManager.h.

◆ ~GPUImageDataManager()

template<typename ImageType >
itk::GPUImageDataManager< ImageType >::~GPUImageDataManager ( )
inlineoverrideprotected

Definition at line 96 of file itkGPUImageDataManager.h.

◆ GPUImageDataManager() [2/2]

template<typename ImageType >
itk::GPUImageDataManager< ImageType >::GPUImageDataManager ( const Self )
private

Member Function Documentation

◆ GetClassName()

template<typename ImageType >
virtual const char * itk::GPUImageDataManager< ImageType >::GetClassName ( ) const
virtual

Reimplemented from itk::GPUDataManager.

◆ Graft()

template<typename ImageType >
virtual void itk::GPUImageDataManager< ImageType >::Graft ( const GPUImageDataManager< ImageType > *  data)
virtual

Grafting GPU Image Data

◆ New()

template<typename ImageType >
static Pointer itk::GPUImageDataManager< ImageType >::New ( )
static

◆ operator=()

template<typename ImageType >
void itk::GPUImageDataManager< ImageType >::operator= ( const Self )
private

◆ SetImagePointer()

template<typename ImageType >
void itk::GPUImageDataManager< ImageType >::SetImagePointer ( typename ImageType::Pointer  img)

◆ UpdateCPUBuffer()

template<typename ImageType >
void itk::GPUImageDataManager< ImageType >::UpdateCPUBuffer ( )
overridevirtual

actual GPU->CPU memory copy takes place here

Reimplemented from itk::GPUDataManager.

◆ UpdateGPUBuffer()

template<typename ImageType >
void itk::GPUImageDataManager< ImageType >::UpdateGPUBuffer ( )
overridevirtual

actual CPU->GPU memory copy takes place here

Reimplemented from itk::GPUDataManager.

Friends And Related Function Documentation

◆ OpenCLKernelManager

template<typename ImageType >
friend class OpenCLKernelManager
friend

Definition at line 69 of file itkGPUImageDataManager.h.

Field Documentation

◆ m_Image

template<typename ImageType >
ImageType::Pointer itk::GPUImageDataManager< ImageType >::m_Image
private

Definition at line 103 of file itkGPUImageDataManager.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo