ManifoldContour: Builds and plots the mesh representing the desired isosurface

Description Usage Arguments Value Examples

Description

This function returns the visualization (rendered by the rgl package) of the mesh generated by the Marching Cubes 33 algotithm. Optionally, the original dataset grid is preprocessed (subdivided in specifics points) to eliminate some configuration which results in non-manifold edges.

Usage

1
2
ManifoldContour(file_path, isovalue, verification, color_mesh, opacity,
  new_window)

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

color_mesh

A string: the color to rendirind the resulting mesh

opacity

A number: the opacity-level

new_window

A boolean: determines whether a new view window will be opened

Value

The visualization of the generated mesh.

Examples

1
2
3
ManifoldContour(system.file("extdata", "f3.nhdr", package = "tcie"), 0.0, FALSE,"red",1.0, TRUE)
ManifoldContour(system.file("extdata", "f3.nhdr", package = "tcie"), 0.0, TRUE,"red",1.0, TRUE)
ManifoldContour(system.file("extdata", "f9.nhdr", package = "tcie"), 0.0, TRUE, "blue",1.0, TRUE)

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

Related to ManifoldContour in tcie...