Skip to main content

Module anatomy_pack

Module anatomy_pack 

Source
Expand description

Shared metadata schema for a .hmc anatomy asset pack (per-organ system / position / neutral colour). Platform-agnostic (native + WASM consumers). Shared metadata schema for a .hmc anatomy asset pack — the per-organ meta carried in each bundle entry.

A packed anatomy body is a .hmc bundle (see crate::bundle) whose entries are the per-organ sealed .10d meshes. Each entry’s opaque meta holds one CBOR-encoded [AnatomyOrganMeta]: which body system the organ belongs to, an approximate anatomical position for assembling the whole body, and a neutral default colour (the pack ships no personal data — a person’s real burden colouring, from AnatomyViewReport::paint_organs, overrides this at runtime when their records are loaded).

This lives in qualia-core-db so the producer (qualia-client-core, which discovers/compiles organs) and the consumer (the browser QualiaPortal renderer + the native read-through loader) share one typed schema.

Structs§

AnatomyOrganMeta
Per-organ render metadata carried in a .hmc anatomy-pack entry’s meta.