Model identity at fiducial location

Hi all,

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?

Thanks in advance

Jan

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.

If you just want to pick models at the current point position (or hundreds of positions but not hundreds of thousands of positions) then it is simpler to get the model displayable manager from the view and use its Pick3D and GetPickedNodeID methods.

Thanks Andras, I guess i will continue using that approach then :slight_smile:

1 Like