setDecimOptions: Sets Decimation Options

Description Usage Arguments Details Value See Also Examples

View source: R/utils.R

Description

Set decimation options for digitMesh.character.

Usage

1
2
setDecimOptions(makeDecimation = TRUE, sequential = TRUE,
                tarface = 15000, patt = ".ply")

Arguments

makeDecimation

A logical value indicating if the decimation should be performed.
Default: TRUE.

sequential

A logical value indicating if the decimation should be performed mesh by mesh during the landmark digitizing, or in a single pass for all meshes before the digitizing.
Default: TRUE => decimation mesh by mesh during the digitization process.

tarface

A numerical value (positive integer) indicating the targetted number of faces for the decimated meshes.
Default: 15000.

patt

A character value taking values within {".ply",".stl"} indicating the kind of mesh files to treat.
Default: ".ply".

Details

This function allows user to set several parameters for mesh decimation needed during the call of digitMesh.character. With no arguments, this function returns the default settings for decimation options. Any of those options can be modified by setting new values for the corresponding arguments. Non-filled arguments will be set to default. Ill-filled arguments will return errors or warnings.

Value

A list of those parameters.

See Also

setFileOptions, setGraphicOptions, setTemplOptions.

Examples

1
2
3
4
5
# returning default settings:
DeOpt<-setDecimOptions()

# setting for non sequential stl decimations:
DeOpt<-setDecimOptions(sequential = FALSE, patt = ".stl")

morphOptics/digit3DLand documentation built on July 17, 2021, 8:27 p.m.