Open3D (C++ API)  0.12.0
Data Structures | Functions
VoxelizeOpKernel.h File Reference

(313315d (Wed Dec 23 23:39:47 2020 -0800))

#include "open3d/ml/pytorch/TorchHelper.h"
#include "torch/script.h"

Go to the source code of this file.

Data Structures

class  VoxelizeOutputAllocator
 

Functions

template<class T >
void VoxelizeCPU (const torch::Tensor &points, const torch::Tensor &voxel_size, const torch::Tensor &points_range_min, const torch::Tensor &points_range_max, const int64_t max_points_per_voxel, const int64_t max_voxels, torch::Tensor &voxel_coords, torch::Tensor &voxel_point_indices, torch::Tensor &voxel_point_row_splits)
 

Function Documentation

◆ VoxelizeCPU()

template<class T >
void VoxelizeCPU ( const torch::Tensor &  points,
const torch::Tensor &  voxel_size,
const torch::Tensor &  points_range_min,
const torch::Tensor &  points_range_max,
const int64_t  max_points_per_voxel,
const int64_t  max_voxels,
torch::Tensor &  voxel_coords,
torch::Tensor &  voxel_point_indices,
torch::Tensor &  voxel_point_row_splits 
)