open3d.io.write_point_cloud_to_bytes#
- open3d.io.write_point_cloud_to_bytes(pointcloud: open3d.geometry.PointCloud, format: str = 'auto', write_ascii: bool = False, compressed: bool = False, print_progress: bool = False) bytes #
Function to write PointCloud to memory
- Parameters:
pointcloud (open3d.geometry.PointCloud) – The
PointCloud
object for I/Oformat (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.write_ascii (bool, optional, default=False) – Set to
True
to output in ascii format, otherwise binary format will be used.compressed (bool, optional, default=False) – Set to
True
to write in compressed format.print_progress (bool, optional, default=False) – If set to true a progress bar is visualized in the console
- Returns:
bytes