exports a triangular mesh of class mesh3d to a vtp file
1 2 | vtkMeshWrite(mesh, filename = dataname, type = c("vtk", "vtp"),
ascii = FALSE)
|
mesh |
mesh of class mesh3d |
filename |
character |
type |
character: file extension. Can be "vtk", "vtp". |
ascii |
if TRUE, vtk will be written as binary |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.