AmiraMesh

Overview


A file format which can be exported by the L-Neuron software, for use in the Amira data visualisation software.


The file format basically describes a general list of points, and how to draw them.

For example.,
LNeuron


Format specification:

Encoding: ASCII text
Limitations: No spines. No markers.

Lines which begin with a '#' are comments.


1) Header: 

    # AmiraMesh ASCII 1.0

or   

    # AmiraMesh 3D ASCII 2.0


2) Define number primitive to use for drawing: i.e. sample point vertices, and number of lines connecting sample points.  (an extra "virtual" line is used for each terminal)

    define Lines <NUM_L>
    define Vertices <NUM_V>


where NUM_L is the number of lines and NUM_V is the number of vertices,

3) Define how to draw the data

    Parameters {
   
ContentType "HxLineSet"

    }

4) Define data arrays, of the size required for the actual sample data, which follows.

    Vertices { float[3] Coordinates } = @1
    Vertices { float Data } = @2
    Lines { int LineIdx } = @3


5)  XYZ co-ordinate array

    @1 # <NUM_V> xyz Coordinates
    x1 y1 z1
    x2 y2 z2
    ..
    ..
    ..

6) Radius array

    @2 # <NUM_V> width values
    r1
    r2
    ..
    ..
    ..

7) Line segments, indicating connectivity

    @3 # <NUM_L> line segments
    0 1 .... N -1
    (N+1) (N+2) ....  M -1
    ..
    ..
    ..


References

<todo>

Links

L-Neuron -   http://krasnow.gmu.edu/L-Neuron/L-Neuron/home.htm
L-Neuron AmiraMesh documentation -   http://krasnow.gmu.edu/L-Neuron/L-Neuron/LMeasure/help/input.htm

Examples

<todo>