Status: To Do
Fix Version/s: None
Component/s: display_firefly, Firefly
The interact method of an afwDisplay.Display enters an interactive loop, listening for key presses in display and firing callbacks set by setCallback. Make these methods work for the display_firefly backend.
- mentioned in
Firefly API currently does not support this. It is moved to https://jira.lsstcorp.org/browse/DM-10570 for future consideration.
David Shupe and I discussed this just now. There is a useful way that this could be implemented now, without any additional Firefly core work, that would meet the afw.display API and supply equivalent functionality, but based on clicking on buttons associated with "POINT" events rather than on keypresses.
The afw.display API should be extended to allow supplying an optional "name" argument that is used for the button label. The label should also include the key name that is mandatory in the afw.display API, e.g., the label might be "Variance (v)".
David Shupe will have to make sure that the x,y coordinates returned are exactly as in DS9, i.e., correctly taking into account issues of offset-0, offset-0.5, and offset-1 pixel coordinate conventions.
A separate ticket can be filed for the provision of actual keypress detection in Firefly core at a later date.
Are we still intending to try to do this (and I imagine the assignee should be removed)