39 #include <pcl/pcl_exports.h>
40 #include <pcl/gpu/containers/kernel_containers.h>
83 void create(std::size_t sizeBytes_arg);
97 void upload(
const void *host_ptr_arg, std::size_t sizeBytes_arg);
102 void download(
void *host_ptr_arg)
const;
110 template<
class T> T* ptr();
113 template<
class T>
const T* ptr()
const;
116 template <
class U>
operator PtrSz<U>()
const;
121 std::size_t sizeBytes()
const;
128 std::size_t sizeBytes_;
164 DeviceMemory2D(
int rows_arg,
int colsBytes_arg,
void *data_arg, std::size_t step_arg);
176 void create(
int rows_arg,
int colsBytes_arg);
192 void upload(
const void *host_ptr_arg, std::size_t host_step_arg,
int rows_arg,
int colsBytes_arg);
198 void download(
void *host_ptr_arg, std::size_t host_step_arg)
const;
208 template<
class T> T* ptr(
int y_arg = 0);
213 template<
class T>
const T* ptr(
int y_arg = 0)
const;
216 template <
class U>
operator PtrStep<U>()
const;
225 int colsBytes()
const;
231 std::size_t step()
const;
257 #include <pcl/gpu/containers/impl/device_memory.hpp>