Load an image and a transformation and handle them with the IGT Volume Reslice Driver module

Hi,
I would like to load an image and a transformation matrix in Slicer with Python
I would like then to visualise the image in the “red view” for example.
Then I would like to convert the image and the transformation in a format compatible with the IGT Volume Reslice Driver module in order to view the transformed image in the 3D viewer.

Is it something feasible? Do you have any suggestions how to do it?

Thank you