|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoptics.Optics
optics.Ray
optics.RayVector
optics.IntensityRay
public class IntensityRay
Class to implement a IntensityRay being the basis
ray traced through optical systems used in incoherent light.
Most of the useful propagation methods are defined in
the RayVector super class.
| Field Summary |
|---|
| Fields inherited from class optics.RayVector |
|---|
currentIndex, director, opticalPathLength, position |
| Fields inherited from class optics.Ray |
|---|
intensity, monitor, waveLength |
| Fields inherited from class optics.Optics |
|---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
| Constructor Summary | |
|---|---|
IntensityRay()
Form a default Ray at position (0,0,0) along the z-axis with wavelength set to Constants.GREEN and
intensity of 1.0. |
|
IntensityRay(IntensityRay ray)
Form a Ray with parameters specified by a IntensityRay,
all parameters are copied, (including the current refractive index)
with position and direction cloned. |
|
IntensityRay(Position p,
Director u,
double lambda)
Form an IntensityRay in air
with intensity defaulted to 1.0 |
|
IntensityRay(Position p,
Director u,
double lambda,
double i)
Form an IntensityRay in air
with all parameters specified. |
|
IntensityRay(SourcePoint s,
Director u,
double lambda)
Form an IntensityRay with initial position and intensity
specified by a SourcePoint. |
|
| Method Summary | |
|---|---|
IntensityRay |
clone()
Form a clone of the current ray. |
boolean |
propagateThrough(OpticalImage im)
Overload or method to propagate through an OpticalSurface
for the special case of an OpticalImage. |
java.lang.String |
toString()
Method to return information as a String |
| Methods inherited from class optics.RayVector |
|---|
addPathLength, distance, getCurrentIndex, getDirector, getNormalisedOpticalPathLength, getOpticalPathLength, getPosition, isInvalid, pointInPlane, propagate, propagate, propagateThrough, propagateThrough, reflection, refraction, setCurrentIndex, setDirector, setInvalid, setOpticalPathLength, setPosition |
| Methods inherited from class optics.Ray |
|---|
addMonitor, clearMonitor, getIntensity, getMonitor, getWaveLength, isValid, monitorUpdate, setIntensity, setWaveLength |
| Methods inherited from class optics.Optics |
|---|
getDefaultWaveLength, getErrorStream, getFormatString, getName, getStaticName, getVersion, printError, setDefaultWaveLength, setErrorStream, setFormatString, setMicrons |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IntensityRay(Position p,
Director u,
double lambda,
double i)
IntensityRay in air
with all parameters specified.
p - the initial Positionu - the initial Directorlambda - the wavelengthi - the intensity
public IntensityRay(Position p,
Director u,
double lambda)
IntensityRay in air
with intensity defaulted to 1.0
p - the positionu - the directorlambda - the wavelength
public IntensityRay(SourcePoint s,
Director u,
double lambda)
IntensityRay with initial position and intensity
specified by a SourcePoint.
s - the sourcepointu - the directorlambda - wavelengthpublic IntensityRay()
Constants.GREEN and
intensity of 1.0.
public IntensityRay(IntensityRay ray)
IntensityRay,
all parameters are copied, (including the current refractive index)
with position and direction cloned. The
RayMonitor is NOT copied.
ray - the specifying ray.| Method Detail |
|---|
public IntensityRay clone()
RayMonitor are copied.
clone in class java.lang.ObjectIntensityRay cloned raypublic boolean propagateThrough(OpticalImage im)
OpticalSurface
for the special case of an OpticalImage. It operates
exaclty as the normal propgateThrough execpt the
ray intensity is added to the intersection point on the
OpticalImage.
im - the OpticalImage
boolean success or faiure to propagate.public java.lang.String toString()
toString in class RayVectorString formatted String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||