de.grogra.imp3d
public class LensProjection extends PerspectiveProjection
| Modifier and Type | Class and Description |
|---|---|
static class |
LensProjection.Type |
| Modifier and Type | Field and Description |
|---|---|
static LensProjection.Type |
$TYPE |
static SCOType.Field |
focalLength$FIELD |
static SCOType.Field |
fStop$FIELD |
static SCOType.Field |
subjectDistance$FIELD |
fieldOfView, fieldOfView$FIELDaspect, aspect$FIELD, sx, sy| Constructor and Description |
|---|
LensProjection() |
LensProjection(float fieldOfView,
float aspect) |
| Modifier and Type | Method and Description |
|---|---|
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() |
clampFieldOfView, getFieldOfView, getRayInViewCoordinates, getScaleAt, getTransformation, setFieldOfView, updatecompleteRay, computeBSDF, getAspect, getScaleX, getScaleYaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic 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
public LensProjection()
public LensProjection(float fieldOfView,
float aspect)
public void generateRandomOrigins(Environment env, RayList out, java.util.Random rnd, Matrix4d deviceToView)
generateRandomOrigins in class Projectionpublic void generateRandomRays(Environment env, Vector3f out, Spectrum specOut, RayList rays, java.util.Random rnd, Matrix4d deviceToView)
generateRandomRays in class Projectionpublic ManageableType getManageableType()
getManageableType in interface ManageablegetManageableType in class PerspectiveProjection