ANP-Granular / ParticleTracking

Library and GUI for tracking (rod-like) particles on camera images in 2D and 3D
https://particletracking.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 2 forks source link

Experimental feature request: "Snap to object" (sticky selection?) mode #64

Closed dmitrypuzyrev closed 1 year ago

dmitrypuzyrev commented 1 year ago

The idea is to decrease the required operations (and mouse clicks) during correction by the following:

a-niem commented 1 year ago

A prototype of this mode is now available on the viewing_efficiency branch. @dmitrypuzyrev: Please evaluate, whether this is what you intended when writing this issue.

dmitrypuzyrev commented 1 year ago

@DrMole0815 It actually work well and seems to be quite intuitive! It only need to be toggleable + there seems to be a small bug that changes the thickness of the selected rod to 1.

a-niem commented 1 year ago

@dmitrypuzyrev: The mode is already toggleable in the View menu as the action Autoselect rods. There is no shortcut assigned to it though.

The changed rod thickness was no bug but rather part of the implementation of @KirstenHarth's and @mahmoham's request for keeping the previous rod displayed during editing. I have now changed that to keep the line thickness and rather increase the transparency during editing.

a-niem commented 1 year ago

The Autoselect rods mode can now be toggled using G as the shortcut.