| home | introduction | downloads | manual | contact | ECGSIM

Download geometry files for ecgsim

From here the geometry descriptions of the heart and the thorax used in ecgsim can be downloaded:

The format of these files is as follows:

npnt
1 x(1) y(1) z(1)
2 x(2) y(2) z(2)
. . . .
. . . .
npnt x(npnt) y(npnt) z(npnt)
ntri
1 ind(1,1) ind(1,2) ind(1,3)
2 ind(2,1) ind(2,2) ind(2,3)
. . . .
. . . .
ntri ind(ntri,1) ind(ntri,2) ind(ntri,3)

where npnt is the number of vertices, x(i), y(i) and z(i) are the coordinates (in meters) of vertex i, ntri is the number of triangles, and ind(j,1), ind(j,2) and ind(j,3) are the indices of the vertices of triangle j. The order of the indices for a triangle defines the orientation of the triangle; seen from the outside the vertices are number clockwise.

If you experience problems downloading, installing or running ecgsim, please contact us at .


ECGSIM home Thom Oostendorp ()