15 #ifndef __IPSDKIMAGE_CUDAPLANSTORAGE_H__ 16 #define __IPSDKIMAGE_CUDAPLANSTORAGE_H__ 21 #pragma warning (push) 22 #pragma warning (disable : 4251) 25 #include <IPSDKImage/Storage/BasePlanStorage.h> 26 #include <IPSDKImage/Geometry/BaseImageGeometry.h> 27 #include <IPSDKImage/Storage/Buffers/CudaBuffer.cuh> 47 typedef boost::shared_ptr<const CudaPlanStorage> CudaPlanStorageConstPtr;
51 typedef boost::shared_ptr<const CudaBuffer> CudaBufferConstPtr;
76 const void* getDataPtr()
const;
82 bool canBeRemotlyAccessed()
const;
87 bool hasBinary8BitsStorage()
const;
98 const CudaBuffer& getBuffer()
const;
99 CudaBuffer& getBuffer();
136 void clearPlanData();
168 #pragma warning (pop) 170 #endif // __IPSDKIMAGE_CUDAPLANSTORAGE_H__ boost::shared_ptr< CudaBuffer > CudaBufferPtr
Shared pointer to CudaBuffer.
Definition: CudaPlanStorage.h:50
ipUInt64 _bufferBaseSize
Element size (in Bytes)
Definition: CudaPlanStorage.h:144
static const ePlanStorageType::domain g_planStorageType
plan storage type
Definition: CudaPlanStorage.h:43
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
boost::shared_ptr< CudaPlanStorage > CudaPlanStoragePtr
Shared pointer to GpuPlanStorage.
Definition: CudaPlanStorage.h:46
uint64_t ipUInt64
Base types definition.
Definition: BaseTypes.h:55
GPU plan storage.
Definition: PlanStorageTypes.h:45
CudaBufferPtr _pBuffer
buffer associated to storage
Definition: CudaPlanStorage.h:141
ipUInt64 _deviceIdx
Element size (in Bytes)
Definition: CudaPlanStorage.h:147
IPSDKIMAGE_API ImageGeometryPtr geometry(const eImageBufferType &imageBufferType, const ipUInt64 sizeX, const ipUInt64 sizeY, const VolumeGeometry &volumeGeometry, const ColorGeometry &colorGeometry, const TemporalGeometry &temporalGeometry)
create an image geometry
Base class for image plan data storage.
Definition: BasePlanStorage.h:38
#define IPSDK_DECLARE_SERIAL_WITHOUT_COPY(libraryName, className)
macro enabling serialization on class
Definition: SerializationHdrMacro.h:79
eDataType
Enumerate describing a base type.
Definition: BaseTypes.h:77
#define IPSDKIMAGE_API
Import/Export macro for library IPSDKImage.
Definition: IPSDKImageExports.h:27
Class encapsulating image plan geometry.
Definition: ImagePlanGeometry.h:33
ePlanStorageType
Enumerate describing plan storage type.
Definition: PlanStorageTypes.h:33
ePlanStorageType getPlanStorageType() const
retrieve plan storage type
Definition: CudaPlanStorage.h:157
Definition: CudaPlanStorage.h:35
eImageAccessMode
Image access mode.
Definition: ImageTypes.h:110
eDataType _dataType
Data buffer type.
Definition: CudaPlanStorage.h:150