|
Overlume 1.2.0
A real-time rendering layer for a robot's sensor and autonomy data
|
Classes | |
| struct | AlertChip |
| struct | AlertPolygon |
| struct | BowlConfig |
| struct | CameraExtrinsics |
| struct | CameraIntrinsics |
| struct | CameraPose |
| struct | EgoState |
| struct | FrameView |
| struct | GenericMarker |
| struct | GeoAnchor |
| struct | GroundGridLayer |
| struct | HeightGridLayer |
| A metric terrain heightfield: one height per cell, drawn as a lit 3D surface. More... | |
| struct | Hud |
| struct | HudColors |
| struct | MapElement |
| struct | PathRibbon |
| struct | PointCloud |
| struct | PointCloudPoint |
| struct | RenderConfig |
| struct | SceneGraph |
| struct | TrackedObject |
| struct | TrajectoryCarpet |
| struct | Vec3 |
Enumerations | |
| enum class | ObjectClass : uint8_t { CAR = 0 , TRUCK_VAN = 1 , BUS = 2 , PEDESTRIAN = 3 , CYCLIST = 4 , UNKNOWN = 5 } |
| enum class | PathRole : uint8_t { BEHAVIOR = 0 , GLOBAL = 1 , LOCAL = 2 } |
| enum class | MarkerPrimitive : uint8_t { CUBE = 0 , SPHERE = 1 , CYLINDER = 2 , ARROW = 3 , LINE_STRIP = 4 , LINE_LIST = 5 , POINTS = 6 , TEXT = 7 , TRIANGLE_LIST = 8 , MESH = 9 } |
| enum class | MapKind : uint8_t { OTHER = 0 , CENTERLINE = 1 , LEFT_BOUNDARY = 2 , RIGHT_BOUNDARY = 3 , CROSSWALK = 4 , STOPLINE = 5 , JUNCTION = 6 , ROAD_EDGE = 7 , ROAD_SURFACE = 8 } |
| enum class | EnvironmentSourceState : uint8_t { NONE = 0 , BAKED = 1 , STREAMING = 2 , STREAMING_FALLBACK = 3 } |
Functions | |
| VisualRenderer * | create_renderer (const RenderConfig &) |
| void | destroy_renderer (VisualRenderer *) |
| bool | render_frame (VisualRenderer *, const CameraPose &, FrameView out) |
| void | set_scene (VisualRenderer *, const SceneGraph &scene) |
| bool | set_theme (VisualRenderer *, const char *theme_name, double at_sec, double transition_sec) |
| bool | set_ego_model (VisualRenderer *, const char *gltf_path, Vec3 fallback_dims) |
| uint32_t | set_object_model_dir (VisualRenderer *, const char *dir) |
| bool | theme_assets_loaded (VisualRenderer *) |
| HudColors | get_hud_colors (VisualRenderer *) |
| bool | project_to_screen (VisualRenderer *, Vec3 world_point, float *out_x, float *out_y) |
| bool | theme_parses (const char *dir, const char *theme_name) |
| bool | set_bowl_config (VisualRenderer *, const BowlConfig &) |
| bool | set_bowl_visible (VisualRenderer *, bool visible) |
| bool | set_self_view_masks (VisualRenderer *, bool enabled) |
| bool | set_camera_motion_delta (VisualRenderer *, uint32_t cam_idx, const double delta_4x4_row_major[16]) |
| bool | set_camera_frame (VisualRenderer *, uint32_t cam_idx, const uint8_t *rgb, uint32_t width, uint32_t height, uint64_t frame_id, void(*release)(void *, size_t, void *)=nullptr, void *user=nullptr) |
| bool | set_hybrid_splats (VisualRenderer *, const PointCloudPoint *rig_points, uint32_t count, float size_px) |
| Hybrid (CUDA-parity) lidar splat layer: opaque square splats composited over the bowl. | |
| bool | set_environment_source (VisualRenderer *, const char *source_uri, GeoAnchor anchor) |
| EnvironmentSourceState | environment_source_state (VisualRenderer *) |
| bool | set_environment_visible (VisualRenderer *r, bool visible) |
| bool | environment_visible (VisualRenderer *r) |
| void | set_quality (VisualRenderer *, uint32_t preset) |
| uint32_t | get_quality (VisualRenderer *) |
| uint32_t | environment_source_credits (VisualRenderer *, char *out, uint32_t cap) |
| Plain-text credits of the open streaming source's raster overlays ("; " separated, HTML stripped), written to out (NUL-terminated, truncated to cap); returns the length needed. | |
Variables | |
| constexpr uint32_t | kSceneVersion = 9 |
| constexpr uint32_t | kMaxBowlCameras = 6 |
| constexpr const char * | kVersionString |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| VisualRenderer * overlume::create_renderer | ( | const RenderConfig & | ) |
| void overlume::destroy_renderer | ( | VisualRenderer * | ) |
| uint32_t overlume::environment_source_credits | ( | VisualRenderer * | , |
| char * | out, | ||
| uint32_t | cap ) |
Plain-text credits of the open streaming source's raster overlays ("; " separated, HTML stripped), written to out (NUL-terminated, truncated to cap); returns the length needed.
0 and an empty string when no source or no overlay is open. The length leaves the NUL out, as snprintf's does: a result >= cap means out was cut. Call on the render_frame thread.
| EnvironmentSourceState overlume::environment_source_state | ( | VisualRenderer * | ) |
| bool overlume::environment_visible | ( | VisualRenderer * | r | ) |
| HudColors overlume::get_hud_colors | ( | VisualRenderer * | ) |
| uint32_t overlume::get_quality | ( | VisualRenderer * | ) |
| bool overlume::project_to_screen | ( | VisualRenderer * | , |
| Vec3 | world_point, | ||
| float * | out_x, | ||
| float * | out_y ) |
| bool overlume::render_frame | ( | VisualRenderer * | , |
| const CameraPose & | , | ||
| FrameView | out ) |
| bool overlume::set_bowl_config | ( | VisualRenderer * | , |
| const BowlConfig & | ) |
| bool overlume::set_bowl_visible | ( | VisualRenderer * | , |
| bool | visible ) |
| bool overlume::set_camera_frame | ( | VisualRenderer * | , |
| uint32_t | cam_idx, | ||
| const uint8_t * | rgb, | ||
| uint32_t | width, | ||
| uint32_t | height, | ||
| uint64_t | frame_id, | ||
| void(* | release )(void *, size_t, void *) = nullptr, | ||
| void * | user = nullptr ) |
| bool overlume::set_camera_motion_delta | ( | VisualRenderer * | , |
| uint32_t | cam_idx, | ||
| const double | delta_4x4_row_major[16] ) |
| bool overlume::set_ego_model | ( | VisualRenderer * | , |
| const char * | gltf_path, | ||
| Vec3 | fallback_dims ) |
| bool overlume::set_environment_source | ( | VisualRenderer * | , |
| const char * | source_uri, | ||
| GeoAnchor | anchor ) |
| bool overlume::set_environment_visible | ( | VisualRenderer * | r, |
| bool | visible ) |
| bool overlume::set_hybrid_splats | ( | VisualRenderer * | , |
| const PointCloudPoint * | rig_points, | ||
| uint32_t | count, | ||
| float | size_px ) |
Hybrid (CUDA-parity) lidar splat layer: opaque square splats composited over the bowl.
Points are in RIG frame (same as BowlConfig); the library anchors them with the bowl's ego transform. Colour comes from rgba (alpha ignored). size_px <= 0 selects the theme token hybrid_splat.size_px. count == 0 or rig_points == nullptr clears the layer. Drawn only while the bowl is visible. The points are copied. Call on the render_frame thread. Returns false for a null renderer.
| uint32_t overlume::set_object_model_dir | ( | VisualRenderer * | , |
| const char * | dir ) |
| void overlume::set_quality | ( | VisualRenderer * | , |
| uint32_t | preset ) |
| void overlume::set_scene | ( | VisualRenderer * | , |
| const SceneGraph & | scene ) |
| bool overlume::set_self_view_masks | ( | VisualRenderer * | , |
| bool | enabled ) |
| bool overlume::set_theme | ( | VisualRenderer * | , |
| const char * | theme_name, | ||
| double | at_sec, | ||
| double | transition_sec ) |
| bool overlume::theme_assets_loaded | ( | VisualRenderer * | ) |
| bool overlume::theme_parses | ( | const char * | dir, |
| const char * | theme_name ) |
|
constexpr |
|
constexpr |
|
inlineconstexpr |