Usage
## S3 method for class 'matrixDist':
render(x, from = NULL, to = NULL, steps = NULL,
ceiling = NULL, uprange = NULL, tol = NULL, type = c("s", "p"),
radius = NULL, displace = FALSE, sign = NULL, add = FALSE, ...)render(x, ...)
## S3 method for class 'meshDist':
render(x, from = NULL, to = NULL, steps = NULL,
ceiling = NULL, uprange = NULL, tol = NULL, displace = FALSE,
shade = TRUE, sign = NULL, add = FALSE, ...)
export(x, ...)
## S3 method for class 'meshDist':
export(x, file = "default", imagedim = "100x800", ...)
Arguments
x
object of class meshDist
from
numeric: minimum distance to color; default is set to 0 mm
to
numeric: maximum distance to color; default is set to the maximum
distance
steps
integer: determines how many intermediate colors the color ramp
has.
ceiling
logical: if TRUE, the next larger integer of "to" is used
uprange
numeric between 0 and 1: restricts "to" to a quantile of
"to", if to is NULL.
tol
numeric: threshold to color distances within this threshold
green.
type
character: "s" shows coordinates as spheres, while "p" shows 3D
dots.
radius
determines size of spheres; if not specified, optimal radius
size will be estimated by centroid size of the configuration.
displace
logical: if TRUE, displacement vectors between original and
closest points are drawn colored according to the distance.
sign
logical: request signed distances to be visualised.
add
logical: if TRUE, visualization will be added to the rgl window currently in focus
shade
logical: if FALSE, the rendering of the colored surface will be
supressed.
file
character: filename for mesh and image files produced. E.g.
"mydist" will produce the files mydist.ply and mydist.png
imagedim
character of pattern "100x200" where 100 determines the
width and 200 the height of the image.