stream.point_cloud¶
-
class
blickfeld_scanner.stream.point_cloud.
point_cloud
(connection=None, from_file=None)¶ Class to request a point cloud stream
- Parameters
connection (
blickfeld_scanner.scanner.connection
) – connection to the device
-
close
()¶ Close point cloud stream and connection
-
get_metadata
()¶ Get metadata of point cloud stream
- Returns
Point cloud metadata, see: Protobuf definitions PointCloud.Metadata
-
recv_frame
()¶ Receive point cloud frame
- Returns
point cloud frame with all the data in it, see: Protobuf definitions Frame
-
end_of_stream
()¶ Check whether stream has ended. This function is required for point cloud streams of files
- Returns
Bool if end of stream is reached
-
record_to_file
(file_name)¶ Record point cloud stream to file
- Parameters
file_name – Path to the file where it should be dumped
-
stop_recording
()¶ Stop recording