I have an issue where indeed I can set the entire segmentation to not be visible via vtkMRMLSegmentationNode by doing:
display = segmentation.GetDisplayNode()
However, whenever I attempt to set a particular segment to not be visible by doing:
The segment is still visible to me. When I attempt accessing the node through Python I indeed see that the Visibility for the segment has been set to false, however why is the segment still appearing on my views?
Am I missing some code here?