Class Table and Labels¶
A scene's class table gives each class id a label and a colour for points, boxes and segmentation, and items may carry labels of their own.
| Field | Value |
|---|---|
| ID | REN-41 |
| Status | Built |
| Scope | Core |
| Pillar | Rendering and 3-D |
| Sprint | 4 |
| Depends On | Scene Core (REN-11)caliper.scene ( STR-10) |
| Unblocks | Keypoint Skeletons (REN-48)Training Run Demo ( STR-30) |
| Docs | None |
| Branches | sprint4-drawssprint4-integ3 |
| Design | None |
Coverage Ledger¶
- Branch
sprint4-draws, 78dd925e, 8af6d51f, be193a50. Every remaining scene primitive drawn natively and in the browser: arrows, boxes with class ids, labels and fill, index-pair edges, meshes with normals or a texture, colour, grey, depth and segmentation images, cameras, entity transforms, class tables, with a CPU reference of every draw and browser scene rows. - design/instrument-interface.md, under Annotations and Markers. Labels with leader lines, thresholds, bands and markers mark values in scene and 2-D panels.
- design/instrument-interface.md, under Annotation Table. Each annotation kind has fixed keys and a meaning in 2-D and scene panels.
- design/instrument-interface.md, under Label Placement. One pure function places annotation and item labels without overlap.
design/roadmap.mdon the branchsprint4, under Scenes and recordings. The scenes part: entities with transforms, points, lines, arrows, boxes, meshes, images and pinhole cameras, with a text log and a bar chart whose drawing moved to sprint 5.design/roadmap.mdon the branchsprint4, under Scenes and recordings. The browser part: scenes on the WebGPU backend of the renderer core, and the demos part: the loss landscape and the training run, with three other demos moved to sprint 5.design/scenes.mdon the branchsprint4, under The class table. A class table of up to 4,096 entries mapping class ids to labels and colours, used by points, boxes and segmentation images, with a 16-colour fallback.design/scenes.mdon the branchsprint4, under Primitives. Labels, one per item or one for all, at most 512 drawn at once.design/scenes.mdon the branchsprint4, under The scene's calls. scene.camera, transform, classes and clear calls.design/sprint-4.mdon the branchsprint4, under 1. A loss landscape in a notebook. What increment 1 defers: picking, events and selection; arrows, boxes, images, cameras, entity transforms, class table, labels, normals, textures; index-pair edges, up-axis switch, scale bar and view_camera; scene data views beyond the default; timelines and stamps; the rest of the messages; shared-memory session; the TypeScript fallback and budgets.design/sprint-4.mdon the branchsprint4, under 3. Every primitive natively, through shared memory. Arrows, boxes, images with depth and segmentation, entity transforms, class table and labels drawn natively from shared memory; pinhole cameras and looking through them.design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. The other draws, their layouts and the pick variants (2 of 4 days).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. Their WGSL, and moving the drafted shaders into the one source (2 of 4 days).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. Texture fills for the image kinds and encoded frames (1.5 of 2 days).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. The class table texture (0.5 of 1 day).design/sprint-4.mdon the branchsprint4, under 4. Every primitive in the browser, and the scene model's additions. The remaining parity rows (2 of 4 days).design/web-geometry.mdon the branchsprint4, under Colour. Colour by integer keys and class table lookup in WebGPU.design/web-geometry.mdon the branchsprint4, under Work items. Class table texture and cached colormap blocks; 1 day.- Orchestrators' notes,
_notes/HANDOFF-sprint4.md. Every remaining primitive (arrows, boxes, images, cameras, entity transforms, class tables, labels, index-pair edges) is drawn in the scene core, the app and the browser on sprint4-draws. - Orchestrators' notes,
s4-integ3/STATUS.md. The third pull request in progress: the protocol series is carried on sprint4-integ3, and the draws series is picked up to its first commit, with the rest, the meeting points and final suites still to do. - Orchestrators' notes,
s4-draws/STATUS.md. Remaining draws applied natively and in the browser, with a CPU reference and graphics suite rows on Metal and browser rows per primitive.