InsightSoftwareConsortium / itkwidgets

An elegant Python interface for visualization on the web platform to interactively generate insights into multidimensional images, point sets, and geometry.
https://itkwidgets.readthedocs.io/
Apache License 2.0
576 stars 83 forks source link

Get position/coordinate of user click #667

Closed cwmok closed 1 year ago

cwmok commented 1 year ago

Hi @thewtex,

I would like to get the position/(x, y, z)-coordinate of the user click action. I come across a similar issue in https://github.com/InsightSoftwareConsortium/itkwidgets/issues/388, but it seems that it is not yet implemented. Could you advise on that issue? What are the alternative ways to get the position/(x, y, z)-coordinate of the current view or click from viewer?

Thanks for your nice work, and thank you in advance.

Tony

thewtex commented 1 year ago

Hi Tony,

Thanks for the report / request!

We are refactoring to add the functionality as detailed in #388.

cwmok commented 1 year ago

Great! I look forward to the new functionality of itkwidgets! Thanks a lot for your prompt reply.