[go: up one dir, main page]

Module datagen

Module datagen 

Source
Expand description

Generate random data for tests and benchmarks.

Functionsยง

build_frame_nr
Build a (Timeline, TimeInt) tuple from frame_nr suitable for inserting in a re_log_types::TimePoint.
build_log_time
Build a (Timeline, TimeInt) tuple from log_time suitable for inserting in a re_log_types::TimePoint.
build_some_colors
Create len dummy colors
build_some_instances
Create len dummy InstanceKey keys. These keys will be sorted.
build_some_instances_from
build_some_labels
Create len dummy labels
build_some_point2d
Create len dummy Point2D
build_some_rects
Create len dummy rectangles
build_some_vec3d
Create len dummy Vec3D
data_table_example
Crafts a simple but interesting re_log_types::DataTable.