ExpManifoldContour: Builds and exports the mesh representing the desired...

Description Usage Arguments Value Examples

Description

This function returns the file (ply format) of the mesh generated by the Marching Cubes 33 algorithm. Optionally, the original dataset grid is preprocessed (subdivided in specifics points) to eliminate the configuration that results in non-manifold edges.

Usage

1
ExpManifoldContour(file_path, isovalue, verification, export_path)

Arguments

file_path

A string: the path to the nhdr file

isovalue

A number: the value corresponding to the desired isosurface

verification

A boolean: determines whether the grid verification will be performed

export_path

A string: the path to a directory to put the mesh generated, following by the file name.

Value

The file of the mesh in the ply format.

Examples

1
2
3
ExpManifoldContour(system.file("extdata", "f3.nhdr", package = "tcie"), 0.0, FALSE, "mesh.ply")
ExpManifoldContour(system.file("extdata", "f3.nhdr", package = "tcie"), 0.0, TRUE, "mesh.ply")
ExpManifoldContour(system.file("extdata", "f9.nhdr", package = "tcie"), 0.0, TRUE, "mesh.ply")

tcie documentation built on May 2, 2019, 1:05 p.m.