tix209 / TSOAX

Extraction and tracking of dynamic biopolymer networks.
https://www.lehigh.edu/~div206/tsoax/
GNU Lesser General Public License v3.0
3 stars 3 forks source link

Automatic saving of detected snakes #6

Open RyumaSuper opened 8 months ago

RyumaSuper commented 8 months ago

Hello, it has been a while. We are working on a project and would like to use your app. There is one thing we would like to improve in your app. After pressing the "Deform snake" button, the snakes are displayed and when you click on a snake, it turns light blue and becomes selected. It is a pain to manually click on all these snakes and save them. Therefore, I would like to improve the "Deform snake" button so that it automatically detects all snakes and saves them by itself after the button is pressed. Please tell me specifically what part of your code I need to improve so I can get some ideas for this.

Translated with www.DeepL.com/Translator (free version) sample

vavylonis commented 1 month ago

Sorry for the late response. You could change Snake::Print in snake.cc to save to a file instead. Note that the snake coordinates are already in the file with all saved snakes and can be found with the snake ID.