Here we use this solution to unfold a jaw along with a predefined spline. Then after we get a rendering like a Dental Panoramic X-Ray. By using the SoROIManip we can change the slab thickness and its position.
Pressing 'U' activates unfolding animation and pressing 'S' stops it. We also used the Average Intensity Projection along the slab. You can change this render mode by changing the renderMode field of SoVolumeRender.
SoVolumeRenderingQuality, SoFragmentShader, SoShaderParameter1f, SoNodeSensor, SoEventCallback, SoTimeCounter, SoVolumeRender
Before unfolding, the red spline define the path to follow for the unfolding.
After unfolding. We get the resulting Slab. This Slab can be modify by using the ROI manipulator.