TRI_MESH_DISPLAY
Display a Triangulated 3D Surface in MATLAB


TRI_MESH_DISPLAY is an executable 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_MESH 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.

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.

POLYGONAL_SURFACE is a data directory which contains examples of polygonal surface files.

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_MESH_DISPLAY.

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

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

TRI_MESH_TO_PLY is a MATLAB program which converts a TRI_MESH data structure into a PLY data structure.

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

Usage:

tri_mesh_display ( 'node_file', 'triangle_file' )
reads the information in the node and triangle files and displays it on the screen.

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.