Getting volume coordinates from RAS coords

How can I get x,y,z coordinates as per the raw slice data from RAS coordinates?

We are choosing a point in the interactor screen and would like to know its position according to x,y,z points of raw slice data.

You can get volume IJK coordinates from RAS coordinates as shown in this example: