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

java.lang.Object
  extended by org.jscience.physics.waves.optics.rays.RayCaster
      extended by org.jscience.physics.waves.optics.rays.RayCastersCollection

public class RayCastersCollection
extends RayCaster

DOCUMENT ME!


Field Summary
protected  Material mat
          DOCUMENT ME!
protected  java.util.Vector raycasters
          DOCUMENT ME!
 
Fields inherited from class org.jscience.physics.waves.optics.rays.RayCaster
rays
 
Constructor Summary
RayCastersCollection()
          Creates a new RayCastersCollection object.
 
Method Summary
 void append(RayCaster rc)
          DOCUMENT ME!
 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

raycasters

protected java.util.Vector raycasters
DOCUMENT ME!


mat

protected Material mat
DOCUMENT ME!

Constructor Detail

RayCastersCollection

public RayCastersCollection()
Creates a new RayCastersCollection object.

Method Detail

drawRays

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

Overrides:
drawRays in class RayCaster
Parameters:
g - DOCUMENT ME!
d - DOCUMENT ME!

append

public void append(RayCaster rc)
DOCUMENT ME!

Parameters:
rc - DOCUMENT ME!

setInitialMaterial

public void setInitialMaterial(Material mat)
DOCUMENT ME!

Overrides:
setInitialMaterial in class RayCaster
Parameters:
mat - DOCUMENT ME!