Skip to main content

Crate sim_lib_view_spatial

Crate sim_lib_view_spatial 

Source
Expand description

Spatial glasses surface encoding for SIM Web.

This crate adds surface:spatial, a sim_lib_view::SurfaceCodec that keeps content-rate packets independent of device tracking samples. It renders values through the universal Scene view, then selects one of the glasses class routes supplied by sim_lib_view_device: pose-free spatial panels for stereo 6DoF displays, the shared one-card glance reducer for mono HUDs, or a reduced mirrored Scene for display-only glasses.

Re-exports§

pub use co_use::GlassesCoUsePlan;
pub use co_use::GlassesCoUseRole;
pub use co_use::GlassesPeer;
pub use co_use::GlassesPeerConfig;
pub use co_use::glasses_peer_config;
pub use consent::CAP_GLASSES_CAMERA;
pub use consent::CAP_GLASSES_HAND;
pub use consent::CAP_GLASSES_MIC;
pub use consent::CAP_GLASSES_POSE;
pub use consent::CAP_GLASSES_VENDOR_REPORT;
pub use consent::CAP_GLASSES_WORLD_ANCHOR;
pub use consent::GlassesCapability;
pub use consent::glasses_camera_grant;
pub use consent::glasses_capability_for_expr;
pub use consent::glasses_hand_grant;
pub use consent::glasses_mic_capability;
pub use consent::glasses_mic_grant;
pub use consent::glasses_pose_grant;
pub use consent::glasses_vendor_report_grant;
pub use consent::glasses_world_anchor_grant;
pub use consent::store_glasses_sample;
pub use consent::sweep_glasses_privacy;
pub use encode::SPATIAL_SURFACE_CODEC_ID;
pub use encode::SpatialSurfaceCodec;
pub use encode::surface_spatial_codec_symbol;
pub use glance_map::halo_glance_scene;
pub use halo_glance::HALO_ACK_MS;
pub use halo_glance::halo_glance_budget;
pub use halo_glance::halo_glance_config;
pub use layout::GlancePreference;
pub use layout::PanelLayout;
pub use layout::PanelPlacement;
pub use layout::SpatialLayout;
pub use layout::WORKSPACE_LAYOUT_KIND;
pub use layout::WORKSPACE_LAYOUT_NAMESPACE;
pub use layout::WORKSPACE_LAYOUT_TABLE_NAMESPACE;
pub use layout::WorkspaceLayout;
pub use layout::arrange_spatial_panels;
pub use layout::layout_load_op;
pub use layout::layout_save_op;
pub use layout::layout_table_key;
pub use pose_view::PoseView;
pub use predict::ClampedReprojector;
pub use predict::clamp_predicted;
pub use rank::AttentionBudget;
pub use rank::rank_for_profile;
pub use rank::rank_glasses;
pub use rank::rank_spatial;
pub use reproject::Reprojector;
pub use reproject_loop::HaloGlanceLoop;
pub use reproject_loop::VitureReprojectLoop;
pub use reproject_loop::halo_loop;
pub use reproject_loop::viture_loop;
pub use voice_site::AsrSite;
pub use voice_site::AsrSitePlacement;
pub use voice_site::XR_MIC_CHUNK_KIND;
pub use voice_site::XR_MIC_CHUNK_NAMESPACE;
pub use voice_site::XrMicChunkRef;
pub use voice_site::voice_intent_via_site;
pub use world::AnchorResolution;
pub use world::VioTrackingStatus;
pub use world::WORLD_ANCHOR_REASON_NAMESPACE;
pub use world::WorldAnchorObservation;
pub use world::WorldAnchorResolver;
pub use world::XR_TRACKING_STATUS_NAMESPACE;
pub use world::resolve_world_anchor;

Modules§

co_use
Dual-glasses co-use roles and profile validation.
consent
Glasses-specific consent gates over the shared device consent contract.
encode
Surface codec implementation for spatial-capable glasses.
glance_map
Halo mapping through the shared device glance reducer.
halo_glance
Halo configuration over the shared DEVICE_3 glance adapter.
layout
Pose-free spatial layout parsing and Scene builders.
pose_view
Device-local view state consumed by the stereo reprojector.
predict
Prediction clamp for stale Viture pose reprojection.
rank
Attention ranking for spatial glasses projection.
reproject
Viture stereo reprojection as the one bespoke glasses adapter.
reproject_loop
DEVICE_3 adapter-loop wiring for the two glasses paths.
voice_site
Consent-gated glasses voice capture through a placed ASR site.
world
World-anchor resolution for Viture spatial panels.

Statics§

RECIPES
Embedded cookbook recipe books shipped with this library.