org.jscience.physics.waves.optics.rays
Class RayCaster

java.lang.Object
  extended by org.jscience.physics.waves.optics.rays.RayCaster
Direct Known Subclasses:
ParallelRays, PointSource, RayCastersCollection, ThreeRays

public class RayCaster
extends java.lang.Object

DOCUMENT ME!


Field Summary
protected  Material mat
          DOCUMENT ME!
protected  java.util.Vector rays
          DOCUMENT ME!
 
Constructor Summary
RayCaster()
          Creates a new RayCaster object.
 
Method Summary
 void drawRays(java.awt.Graphics g, OpticalDevice d)
          DOCUMENT ME!
 void setInitialMaterial(Material mat)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rays

protected java.util.Vector rays
DOCUMENT ME!


mat

protected Material mat
DOCUMENT ME!

Constructor Detail

RayCaster

public RayCaster()
Creates a new RayCaster object.

Method Detail

drawRays

public void drawRays(java.awt.Graphics g,
                     OpticalDevice d)
DOCUMENT ME!

Parameters:
g - DOCUMENT ME!
d - DOCUMENT ME!

setInitialMaterial

public void setInitialMaterial(Material mat)
DOCUMENT ME!

Parameters:
mat - DOCUMENT ME!