I have a target tissue segmented using the Segment editor. And I have more than 150 ellipsoidal segmentation nodes in the scene and visible in the 3D views. And I have to draw a line on the views. When I draw the line I want it to snap on the target segmentation. But when there are lot ellipsoidal segmentation the dragging an snapping of the line becomes significantly slower. How can I make slicer stop ray casting the ellipsoidal segmentation nodes? I don’t want to hide the ellipsoidal probes. It needs to be visible. Is there any flags for this?
I think so, at least it definitely works with model nodes. If you right-click the node in the Data module (subject hierarchy) you’ll see an option called “Selectable”. If you turn it off, then 3D picking will be disabled. Note that you can only do this at node level, so if you need to snap on a segment but not on others, you may need to split them into two nodes.
Let me know if this doesn’t work on segmentations - I think it should.
Thanks for replying.
I am not seeing an option called Selectable for both segmentation node and model node.
When I right click on a segmentation node or model node in the subject hierarchy tree view of the Data module I am seeing the options Rename, Clone, Delete, Remove closed Surface Representation, Export Visible Segments to Model, Export Visible Segments to Binary Labelmap, Create Child Folder
And when I right click on a model nodeI am seeing the options for Rename, Clone, Delete, Edit Properties, Convert Model to Segmentation node, Export to file, Export to DICOM, Create Child Folder, Show empty folder.
That’s it.
And I cannot find a setting like selectable in the edit property section of a model node or a segmentation node.
I am only working with segmentation nodes. I want to set a flag programmatically to those ellipsoidal segmentation node so that slicer doesn’t ray cast those segmentation nodes.
You’re right, I forgot that the “Selectable” option is added by the Virtual Reality extension. If you install it you’ll have that checkbox and then you can disable point picking.
I need to programmatically turn off point picking. How can I do that? The scene could contain 100s of ellipsoidal probes. I can’t expect the user to turn of selectable to every probe one by one.