UCF Format

Universal Contour Files (UCF) is a format devised at LONI. It is an ascii based file in the following format:

Header

<width=>
384
<height=>
256
<xrange=>
-200.000000 200.000000
<yrange=>
-200.000000 200.000000
<zrange=>
-200.000000 200.000000
<levels>
255

Immediately following the header are contours planes

Contour

<level number=>
0.000000
<point_num=>
256
<contour_data=>
-28.192158 0.121569 -43.811764 6.325370
   ...
   ...
   ...
<end of level>

End

Finally, a UCF file is ended with

<end>

There should be no empty lines as it may break some parsers, including SHIVA.