plot or save the results of meshDist
render(x, ...)# S3 method for meshDist
render(
x,
from = NULL,
to = NULL,
steps = NULL,
ceiling = NULL,
uprange = NULL,
tol = NULL,
tolcol = NULL,
rampcolors = NULL,
NAcol = NULL,
displace = FALSE,
shade = TRUE,
sign = NULL,
add = FALSE,
scaleramp = NULL,
titleplot = "Distance in mm",
...
)
# S3 method for matrixDist
render(
x,
from = NULL,
to = NULL,
steps = NULL,
ceiling = NULL,
uprange = NULL,
tol = NULL,
tolcol = NULL,
type = c("s", "p"),
radius = NULL,
rampcolors = NULL,
NAcol = NULL,
displace = FALSE,
sign = NULL,
add = FALSE,
scaleramp = FALSE,
titleplot = "Distance in mm",
...
)
export(x, ...)
# S3 method for meshDist
export(
x,
file = "default",
imagedim = "100x800",
titleplot = "Distance in mm",
...
)
object of class meshDist
for render.meshDist: additional arguments passed to
shade3d
. See material3d
for details.
numeric: minimum distance to color; default is set to 0 mm
numeric: maximum distance to color; default is set to the maximum distance
integer: determines how many intermediate colors the color ramp has.
logical: if TRUE, the next larger integer of "to" is used
numeric between 0 and 1: restricts "to" to a quantile of "to", if to is NULL.
numeric: threshold to color distances within this threshold
according to tolcol
.
a custom color to color vertices below a threshold defined by tol
. Default is green.
character vector: specify the colors which are used to create a colorramp.
character: specify color for values outside the range defined by from
and to
.
logical: if TRUE, displacement vectors between original and closest points are drawn colored according to the distance.
logical: if FALSE, the rendering of the colored surface will be supressed.
logical: request signed distances to be visualised.
logical: if TRUE, visualization will be added to the rgl window currently in focus
if TRUE the ramp colors get scaled symmetrically into positive and negative direction.
character: axis description of heatmap.
character: "s" shows coordinates as spheres, while "p" shows 3D dots.
determines size of spheres; if not specified, optimal radius size will be estimated by centroid size of the configuration.
character: filename for mesh and image files produced. E.g. "mydist" will produce the files mydist.ply and mydist.png
character of pattern "100x200" where 100 determines the width and 200 the height of the image.
Stefan Schlager
Visualise or save the results of meshDist to disk.
render.meshDist renders the colored mesh and displays the color ramp and returns an object of class "meshDist". export.meshDist exports the colored mesh as ply file and the color chart as png file.
meshDist
, shade3d