open3d.io.read_voxel_grid

open3d.io.read_voxel_grid(filename, format='auto')

Function to read VoxelGrid from file

Parameters
  • filename (str) – Path to file.

  • format (str, optional, default='auto') – The format of the input file. When not specified or set as auto, the format is inferred from file extension name.

Returns

open3d.geometry.VoxelGrid