Draw a 3D mesh with rgl
Arguments
- x
A
inla_mesh_3dobject- include
Whether to draw vertices, edges, and triangles, Default: c(FALSE, TRUE, TRUE)
- alpha
Opaqueness of vertices, edges, and triangles, Default: c(0.9, 0.3, 0.1)
- col
Colour of vertices, edges, and triangles, Default:
c("black", "blue", "red")- t_sub
A subset of tetrahedron indices to include, Default: NULL (draw all tetrahedra)
- size
Vertex size, in pixels
- lwd
Edge width, in pixels
- fill_col
Fill color specification for triangles, Default: NULL
- add
If TRUE, adds to an existing
rgldevice, Default: FALSE- ...
Further parameters passed through to the rgl plotting functions
Examples
if (FALSE) { # \dontrun{
if (interactive()) {
# EXAMPLE1
}
} # }