Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

read.AVIZO.ply

Read mesh data from ply files saved by AVIZO


Description

A function that reads Stanford ply files as saved by the 3D data visualization software Avizo

Usage

read.AVIZO.ply(file, ShowSpecimen = TRUE, addNormals = TRUE)

Arguments

file

An ASCII PLY file generated by Avizo

ShowSpecimen

Logical indicating whether or not the mesh should be displayed

addNormals

Logical indicating whether or not normals of mesh vertices shold be calculated and appended to object

Details

If ShowSpecimen is True, a gray shade3d of the mesh is generated in a new rgl window for previewing the specimen. When saving to the ply file type, Avizo inserts additional property parameters into the file heading that sometimes describe various components of the mesh. These additional properties cause the read.ply function native to the geomorph package to fail. This function properly reads ply files generated by Avizo (like read.ply) and can be stored as an object accepted as input in the other molaR functions. Ply files generated through other software (such as MeshLab) can be read using read.ply.


molaR

Dental Surface Complexity Measurement Tools

v4.5
ACM
Authors
James D. Pampush [aut, cre, cph], Julia M. Winchester [aut, cph], Paul E. Morse [aut, cph], Alexander Q. Vining [aut, cph], Edward Fuselier [aut, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.