gov.nist.microanalysis.NISTMonte
Interface TrajectoryVRML.IRender

All Known Implementing Classes:
CylindricalShape, MultiPlaneShape, SimpleBlock, Sphere, SumShape
Enclosing class:
TrajectoryVRML

public static interface TrajectoryVRML.IRender

Each class (nominally a MonteCarloSS.Shape) is responsible for knowing how to render itself as VRML. Not all Shape(s) need to implement IRender but shapes that don't implement IRender will not be included in the final VRML file.


Method Summary
 void render(TrajectoryVRML.RenderContext vra, java.io.Writer dest)
          render - Renders the object.
 

Method Detail

render

void render(TrajectoryVRML.RenderContext vra,
            java.io.Writer dest)
            throws java.io.IOException
render - Renders the object. Use the scale translation 1.0 micrometer equals 1.0 VRML unit.

Parameters:
vra - The RenderContext object
dest - The Writer into which to output the results
Throws:
java.io.IOException