I 'm trying to synthesis a panormaic image of CBCT from CBCT volume using vtk.

Hi,
I’m trying to synthesize a panoramic image of CBCT from a 3D volume. I have used vtkContourWidget for selecting the dental arch curve. Now I want to convert all slices that contain the dental arch to a panoramic image. The task here is I want to convert the curved arch so that all the details in the dental arch can be visualized in the synthesized panoramic image. Is there any vtk class that can be used for this?

Thanks in advance.