visualize an atlas defined by createAtlas
visualize an atlas defined by createAtlas
plotAtlas(atlas, pt.size = NULL, alpha = 1, render = c("w", "s"),
point = c("s", "p"), meshcol = "white", add = TRUE,
legend = TRUE, cols = 2:5)atlas |
object of class atlas created by |
pt.size |
size of plotted points/spheres. If |
alpha |
value between 0 and 1. Sets transparency of mesh 1=opaque 0= fully transparent. |
render |
if |
point |
how to render landmarks. "s"=spheres, "p"=points. |
meshcol |
color to render the atlas mesh |
add |
logical: if TRUE, a new rgl window is opened. |
legend |
logical: request plot of legend specifying landmark coloring. |
cols |
vector containing colors for each coordinate type cols[1]=landmarks, cols[2]=patch, cols[3]=corrCurves, cols[4]=patchCurves. |
If legend=TRUE, a plot with a legend will open where coloring of the
3D-spheres is specified.
returns invisible vector containing rgl.id of rendered
objects.
data(nose)
atlas <- createAtlas(shortnose.mesh, landmarks =
shortnose.lm[c(1:5,20:21),], patch=shortnose.lm[-c(1:5,20:21),])
## Not run:
plotAtlas(atlas)
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.