remeshList: consistently remesh a list of registered meshes (with...

View source: R/remeshList.r

remeshListR Documentation

consistently remesh a list of registered meshes (with corresponding vertices)

Description

consistently remesh a list of registered meshes (with corresponding vertices), preserving correspondences using Quadric Edge Collapse decimation

Usage

remeshList(matchlist, reference = 1, random = FALSE, fun = vcgQEdecim, ...)

Arguments

matchlist

a list of meshes with corresponding vertices (same amount and pseudo-homologous positions), e.g. registered with gaussMatch. Meshes do not need to be aligned.

reference

integer: select the specimen the to which the decimation is to applied initially.

random

if TRUE, a random specimen is selected for initial decimation

fun

specify function to operate on the reference

...

parameters passed to fun

Details

The decimation is applied to a reference and then the barycentric coordinates of the new vertices on the original surface are calculated. These are used to extract the corresponding positions of the remeshed versions on all meshes in the sample. The Decimation is performed by the function vcgQEdecim from the Rvcg-package.

Value

a list of decimated meshes with correspondences preserved.


zarquon42b/mesheR documentation built on Jan. 28, 2024, 2:17 p.m.