Slice intersections implementation

Hi,

I’m looking for some help in understanding an implementation detail: I am unable to find the implementation of the slice intersection lines that are displayed in the slice viewers when they are activated via the menu. How are they rendered and how are the colors and positions set/updated?

Looking for forward for some insight.
Thanks
Robert

Hi Robert -

It’s a somewhat complex topic, but you could start here:

@rprueckl What would you like to do?

Thanks for the answer - i found what I was looking for - also in the file

https://github.com/Slicer/Slicer/blob/master/Libs/MRML/DisplayableManager/vtkMRMLModelSliceDisplayableManager.cxx

This concrete question was merely out of interest, but in general we are currently starting the process of building a customized application on top of the slicer libraries. Therefore, I was investigating different parts of the code. Currently, I make myself familiar with slicelets and the custom application template. It could easily be that you will see me more often in this forum :slight_smile:

2 Likes