Volumetric Meshes¶


This tour explores the processing of volumetric tetrahedral meshes.

In [2]:
addpath('toolbox_signal')


You can load and display volumetric tetrahedral meshes. Important: .tet files and not included in the toolbox distribution (too large files). You should download them from

http://www.aimatshape.net/

In [3]:
[vertex,faces] = read_tet('hand.tet');


Display it.

In [4]:
clear options;
options.plot_points = 1;
clf; plot_mesh(vertex,faces,options);


Display it.

In [5]:
options.cutting_plane = [0 0 1];
options.plot_points = 0;
clf; plot_mesh(vertex,faces,options);


Another view.

In [6]:
options.cutting_plane = [0 -1 0];
options.plot_points = 0;
options.cutting_offs = -.2;
options.face_vertex_color = vertex(1,:)';
clf; plot_mesh(vertex,faces,options);
view(-20,45);zoom(.8);
colormap jet(256);