Usage
deformGrid3d(matrix, tarmatrix, ngrid = 0, lwd = 1, showaxis = c(1, 2),
show = c(1, 2), lines = TRUE, lcol = 1, add = FALSE, col1 = 2,
col2 = 3, type = c("s", "p"), size = NULL, pcaxis = FALSE)
Arguments
matrix
reference matrix containing 3D landmark coordinates or mesh of class "mesh3d"
tarmatrix
target matrix containing 3D landmark coordinates or mesh of class "mesh3d"
ngrid
number of grid lines to be plotted; ngrid=0 suppresses grid
creation.
lwd
width of lines connecting landmarks.
showaxis
integer (vector): which dimensions of the grid to be
plotted. Options are combinations of 1,2 and 3.
show
integer (vector): if c(1:2) both configs will be plotted, show = 1 only plots the reference and show = 2 the target
lines
logical: if TRUE, lines between landmarks will be plotted.
add
logical: add to existing rgl window.
type
"s" renders landmarks as spheres; "p" as points - much faster
for very large pointclouds.
size
control size/radius of points/spheres
pcaxis
logical: align grid by shape's principal axes.