|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoptics.Optics
optics.Mask
optics.CircularMask
optics.AnnularMask
public class AnnularMask
Method to implement an annular mask.
| Field Summary | |
|---|---|
protected double |
innerRadius
Outer inner radius of mask. |
| Fields inherited from class optics.CircularMask |
|---|
outerRadius |
| Fields inherited from class optics.Mask |
|---|
centre |
| Fields inherited from class optics.Optics |
|---|
DEFAULT_WAVELENGTH, errorStream, fmt, MICRONS |
| Constructor Summary | |
|---|---|
AnnularMask(double inner,
double outer)
Form a annular mask of specified inner and outer radius with a default origin at (0,0). |
|
AnnularMask(double inner,
double outer,
javax.vecmath.Point2d c)
Form a annular mask of specified inner and outer radius with specifed centre. |
|
| Method Summary | |
|---|---|
double |
getInnerRadius()
Method to get the inner radius |
protected boolean |
isClearAbs(double x,
double y)
Method to define the annular mask |
void |
scale(double a)
Method to scale by a factor a |
void |
setInnerRadius(double r)
Method to set the radius of the mask |
| Methods inherited from class optics.CircularMask |
|---|
getOuterRadius, setOuterRadius |
| Methods inherited from class optics.Mask |
|---|
getCentre, isClear, isClear, setCentre, setCentre |
| Methods inherited from class optics.Optics |
|---|
getDefaultWaveLength, getErrorStream, getFormatString, getName, getStaticName, getVersion, printError, setDefaultWaveLength, setErrorStream, setFormatString, setMicrons |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double innerRadius
| Constructor Detail |
|---|
public AnnularMask(double inner,
double outer)
inner - the inner radiusouter - the outer radius
public AnnularMask(double inner,
double outer,
javax.vecmath.Point2d c)
inner - the inner radiusouter - the outer radiusc - the centre| Method Detail |
|---|
public void setInnerRadius(double r)
r - the radiuspublic double getInnerRadius()
double the inner radiuspublic void scale(double a)
scale in class CircularMaska - the scale factor
protected boolean isClearAbs(double x,
double y)
isClearAbs in class CircularMaskx - the x locationy - the y location.
boolean true if transparent
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||