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)
61 data.create (
static_cast<std::size_t
>(query_number) *
static_cast<std::size_t
>(
max_elems));
64 sizes.create(query_number);
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);
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