Source

Source for the thorax example

You can download the complete source here: src.zip. Next to the source class itself, Editable_Volume.java, it contains the compiled class file, the required jar files (ij.jar, ImageJ_3D_Viewer.jar) and the required resource files (thorax.tif and thorax.stream).

An explanation of the source code can be found in Supplementary.pdf

Compiling

To compile the source code, go to the folder in which you unzipped src.zip. Then issue the following command
~$ javac -cp .:ij.jar:ImageJ_3D_Viewer.jar Editable_Volume.java

Running

To run the program, again ensure that you are in the folder in which you unpacked src.zip. Issue:
~$ java -cp .:ij.jar:ImageJ_3D_Viewer.jar Editable_Volume

Running via Java webstart

You can also run the application conveniantly via webstart: thorax.jnlp

Demo movie