Description Usage Arguments Details Value
View source: R/pre_process_mesh.R
Pipe together several other internal processing functions to allow a single call to adjust the mesh coordinates to real-world values.
1 | pre_process_mesh(mesh, rot_tr_matr, ...)
|
mesh |
a mesh3d object |
rot_tr_matr |
a 4x4 roto-translation matrix. User can select a matrix
from the date of calibration (these matrices will eventually be stored in the
|
... |
other arguments passed to |
Order of operations is important. The steps are as follows:
Sample is rigidly (i.e. no deformation or scaling) re-oriented using a user-specified roto-translation matrix.
Sample is trimmed of any points more than 50 mm beneath x-y plane. This removes points registered from the scanner turntable or the cylinder base to ensure step (3) is performed accurately.
Sample is adjusted in the x and y directions based on its largest values in these dimensions; this returns the true center of the specimen to the horizontal origin (i.e. x=0 and y=0)
Remove the specimen holder and the outermost ring of soil (default radius
is 70 mm per remove_cyl()
)
Sample the z-elevations and adjust sample accordingly; see adjust_z()
processed mesh3d object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.