If you don’t want to do any programming, then use Volume Reslice Driver
module (available in SlicerIGT extension) to align your slice views using the computed AC-PC transform (you probably have to invert the transform in Transforms module, as you apply it to the slice views and not to the volume).
If you have your own module already, then you can set the slice view orientations directly as described here: Rotating Slice around Axis of Model (using SetSliceToRASByNTP
or SetSliceToRAS
method).