export_amira.path: export_amira.path

View source: R/export_amira.path.R

export_amira.pathR 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())

Arothron documentation built on Feb. 16, 2023, 5:17 p.m.