search for: celltypes_header

Displaying 1 result from an estimated 1 matches for "celltypes_header".

2010 Jul 05
1
export VTK from R : impossible to write data as float
...),bfile_points,endian="swap") #cells header cat('\nCELLS', 1,9,'\n',file="cells_header") #write cells writeBin(as.integer(c(8, 0, 1, 3, 2, 4, 5, 7, 6)),bfile_cells,endian="swap") #cell types header cat('\nCELL_TYPES', 1,'\n',file="celltypes_header") #write cell types writeBin(as.integer(c(12)),bfile_celltypes,endian="swap") #cell data header cat('\nCELL_DATA',1,'\n',file="celldata_header") cat('SCALARS R float 1','\n',file="celldata_header", append=TRUE) cat('LOOKUP_TABL...