I haven’t found a solution so I’m asking here. I can’t seem to activate the data probe instance for the Red Slice. It is working for Yellow and Green. The widget appears empty when hovering over the Red slice.
Is there a way to activate the data probe for Red? Preferably in code.
What platform are you on? In, today’s windows package the data probe appears to be working correctly for all three slice viewers.
Did you encounter this this while trying some type of customization (you mention code)? Some more details about what you are trying to do would be helpful.
However, I am not sure why you are changing the slice interactor to reset the slices. You can just exclude the two lines relating to the interactorStyle entirely, and it should work as intended.
The module I am developing has a neurosurgical application. Surgeons will be using it to plan research cases. There is a step that requires detection of a stereotactic frame from a CT scan. The frame contains fiducial markings that are best seen on the axial slice. I use a search algorithm to find these fiducials through the entire z-plane. The surgeon has to scroll through the z-plane to confirm that the fiducials were accurately detected by my algorithm. So to make this easier, in the module script, I use this:
You can also use Slicer for surgical navigation, using Medtronic or BrainLab systems or a wide range of standalone optical or electromagnetic trackers. Intra operative ultrasound, surface scanning, etc. are also available. See www.slicerigt.org for details.
All views are automatically reset when you close the scene, so there is no need for any additional node modifications.