Import images with both Intrinsic and Extrinsic parameters

I think I figured the seond question out. If the Camera Matrix is K[R t]
then <xcr:Rotation> should be R
<xcr:Position> should be camera position in world coordinate, which is -R^-1*t