ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkGPUImageDataManager.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef GPUImageDataManager | Self |
typedef GPUDataManager | Superclass |
Public Types inherited from itk::GPUDataManager | |
typedef MutexLockHolder < SimpleFastMutexLock > | MutexHolderType |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | Graft (const GPUDataManager *data) |
virtual void | MakeCPUBufferUpToDate () |
virtual void | MakeGPUBufferUpToDate () |
void | SetImagePointer (typename ImageType::Pointer img) |
Public Member Functions inherited from itk::GPUDataManager | |
void | Allocate () |
unsigned int | GetBufferSize () |
void * | GetCPUBufferPointer () |
int | GetCurrentCommandQueueID () |
cl_mem * | GetGPUBufferPointer () |
virtual void | Initialize () |
bool | IsCPUBufferDirty () |
bool | IsGPUBufferDirty () |
void | SetBufferFlag (cl_mem_flags flags) |
void | SetBufferSize (unsigned int num) |
void | SetCPUBufferDirty () |
void | SetCPUBufferPointer (void *ptr) |
void | SetCPUDirtyFlag (bool isDirty) |
void | SetCurrentCommandQueue (int queueid) |
void | SetGPUBufferDirty () |
void | SetGPUDirtyFlag (bool isDirty) |
bool | Update () |
virtual void | UpdateCPUBuffer () |
virtual void | UpdateGPUBuffer () |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual unsigned long | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
GPUImageDataManager () | |
virtual | ~GPUImageDataManager () |
Protected Member Functions inherited from itk::GPUDataManager | |
GPUDataManager () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~GPUDataManager () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Member Functions | |
GPUImageDataManager (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
ImageType::Pointer | m_Image |
Friends | |
class | GPUImage< typename ImageType::PixelType, ImageType::ImageDimension > |
class | GPUKernelManager |
Additional Inherited Members | |
Protected Attributes inherited from itk::GPUDataManager | |
unsigned int | m_BufferSize |
int | m_CommandQueueId |
GPUContextManager * | m_ContextManager |
void * | m_CPUBuffer |
cl_mem | m_GPUBuffer |
bool | m_IsCPUBufferDirty |
bool | m_IsGPUBufferDirty |
cl_mem_flags | m_MemFlags |
SimpleFastMutexLock | m_Mutex |
DataManager for GPUImage. This class will take care of data synchronization between CPU Image and GPU Image.
Definition at line 44 of file itkGPUImageDataManager.h.
typedef SmartPointer<const Self> itk::GPUImageDataManager< ImageType >::ConstPointer |
Reimplemented from itk::GPUDataManager.
Definition at line 54 of file itkGPUImageDataManager.h.
typedef SmartPointer<Self> itk::GPUImageDataManager< ImageType >::Pointer |
Reimplemented from itk::GPUDataManager.
Definition at line 53 of file itkGPUImageDataManager.h.
typedef GPUImageDataManager itk::GPUImageDataManager< ImageType >::Self |
Smart pointer typedef support.
Reimplemented from itk::GPUDataManager.
Definition at line 51 of file itkGPUImageDataManager.h.
typedef GPUDataManager itk::GPUImageDataManager< ImageType >::Superclass |
Reimplemented from itk::GPUDataManager.
Definition at line 52 of file itkGPUImageDataManager.h.
|
inlineprotected |
Definition at line 71 of file itkGPUImageDataManager.h.
|
inlineprotectedvirtual |
Definition at line 72 of file itkGPUImageDataManager.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::GPUDataManager.
|
virtual |
Standard part of all itk objects.
Reimplemented from itk::GPUDataManager.
|
virtual |
Grafting GPU Image Data
Reimplemented from itk::GPUDataManager.
|
virtual |
actual GPU->CPU memory copy takes place here
|
virtual |
actual CPU->GPU memory copy takes place here
|
static |
Method for creation through the object factory.
Reimplemented from itk::GPUDataManager.
|
private |
Mutex lock to protect modification to the reference count
Reimplemented from itk::GPUDataManager.
void itk::GPUImageDataManager< ImageType >::SetImagePointer | ( | typename ImageType::Pointer | img | ) |
|
friend |
Definition at line 48 of file itkGPUImageDataManager.h.
|
friend |
allow GPUKernelManager to access GPU buffer pointer
Reimplemented from itk::GPUDataManager.
Definition at line 47 of file itkGPUImageDataManager.h.
|
private |
Definition at line 78 of file itkGPUImageDataManager.h.