slice along a random direction to get 2D slice from 3D volume


I want to reslice a volume in a user defined direction. I have used LookatTransform in c++ version long time back ,I am not able to find it in the python version.Is there a similar transform available in python. it would be helpful to get an example