export_amira.path: export_amira.path

Description Usage Arguments Author(s) Examples

Description

Convert and save a 3D matrix into a AmiraMesh ASCII Lineset (.am) object

Usage

1
2
export_amira.path(vertices, filename, Lines = c(1:(dim(vertices)[1] - 1)
  - 1, -1), path)

Arguments

vertices

numeric: a kx3 matrix

filename

character: name of the requested output

Lines

numeric: sequence of the vertices that defines the line

path

character: folder path

Author(s)

Antonio Profico, Alessio Veneziano, Marina Melchionna, Pasquale Raia

Examples

1
2
3
4
5
6
library(Arothron)
x<-c(1:20)
y<-seq(1,3,length=20)
z<-rnorm(20,0.01)
vertices<-cbind(x,y,z)
export_amira.path(vertices=vertices,filename="example_line",path=tempdir())

Arothron/Arothron documentation built on May 5, 2019, 8:11 a.m.