This implementation of marching
cubes used a modified version with 23 base cases (instead of the original
15 in the first published version)
You can download the source code here..
The program was written in C++ and
uses the MFC (for the windows interface). The input file is a three dimensional
array of integers stored in a text file, describing the density repatriation
inside a uniform cube. The data is typically obtained by a CAT scan, or other
three dimensional scanning device.