Description Usage Arguments Details Value See Also Examples
Read .ply files to be used for digitizing landmark coordinates.
1 |
file |
character, a path to an ASCII .ply file |
ShowSpecimen |
logical,should the ply file should be displayed |
Function reads three-dimensional surface data in the form of a single .ply file (Polygon File Format; ASCII format only, from 3D scanners or from .ply rendered from STL files produced by surface renderings of computed tomography data. The function opens the ply file and plots the mesh in a local shiny
app if ShowSpecimen=TRUE
.
A list with the following components:
#'
"x","y", and "z", the x, y, and z coordinats of the mesh vertices
"mesh", mesh3d
object whose name describes the number of vertices and triangles.
"zmean", the mean z position for each triangle (used for face coloring)
"facecolor", a face color according to colour_ramp
palette "RdBu"
1 2 3 4 5 6 | #load a .ply file, taken from https://people.sc.fsu.edu/~jburkardt/data/ply/ply.html
ply.f<- system.file("extdata","hammerhead.ply",package = "geomorphcompanion")
spec <- read.ply2(file=ply.f,ShowSpecimen = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.