A method and system for producing a model of an anatomical target area includes determining a position and/or an orientation of a medical device 134 according to an output of a medical device sensor, and controlling an imager 102 based on the position and/or orientation of the medical device.