Scene Selection and Events¶
Hover, click, rectangle and lasso work in a scene, natively and in a browser, picks and selections reach the script through caliper.serve() and the widget's selection, and a selection links to the other views.
| Field | Value |
|---|---|
| ID | REN-46 |
| Status | In Progress |
| Scope | Core |
| Pillar | Rendering and 3-D |
| Sprint | 4 |
| Depends On | Picking (REN-15)Protocol 3.1 Controls ( STR-03) |
| Unblocks | Training Run Demo (STR-30)Events over Shared Memory ( STR-32) |
| Docs | None |
| Branches | sprint4-draws |
| Design | None |
The work on these branches is unfinished, so the feature shows as in progress.
Coverage Ledger¶
- Branch
sprint4-draws, 5f6baeee. Hover, click, rectangle and lasso selections and linked highlights in the app's scene view (select_polygon, clear_selection, set_linked), with picks sent through the event sink at most 30 a second. - design/instrument-interface.md, under State Writers. Controls bound to state:<id>, picks with the option select and the command state.set write state.
- design/instrument-interface.md, under Pick Fields. A pick on an entity gives fixed fields that events, references and state writes read.
- design/instrument-interface.md, under Annotation Picking. Labels and markers take picks before the data under them.
- design/instrument-interface.md, under Events. The event kinds state and cursor are new, and pick and control gain keys.
- design/instruments.md, under Events. Events carry picks, selections and control changes from the app to an agent.
- design/instruments.md, under Event Kinds. The kinds of event include scene selection and control change.
- design/instruments.md, under Acceptance Test. A test drives caliper-mcp against a hidden app and a script that calls caliper.watch.
design/scenes.mdon the branchsprint4, under Picking, hover and selection. Lasso and rectangle selection project points and box centres on the CPU.design/scenes.mdon the branchsprint4, under Picking, hover and selection. Pick, hover and select events carry entity, primitive, index and row_id over protocol 3.1.design/scenes.mdon the branchsprint4, under Picking, Hover and Selection. Linked selection: a batch logged with items maps its row ids to an item space and selections highlight matching items in other views.design/scenes.mdon the branchsprint4, under Interaction with the Script. Controls of protocol 3.1 work with scenes, and scene events reach Python through on_event, events() and the widget's selection.design/scenes.mdon the branchsprint4, under Decisions. Decisions on the 1,024 entity limit, device-given transforms read on the CPU, a pick pass for hover and click with CPU lasso, and a mesh over budget becoming its bounding box.design/sprint-4.mdon the branchsprint4, under 5. Picking, events and the scene service for applets. Picking and events natively (4 days).design/sprint-4.mdon the branchsprint4, under 5. Picking, events and the scene service for applets. Picking in the browser (2 days).design/wire-protocol-3-2.mdon the branchsprint4, under Events on the New Kinds. Events on scenes and bars carry picks and selections.- Orchestrators' notes,
_notes/HANDOFF-sprint4.md. Hover, click, selections and linked highlights in the scene view are unfinished (WIP). - Orchestrators' notes,
_notes/HANDOFF-sprint4.md. Caliper LIB still refuses items= on points, so linked selection of scene points is covered by the native test only. - Orchestrators' notes,
s4-draws/STATUS.md. Hover, click, rectangle and lasso selections and linked highlights in the app's scene view, passing their tests; unfinished. - Orchestrators' notes,
s4-draws/STATUS.md. A Python test of scene events through caliper.serve() with the hidden app is not written. - Orchestrators' notes,
s4-draws/STATUS.md. docs for the pick pass, hover, click, selections and the highlight (rendering.md and testing.md) are not written.