Getting more information from mouse pointer in 3D view

I think this might solve part of my problem:

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.