Set view perpendicular to a Markup Line


I am relatively new to Slicer and not sure how to do thiis. Here is some background for what I am trying to do:

  1. I draw a line using markupsLine to depict a possible path for a neurosurgical procedure.
  2. I need to be able to set the view of the camera perpendicular to the line so that after doing that, the line essentially becomes like a point and I can move through slices to see if the line is interfering with the vessels.
  3. If that happens, I should be able to move the point in either direction and do the view change again to make it perpendicular to that new point and repeat the process until no vessels are hit.

Please let me know if someone has faced this before and how to solve it. I am using Slicer version 4.11.20210226

The Path Explorer module in SlicerIGT extension implements this. Its user interface is a bit clunky (you need to add target point(s) and candiate entry point(s) and then create candidate paths from them, then enable/disable driving of each slice), so if you have trouble figuring out how it works then let us know.

Use the most recent Slicer Stable Release. Slicer-4.11 is really old, current version has many fixes and improvements.

Hi Andras,

Thanks for the quick reply! It worked and its exactly what I needed.

I will also update the Slicer version.

Thanks again!

1 Like