Thanks Pieper for the reference. I have taken a look on it. But, i did not manage to find any function that allow me to access the information of relative transformation between planes (Axial, Sagittal, Coronal) and 3D model.
I wonder if you could give more hint on how to access numerical value of the transformation matrix (either manually or programmatically)?
SliceToRAS returns a VTKMatrix4x4 that defines the slice plane’s position (4th column of the matrix) and slice vertical and horizontal axis directions (1st and 2nd column).
Yes, from the snippet code that you have provided, I am able to get the transformation matrix of the planes (axial, sagittal, and coronal). This time, I am trying to understand that given the 3D model is generated in the 3D view, I want to obtain the transformation matrix of the 3D model with respect to RAS coordinate system.
For obtaining the transformation matrix of the 3D view, you will have to access the vtkMRMLCameraNode of the 3D view and then get the position and orientation of the vtk camera.