|
File Formats - Wireframe
Description
3D
Wireframe (.3fr) files are used to represent volumes as tetrahedral
tilings. The
volumes consist of vertices, and tetrahedra.
In general, the file consists of a prolog, a header, a sequence of
vertices (one vertex per line), followed by a sequence of tetrahedra (one
tetrahedron per line.
Minor Rev
Minor rev must euqal 1.
Comments
Wireframe files must not have comment lines.
Vertex
Each vertex line begins with the tag field. The vertex tag
field begins with the character 'v', and may be 'v', 'vp', 'vs', or
'vps'. The content of the tag field defines the meaning of the reminaing
field on the line, as described in Table A-2.
|
Tag field |
Data fields |
Description |
|
v |
%f %f %f |
vertex location (xyz, meters) |
|
vp |
%f %f %f %x |
vertex location (xyz, meters), state |
|
vs |
%f %f %f %g |
vertex location (xyz, meters), scalar magnitude |
|
vps |
%f %f %f %x %g |
vertex location (xyz, meters), state, scalar magnitude |
Table A-2
Tetrahedron
Each tetrahedron line begins with the tag field. The vertex
tag field begins with the character 'e', and may be 'et', 'e1',
'e1t", 'e2', or 'e2t'. The content of the tag field defines the meaning of
the reminaing field on the line, as described in Table A-3.
|
Tag field |
Data fields |
Description |
|
e |
%d %d %d %d |
indices of the 4 vertices that constitue the
tetrahedron (right-handed order) |
|
et |
%d %d %d %d %d |
indices of the 4 vertices that constitue the
tetrahedron (right-handed order), tissue type (see below) |
|
e1 |
%d %d %d %d %g |
indices of the 4 vertices that constitue the
tetrahedron (right-handed order), scalar conductivity |
|
e1t |
%d %d %d %d %g %d |
indices of the 4 vertices that constitue the
tetrahedron (right-handed order), scalar conductivity, tissue type
(see below) |
|
e2 |
%d %d %d %d
%g %g %g %g %g %g |
indices of the 4 vertices that constitue the
tetrahedron (right-handed order), tensor conductivity (see below) |
|
e2t |
%d %d %d %d
%d %d %d %d
%g %g %g %g %g %g
%d |
indices of the 4 vertices that constitue the
tetrahedron (right-handed order), tensor conductivity (see below),
tissue type (see below) |
Table A-3
Tissue Type
Table A-4 defines the tissue types.
|
Name |
value |
|
Undefined |
0 |
|
Unclassified |
1 |
|
Errant |
2 |
|
White Matter |
3 |
|
Gray Matter |
4 |
|
CSF |
5 |
|
Bone |
6 |
|
Skin |
7 |
|
Muscle |
8 |
|
Fat |
9 |
|
Eye (vitreous) |
10 |
|
Air |
11 |
|
Working Values 2 |
12 |
|
UserDefined 1 |
15 |
|
UserDefined 2 |
16 |
Table A-4
Tensor conductivity
The tensor conductivity is assumed to be a symmetric 3x3
matrix. Only the upper right triangle is stored, 3 entries for row
1, 2 entries for row 2, and 1 endry for row 3.
Return to File Formats page
|
|