|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.persistence.ShareableBase de.grogra.imp3d.Projection de.grogra.imp3d.PerspectiveProjection de.grogra.imp3d.LensProjection
public class LensProjection
Nested Class Summary | |
---|---|
static class |
LensProjection.Type
|
Field Summary | |
---|---|
static LensProjection.Type |
$TYPE
|
static SCOType.Field |
focalLength$FIELD
|
static SCOType.Field |
fStop$FIELD
|
static SCOType.Field |
subjectDistance$FIELD
|
Fields inherited from class de.grogra.imp3d.PerspectiveProjection |
---|
fieldOfView, fieldOfView$FIELD |
Fields inherited from class de.grogra.imp3d.Projection |
---|
aspect, aspect$FIELD, sx, sy |
Constructor Summary | |
---|---|
LensProjection()
|
|
LensProjection(float fieldOfView,
float aspect)
|
Method Summary | |
---|---|
void |
generateRandomOrigins(Environment env,
RayList out,
java.util.Random rnd,
Matrix4d deviceToView)
|
void |
generateRandomRays(Environment env,
Vector3f out,
Spectrum specOut,
RayList rays,
java.util.Random rnd,
Matrix4d deviceToView)
|
ManageableType |
getManageableType()
|
Methods inherited from class de.grogra.imp3d.PerspectiveProjection |
---|
clampFieldOfView, getFieldOfView, getRayInViewCoordinates, getScaleAt, getTransformation, setFieldOfView, update |
Methods inherited from class de.grogra.imp3d.Projection |
---|
completeRay, computeBSDF, getAspect, getScaleX, getScaleY |
Methods inherited from class de.grogra.persistence.ShareableBase |
---|
addReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReference |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LensProjection.Type $TYPE
public static final SCOType.Field focalLength$FIELD
public static final SCOType.Field fStop$FIELD
public static final SCOType.Field subjectDistance$FIELD
Constructor Detail |
---|
public LensProjection()
public LensProjection(float fieldOfView, float aspect)
Method Detail |
---|
public void generateRandomOrigins(Environment env, RayList out, java.util.Random rnd, Matrix4d deviceToView)
generateRandomOrigins
in class Projection
public void generateRandomRays(Environment env, Vector3f out, Spectrum specOut, RayList rays, java.util.Random rnd, Matrix4d deviceToView)
generateRandomRays
in class Projection
public ManageableType getManageableType()
getManageableType
in interface Manageable
getManageableType
in class PerspectiveProjection
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |