Description Usage Arguments Value Examples
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.
1 2 | ManifoldContour(file_path, isovalue, verification, color_mesh, opacity,
new_window)
|
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 |
The visualization of the generated mesh.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.