You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe it:
There is a need to enable user to interactively draw a rectangle rotated at a given angle or just a generic polygon draw tool would also satisfy that requirement. The motivation for this request is for Jdaviz (Imviz) to overlay slit positions over an image.
Over at Jdaviz (Mosviz), there is a programmatic solution, which unfortunately does not satisfy the requirement given in spacetelescope/jdaviz#518 .
We already have the ability to draw rectangles. If there is an easy way to interactively rotate a drawn rectangle, this might be enough.
Or, a new polygon drawing tool. Over at Ginga, there is a mode to start drawing, and user press "v" to change direction, and on mouse-up, the it closes the loop and creates a polygon object.
Not really, but... in the last 2 years, we have added Edit Subset tool in Jdaviz, and now recently there is a new Footprints plugin, so I don't think we need this anymore. Thanks for the ping!
Is your feature request related to a problem? Please describe it:
There is a need to enable user to interactively draw a rectangle rotated at a given angle or just a generic polygon draw tool would also satisfy that requirement. The motivation for this request is for Jdaviz (Imviz) to overlay slit positions over an image.
Over at Jdaviz (Mosviz), there is a programmatic solution, which unfortunately does not satisfy the requirement given in spacetelescope/jdaviz#518 .
https://github.com/spacetelescope/jdaviz/blob/a5c003f4a29e0e48c6e0cee31bad62852ccfbbdc/jdaviz/configs/mosviz/plugins/slit_overlay/slit_overlay.py#L92
https://github.com/spacetelescope/jdaviz/blob/a5c003f4a29e0e48c6e0cee31bad62852ccfbbdc/jdaviz/configs/mosviz/plugins/slit_overlay/slit_overlay.py#L106
Describe the solution you'd like:
We already have the ability to draw rectangles. If there is an easy way to interactively rotate a drawn rectangle, this might be enough.
Or, a new polygon drawing tool. Over at Ginga, there is a mode to start drawing, and user press "v" to change direction, and on mouse-up, the it closes the loop and creates a polygon object.
Describe alternatives you've considered:
Not sure, maybe @eteq et al. can comment.
The text was updated successfully, but these errors were encountered: