I want to realize the function that clicking on a model can locate the corresponding item. The current problem is that I can’t seem to select a model, and when the model is selected, how can I know which model is selected. Thanks.
If you mean clicking on the slice views or 3D views and selecting the picked model or segmentation, I heard recently that @Sunderlandkyl may have an implementation in the works. I’m not sure when it will be available.
Ok, I see. So currently slicer doesn’t have a way to select models by clicking on them. Thanks for your answer
Right now the easiest way to achieve this is to click to place a markup point to get a 3D position, and then use the model displayable manager to get the model node that is visible at that position using its Pick3D
and GetPickedNodeID
methods.
Thanks for the help. I’ll give it a try