export_amira.path {Arothron}R Documentation

export_amira.path

Description

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

Usage

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, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano

Examples

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())

[Package Arothron version 2.0.5 Index]