This seems to hit the model in the 3D view and identify the slice coordinates? if so i need to capture the mouse click-events en calculate the RAS coords.
You can either use crosshair node or a markups node (in Slicer Preview Releases, when markups is in place mode, you can get the 3D coordinates of the mouse cursor from the markups node).
Hi Andras,
Yes using a markup node seems to work as well. For me it would work best if it is placed when a key is pressed or moushe click recorded in the 3D view. So i can remove it when the key or mouse button is released. Is there a way to record that in the 3D view?
When you click with the mouse then the markup is placed, which changes the state of that markup point. You can observe state changes similarly to position changes. If you don’t need to keep displaying the markup then you can delete it right after the point is placed.