TRI_SURFACE_DISPLAY
Display a Triangulated 3D Surface in MATLAB


TRI_SURFACE_DISPLAY is a MATLAB program which gets the names of the node and triangle files defining a 3D triangulated surface, reads the information from the files, and displays the surface on the screen.

A TRI_SURFACE or triangulated mesh surface is a special case of a polygonal surface. Examples of polygonal surfaces, and programs to display them, are also available elsewhere.

Usage:

tri_surface_display ( 'node_file', 'triangle_file' )

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

BEZIER_SURFACE_DISPLAY is a MATLAB program which reads two files defining a Bezier surface and displays it.

FEM_BASIS_T3_DISPLAY is a MATLAB program which displays a basis function associated with a linear triangle ("T3") mesh.

FEM_BASIS_T6_DISPLAY is a MATLAB program which reads a quadratic triangle mesh and displays any associated basis function.

OBJ_DISPLAY is a MATLAB program which reads an OBJ file defining a 3D object and displays it within MATLAB.

OBJ_TO_TRI_SURFACE, a MATLAB program which reads an OBJ file, and extracts the surface mesh data as a TRI_SURFACE dataset.

POLYGONAL_SURFACE_DISPLAY is a MATLAB program which reads two files defining a polygonal surface and displays it within MATLAB.

SPHERE_GRID is a dataset directory which contains examples of grids of points on spheres, some of which have been triangulated, and hence can be displayed by TRI_SURFACE_DISPLAY.

STLA_DISPLAY is a MATLAB program which reads an ASCII STL file and displays it.

STLA_TO_TRI_SURFACE, a MATLAB program which reads a STlA file, and extracts the surface mesh data as a TRI_SURFACE dataset.

TET_MESH_DISPLAY is a MATLAB program which reads files defining a tet mesh and displays an image within MATLAB.

TRI_SURFACE is a data directory which contains examples of 3d triangulated surface files.

TRI_SURFACE_IO, a MATLAB library which reads and writes the 3D graphics information in an TRI_SURFACE file;

TRI_SURFACE_TO_PLY is a MATLAB program which converts a TRI_SURFACE data structure into a PLY data structure.

TRIANGULATION_DISPLAY_OPEN_GL is a C++ program which reads files defining a triangulation and displays an image using Open GL.

TRIANGULATION_ORDER1_DISPLAY is a MATLAB program which reads files defining a piecewise constant triangulation of data, and displays a corresponding 3D surface.

Source Code:

Examples and Tests:

SPHERE is a sphere, tiled with an 8 by 8 array of logically triangular patches.

TETRAHEDRON is a tetrahedron, defined by 4 triangular faces.

You can go up one level to the MATLAB source codes.


Last revised on 22 July 2007.