Skip to main content
Stream builder classes for constructing scene streams. Each stream type has a dedicated builder returned by the corresponding add_*_stream method on SceneBuilder.

_StreamBuilderBase Objects

Internal base — not part of the public API.

name

The stream name used to register this stream in the SceneBuilder.

TimeSeriesStreamBuilder Objects

Builder for a self-contained CSV time-series stream. Returned by add_time_series_stream().

PCDStreamBuilder Objects

Builder for a point-cloud stream. Returned by add_pcd_stream().

add_pcd

Append a single point-cloud event. Arguments:
  • uri - Non-empty URI pointing to the point-cloud file.
  • timestamp - Scene timestamp for this event.

set_frame_of_reference

Link this stream to a frame-of-reference stream. Arguments:

set_pose

Set a static pose for this stream.

CameraStreamBuilder Objects

Builder for a camera-parameters stream. Returned by add_camera_stream().

add_camera_params

Append a camera-parameters event. Arguments:
  • width - Image width in pixels (must be >= 0).
  • height - Image height in pixels (must be >= 0).
  • intrinsics - Camera intrinsics (SimpleIntrinsics or AdvancedIntrinsics).
  • timestamp - Scene timestamp for this event.

set_frame_of_reference

Link this stream to a frame-of-reference stream. Arguments:

set_pose

Set a static pose for this stream.

FoRStreamBuilder Objects

Builder for a frame-of-reference (FoR) stream. Returned by add_for_stream().

add_pose

Append a frame-of-reference event. Arguments:
  • pose - The pose for this event (any supported rotation encoding).
  • timestamp - Scene timestamp for this event.

ImageStreamBuilder Objects

Builder for an image stream linked to a camera. Returned by add_image_stream().

add_image

Append an image event. Arguments:
  • uri - Non-empty URI pointing to the image file.
  • timestamp - Scene timestamp for this event.