A standalone version using wxWindows is in the works. Tir2 calculates Ar ion laser write beam geometry for total internal reflection. The program compensates for changes in index and for changes in thickness. The program finds record beam angles which will produce TIR of the playback beam for both the intact recording medium and one which expands upon processing. The K vector is used to determine the write beam angles.
All angles are relative to the hologram input surface normal.
I just went ahead and added S.B.'s code to this class.