How to setup the parameters in SetSliceToRASByNTP?

I am trying to use plane matrix to control the green slice position and rotation.
matrix_transform = np.array([
[1, 0, 0, 0.2],
[0, 1, 0, 0.3],
[0, 0, 1, 0.4],
[0, 0, 0, 1]
])
How to use matrix to setup the parameters in SetSliceToRASByNTP? Do I need to use function to get the the normal of plane, also need to know the previous plane position as well? Thanks a lot.