Description Usage Arguments Details Value See Also Examples
A shiny
-based interactive function to digitize three-dimensional (3D) landmarks. Input for the function is output of vertex coordinates defining a mesh3d object as obtained from read.ply2
.
1 | digit.fixed2(spec = spec, out.dir = NULL)
|
spec |
a list, produced from |
out.dir |
character, the file path describing where to save results |
Function for digitizing fixed three-dimensional landmarks. Produces a shiny
app interactive session. Permits panning, zooming, and rotation. Results are saved as a .csv file once the user clicks on the "Save" button.
A csv file with x,y,z coordinates named according to the spec.name
output of read.ply2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
#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 = F)
digit.fixed2(spec=spec,out.dir = tempdir())
#commence digitizing
f <- list.files(tempdir(),pattern=".csv",full.names=TRUE)
read_csv(f)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.