I am trying to do a simple thing: For a fiducial markups list i want to output the model in a model list each fiducial point is intersecting with.
Currently I am using a cumbersome approach where i convert the fiducial RAS coordinates to a VolumeNode space of a Labelmap that has all the models in it. I then sample each point in that space.
Is there an easier way to script this directly without the conversions to labelmap?
What you do is a very robust and efficient method of determining which models contain the selected point position. If you need to pick many thousands points then I would recommend keep using this method.