TRI_SURFACE_IO
Read and Write TRI_SURFACE 3D Graphics Files
TRI_SURFACE_IO,
a MATLAB library which
reads or writes the 3D graphics
information stored in a pair of files that represent a TRI_SURFACE object.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Languages:
TRI_SURFACE_IO is available in
a C++ version and
a FORTRAN90 version and
a MATLAB version.
Related Data and Programs:
OBJ_TO_TRI_SURFACE,
a MATLAB program which
reads an OBJ file and extracts
the surface mesh data as a TRI_SURFACE dataset.
PLY_TO_TRI_SURFACE,
a MATLAB program which
extracts data from a PLY file and writes it to a TRI_SURFACE file.
STLA_TO_TRI_SURFACE,
a MATLAB program which
reads an ASCII STL file and extracts
the surface mesh data as a TRI_SURFACE dataset.
TRI_SURFACE,
a data directory which
has some examples of TRI_SURFACE files.
TRI_SURFACE_DISPLAY,
a MATLAB program which
reads a TRI_SURFACE 3D graphics file and displays it in a 3D window.
TRI_SURFACE_DISPLAY_OPENGL,
a C++ program which
displays the 3D graphics information
in a TRI_SURFACE file
using OpenGL.
tri_surface_io_test
TRI_SURFACE_TO_OBJ,
a MATLAB program which
reads a TRI_SURFACE dataset and extracts
the surface mesh data as an OBJ file.
TRI_SURFACE_TO_PLY,
a MATLAB program which
extracts data from a TRI_SURFACE file and writes it to a PLY file.
TRI_SURFACE_TO_STLA,
a MATLAB program which
reads a TRI_SURFACE dataset and extracts
the surface mesh data as an ASCII STL file.
Source Code:
-
file_column_count.m,
counts the number of columns in the first line of a file.
-
file_row_count.m,
counts the number of row records in a file.
-
i4mat_data_read.m,
reads a table from an integer TABLE file.
-
i4mat_header_read.m,
reads a table header from an integer TABLE file.
-
i4mat_transpose_print.m,
prints the transpose of an I4MAT.
-
i4mat_transpose_print_some.m,
prints the transpose of some of an I4MAT.
-
i4mat_write.m,
writes an integer TABLE file.
-
r8mat_data_read.m,
reads the data of an R8MAT file.
-
r8mat_header_read.m,
reads the header of an R8MAT file.
-
r8mat_transpose_print.m,
prints the transpose of an R8MAT.
-
r8mat_transpose_print_some.m,
prints the transpose of some of an R8MAT.
-
r8mat_write.m,
writes an R8MAT file.
-
s_len_trim.m
returns the length of a string to the last nonblank.
-
s_word_count.m,
counts the number of words in a string.
-
timestamp.m
prints the current YMDHMS date as a time stamp.
-
tri_surface_print.m
prints data associated with a TRI_SURFACE file.
-
tri_surface_read.m
reads graphics information from a TRI_SURFACE file.
-
tri_surface_size.m
determines sizes of graphics objects in a TRI_SURFACE file.
-
tri_surface_size_print.m
prints sizes associated with a TRI_SURFACE file.
-
tri_surface_write.m
writes graphics information to a TRI_SURFACE file.
Last revised on 04 April 2019.