After vtk.js' ImageCPRMapper class example is run, how do I get the image coordinates of the center line on the cpr plane in stretch and straighten mode

Oh yes, I forgot the tangent direction:
Instead of rotating [1, 0, 0] by the quaternion, you have to rotate mapper.getTangentDirection()