37 #ifndef _PCL_GPU_OCTREE_DEVICE_FORMAT_HPP_
38 #define _PCL_GPU_OCTREE_DEVICE_FORMAT_HPP_
40 #include <pcl/gpu/containers/device_array.h>
55 create(query_number, max_elements);
58 void create(
int query_number,
int max_elements)
67 void upload(
const std::vector<int>&
data,
const std::vector<int>&
sizes,
int max_elements)
69 this->data.upload(
data);
70 this->sizes.upload(
sizes);
std::size_t size() const
Returns size in elements.
void create(std::size_t size)
Allocates internal buffer in GPU memory.
T * ptr()
Returns pointer for internal buffer in GPU memory.
NeighborIndices(int query_number, int max_elements)
void upload(const std::vector< int > &data, const std::vector< int > &sizes, int max_elements)
bool validate(std::size_t cloud_size) const
void create(int query_number, int max_elements)
std::size_t neighboors_size() const