Open3D (C++ API)  0.13.0
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Data Structures | Functions
VoxelizeOpKernel.h File Reference

(c3f9de2 (Tue Jun 1 15:34:27 2021 -0700))

#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 
)