|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.vecmath.Tuple3d
javax.vecmath.Point3d
optics.Position
optics.SourcePoint
optics.LambertianPoint
public class LambertianPoint
Class to implement a Lambertian point source with a specified preferred direction.
Field Summary |
---|
Fields inherited from class optics.SourcePoint |
---|
spectrum |
Fields inherited from class javax.vecmath.Tuple3d |
---|
x, y, z |
Constructor Summary | |
---|---|
LambertianPoint(Position p,
Director u,
double brightness)
Constructor to form Lambertian point specifying position and direction of fixed brightness |
|
LambertianPoint(Position p,
Director u,
WaveLengthSpectrum s)
Constructor for a Lambertian point specifying position, direction and spectrum. |
|
LambertianPoint(Position p,
double brightness)
Constructor to form Lambertian point specifying position and brightness, direction defaults to z axis |
|
LambertianPoint(Position p,
WaveLengthSpectrum s)
Constructor for Lambertian point specifying position and spectrum, direction defaults to along z axis |
Method Summary | |
---|---|
LambertianPoint |
clone()
Method to get a clone of the current Point. |
Director |
getDirection()
Public method to get the value of the source direction |
double |
getIntensity(Director v,
double lambda)
Public double to get the intensity is a specified direction |
void |
setDirection(Director u)
Method to set source preferred direction |
Methods inherited from class optics.SourcePoint |
---|
getIntensity, getSpectrum, setSpectrum, toString |
Methods inherited from class optics.Position |
---|
add, direction, fromString, fromTokens, getPoint2d, length, length, lengthSquared, lengthSquared, max, min, propagate |
Methods inherited from class javax.vecmath.Point3d |
---|
distance, distanceL1, distanceLinf, distanceSquared, project |
Methods inherited from class javax.vecmath.Tuple3d |
---|
absolute, absolute, add, add, clamp, clamp, clamp, clamp, clampMax, clampMax, clampMax, clampMax, clampMin, clampMin, clampMin, clampMin, epsilonEquals, equals, equals, get, get, getX, getY, getZ, hashCode, interpolate, interpolate, interpolate, interpolate, negate, negate, scale, scale, scaleAdd, scaleAdd, scaleAdd, set, set, set, set, setX, setY, setZ, sub, sub |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LambertianPoint(Position p, Director u, WaveLengthSpectrum s)
p
- the point locationu
- the source directions
- the source spectral responsepublic LambertianPoint(Position p, WaveLengthSpectrum s)
p
- the point locations
- the source spectral responsepublic LambertianPoint(Position p, Director u, double brightness)
p
- the point locationu
- the source directionbrightness
- the source brightnesspublic LambertianPoint(Position p, double brightness)
p
- the point locationbrightness
- the source brightnessMethod Detail |
---|
public LambertianPoint clone()
clone
in class SourcePoint
LambertianPoint
clone of Pointpublic void setDirection(Director u)
u
- the source directionpublic Director getDirection()
Director3d
copy of the position pointpublic double getIntensity(Director v, double lambda)
getIntensity
in class SourcePoint
v
- the directionlambda
- the wavelength
double
itnesity at specified wavelnegth
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |