mathworks / volume-labeling-widgets

Enable custom workflows for labeling volumes and isosurfaces in your MATLAB app.
Other
2 stars 1 forks source link

Proposed Vertices updates #19

Closed rjackey closed 1 year ago

rjackey commented 1 year ago

o +wt+tool\Vertices.m - added onMouseMotion() method to display an annotation-like text label when dragging vertices around, or when hovering over one; disabled the built-in interactivity in updatePointer() method since it interfered with vertex selection and pan/zoom/rotate actions (exclusive modes problem); in getEditingPointer() I updated the cross-hair cursor's central pixel value from 1 to 2 to make the hotspot point more distinct

rjackey commented 1 year ago

@altmany some of the proposed Vertices updates, including the added data cursors, onMouseMotion, and disable/enable built-in interactivity appear to result in some issues. I've backed out those changes for now.

When I run the demo app (handCode.VolumeLabelingApp), labeling vertices and scrolling slices, I get zooming and also cursors appear at the corners. It also seemed to slow performance significantly:

Data cursors showing up in 1 or more corners Scrolling also appears to also zoom. All releases R2020b, R2021a, R2021b, R2022a, R2022b image

Flashing or turning blank while scrolling Z-slices or drawing labels: All releases image

See also #21 - This also allowed me to place vertices outside of the image stack. I assume that is not intended? image

image