37#ifndef PCL_GPU_CONTAINER_DEVICE_MEMORY_IMPL_HPP_
38#define PCL_GPU_CONTAINER_DEVICE_MEMORY_IMPL_HPP_
56 return (
const T*)data_;
73 return (T*)((
char*)data_ +
y_arg * step_);
80 return (
const T*)((
const char*)data_ +
y_arg * step_);
98 result.cols = colsBytes_ /
sizeof(
U);
Iterator class for point clouds with or without given indices.
std::size_t size() const
Size of the range the iterator is going through.
T * ptr(int y_arg=0)
Returns pointer to given row in internal buffer.
T * ptr()
Returns pointer for internal buffer in GPU memory.