Operating system: OLEA
Slicer version: 4.11.202009
I’m an OBGYN resident, and i’m a beginner with slicer (it’s been a few month since i’m using this great software), i’m working on a medical project of surgical planning, and i would like to know how can i add a stylus in my surgical scene for simulation (to see the entry point). Is it a way to do it directly or with Python code? I load the IGT slicer extension but i don’t really understand how to use it?
I would need some help to do it.
That’s sounds like a great idea. Did you read through the tutorials on SlicerIGT’s web page?
Thank you for your answer. Actually, i’m trying to do surgical planning but not in real time, i would like to had a device in my 3D reconstruction scene and see differents path for the “endoscope”. Is it possible to had a stylus or other device responding to my mouse movements permitting to see hypothetics paths?
Hi Sophie -
From the Slicer point of view, at some level we treat motions that come from trackers the same as motions that come from a mouse. Both are used to control Transforms, that can be used to manipulate objects in the scene. These objects might be simulated instruments or scopes. So I think SlicerIGT is a good place to get a sense of what’s possible, but you can ignore the details of connecting a physical tracker.
You can import an STL model or generate models using “Create Models” module in SlicerIGT extension, then move it around using a transform. You can use “Volume Reslice Driver” module to reslice the image along the tool axes to verify that the trajectory is feasible and safe. You may also use PathExplorer module to simulate a tool trajectory.
You may also find PortPlacement extension and PercutaneousApproachAnalysis extensions relevant. PortPlacement extension had a build error that I’ve pushed a fix for, we’ll see tomorrow if the fix worked. PercutaneousApproachAnalysis needs some updates for Python3.