Read AmiraMesh data in binary or ascii format
Read the header of an AmiraMesh file
read.amiramesh(file, sections = NULL, header = FALSE, simplify = TRUE, endian = NULL, ReadByteAsRaw = FALSE, Verbose = FALSE) read.amiramesh.header(file, Parse = TRUE, Verbose = FALSE)
| file | Name of file (or connection) to read |
|---|---|
| sections | character vector containing names of sections |
| header | Whether to include the full unprocessed text header as an attribute of the returned list. |
| simplify | If there is only one datablock in file do not return wrapped in a list (default TRUE). |
| endian | Whether multibyte data types should be treated as big or little
endian. Default of NULL checks file or uses |
| ReadByteAsRaw | Logical specifying whether to read 8 bit data as an R
|
| Verbose | Print status messages |
| Parse | Logical indicating whether to parse header (default: TRUE) |
list of named data chunks
reading byte data as raw arrays requires 1/4 memory but complicates arithmetic.
read.amiramesh.header will open a connection if file is a
character vector and close it when finished reading.
Other amira: amiratype,
is.amiramesh, read.hxsurf,
write.hxsurf