Overlume 1.2.0
A real-time rendering layer for a robot's sensor and autonomy data
Loading...
Searching...
No Matches
scene.h File Reference
#include <cstdint>
#include <cstddef>
#include "overlume/api.h"

Go to the source code of this file.

Classes

struct  overlume::Vec3
struct  overlume::EgoState
struct  overlume::TrackedObject
struct  overlume::PathRibbon
struct  overlume::MapElement
struct  overlume::GroundGridLayer
struct  overlume::HeightGridLayer
 A metric terrain heightfield: one height per cell, drawn as a lit 3D surface. More...
struct  overlume::AlertPolygon
struct  overlume::GenericMarker
struct  overlume::PointCloudPoint
struct  overlume::PointCloud
struct  overlume::TrajectoryCarpet
struct  overlume::AlertChip
struct  overlume::Hud
struct  overlume::SceneGraph
struct  overlume::HudColors
struct  overlume::GeoAnchor
struct  overlume::CameraExtrinsics
struct  overlume::CameraIntrinsics
struct  overlume::BowlConfig

Namespaces

namespace  overlume

Enumerations

enum class  overlume::ObjectClass : uint8_t {
  overlume::CAR = 0 , overlume::TRUCK_VAN = 1 , overlume::BUS = 2 , overlume::PEDESTRIAN = 3 ,
  overlume::CYCLIST = 4 , overlume::UNKNOWN = 5
}
enum class  overlume::PathRole : uint8_t { overlume::BEHAVIOR = 0 , overlume::GLOBAL = 1 , overlume::LOCAL = 2 }
enum class  overlume::MarkerPrimitive : uint8_t {
  overlume::CUBE = 0 , overlume::SPHERE = 1 , overlume::CYLINDER = 2 , overlume::ARROW = 3 ,
  overlume::LINE_STRIP = 4 , overlume::LINE_LIST = 5 , overlume::POINTS = 6 , overlume::TEXT = 7 ,
  overlume::TRIANGLE_LIST = 8 , overlume::MESH = 9
}
enum class  overlume::MapKind : uint8_t {
  overlume::OTHER = 0 , overlume::CENTERLINE = 1 , overlume::LEFT_BOUNDARY = 2 , overlume::RIGHT_BOUNDARY = 3 ,
  overlume::CROSSWALK = 4 , overlume::STOPLINE = 5 , overlume::JUNCTION = 6 , overlume::ROAD_EDGE = 7 ,
  overlume::ROAD_SURFACE = 8
}
enum class  overlume::EnvironmentSourceState : uint8_t { overlume::NONE = 0 , overlume::BAKED = 1 , overlume::STREAMING = 2 , overlume::STREAMING_FALLBACK = 3 }

Functions

void overlume::set_scene (VisualRenderer *, const SceneGraph &scene)
bool overlume::set_theme (VisualRenderer *, const char *theme_name, double at_sec, double transition_sec)
bool overlume::set_ego_model (VisualRenderer *, const char *gltf_path, Vec3 fallback_dims)
uint32_t overlume::set_object_model_dir (VisualRenderer *, const char *dir)
bool overlume::theme_assets_loaded (VisualRenderer *)
HudColors overlume::get_hud_colors (VisualRenderer *)
bool overlume::project_to_screen (VisualRenderer *, Vec3 world_point, float *out_x, float *out_y)
bool overlume::theme_parses (const char *dir, const char *theme_name)
bool overlume::set_bowl_config (VisualRenderer *, const BowlConfig &)
bool overlume::set_bowl_visible (VisualRenderer *, bool visible)
bool overlume::set_self_view_masks (VisualRenderer *, bool enabled)
bool overlume::set_camera_motion_delta (VisualRenderer *, uint32_t cam_idx, const double delta_4x4_row_major[16])
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_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 overlume::set_environment_source (VisualRenderer *, const char *source_uri, GeoAnchor anchor)
EnvironmentSourceState overlume::environment_source_state (VisualRenderer *)
bool overlume::set_environment_visible (VisualRenderer *r, bool visible)
bool overlume::environment_visible (VisualRenderer *r)
void overlume::set_quality (VisualRenderer *, uint32_t preset)
uint32_t overlume::get_quality (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.

Variables

constexpr uint32_t overlume::kSceneVersion = 9
constexpr uint32_t overlume::kMaxBowlCameras = 6