open3d.io.read_voxel_grid

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

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.

  • print_progress (bool, optional, default=False) – If set to true a progress bar is visualized in the console

Returns

open3d.cpu.pybind.geometry.VoxelGrid