brain_deer.plugins.warpdrive.tools.base¶
Shared contracts for WarpDrive interaction tools (no Qt).
Classes¶
Read-only snapshot the widget passes into a tool on each gesture. |
|
What the widget should do after a tool handled a mouse event. |
|
One exclusive mouse tool in the WarpDrive panel. |
Module Contents¶
- class brain_deer.plugins.warpdrive.tools.base.ToolContext¶
Read-only snapshot the widget passes into a tool on each gesture.
- map_source: Callable[[WorldPoint], WorldPoint]¶
Map a display-frame click back to the uncorrected source frame.
- class brain_deer.plugins.warpdrive.tools.base.ToolResult¶
What the widget should do after a tool handled a mouse event.
- committed: list[brain_deer.warp.corrections.ControlPoint] = []¶
New points to append to the session (empty if still gesturing).