ref.srctodest.add | R Documentation |
The ref.srctodest.add
function links the source frame of
reference with the destination frame of reference.
ref.srctodest.add(src.ref, dest.ref, TM = diag(4), T.MAT = NULL)
src.ref |
Character string, pseudonym of the source frame of reference. |
dest.ref |
Character string, pseudonym of the destination frame of reference. |
TM |
4x4 tansfert matrix for moving from |
T.MAT |
"t.mat" class object created by
load.patient.from.dicom, load.patient.from.Rdcm
or load.T.MAT. If |
Returns a "t.mat" class object, which contains the transfer
matrices from or to dest.ref
pseudonym of the new frame
of reference. If the T.MAT
is NULL
, then the returned object
will contain only 4 matrices: "src.ref<-src.ref",
"src.ref<-dest.ref", "dest.ref<- dest.ref", "dest.ref<-src.ref".
ref.add, ref.cutplane.add, ref.remove.
local.Tmat <- ref.srctodest.add ("ref1","ref2",
TM = matrix(c (0.5, -sin (pi / 3), 0, 0,
sin (pi / 3), 0.5, 0, 0,
0, 0, 1, 0, 0, 0, 0, 1),
ncol = 4))
str (local.Tmat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.