|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoptics.Optics
optics.OpticalSurface
optics.OpticalPlane
optics.Aperture
public abstract class Aperture
Abstarct class to represent an aperture being
an OpticalPlane
which will either
pass a ray or block it.
Field Summary | |
---|---|
protected Mask |
mask
The aperture mask |
Fields inherited from class optics.OpticalPlane |
---|
blockedNormal, maxRadius, planeNormal |
Fields inherited from class optics.OpticalSurface |
---|
CLEAR, group, REFLECTING, REFRACTING, refractiveIndex, surfacePoint, surfaceType |
Fields inherited from class optics.Optics |
---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
Constructor Summary | |
---|---|
Aperture()
|
Method Summary | |
---|---|
Mask |
getMask()
Method to get the current mask |
Director |
getNormal(Position r)
Method to get the normal, will be (0,0,1) if in the clear regions of the aperture, otherwise will be sey to inValid() |
void |
scale(double a)
Method to scale the aperture. |
void |
setMask(Mask m)
Method to set the aperture mask |
Methods inherited from class optics.OpticalPlane |
---|
clone, distance, draw, getBounds, getCurvature, getEdgePlane, getMaxRadius, getPlaneNormal, pointInPlane, setMaxRadius, setPlaneNormal, toString |
Methods inherited from class optics.OpticalSurface |
---|
distance, edit, entranceAperture, exitAperture, fromString, fromTokens, getGroup, getIndex, getNormal, getPoint, getRefractiveIndex, getSurfacePoint, getSurfaceType, getSurfaceType, makeStandAlone, pointInPlane, setGroup, setRefractiveIndex, setSurfacePoint, setSurfaceType |
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 |
Field Detail |
---|
protected Mask mask
Constructor Detail |
---|
public Aperture()
Method Detail |
---|
public void setMask(Mask m)
m
- the maskpublic Mask getMask()
Mask
the current maskpublic void scale(double a)
scale
in class OpticalPlane
a
- the scale factor.public Director getNormal(Position r)
getNormal
in class OpticalPlane
r
- the position on the surface
Director
normal director.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |