|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.grogra.persistence.ShareableBase
de.grogra.imp3d.Projection
de.grogra.imp3d.PerspectiveProjection
public class PerspectiveProjection
| Nested Class Summary | |
|---|---|
static class |
PerspectiveProjection.Type
|
| Field Summary | |
|---|---|
static PerspectiveProjection.Type |
$TYPE
|
protected float |
fieldOfView
|
static SCOType.Field |
fieldOfView$FIELD
|
| Fields inherited from class de.grogra.imp3d.Projection |
|---|
aspect, aspect$FIELD, sx, sy |
| Constructor Summary | |
|---|---|
PerspectiveProjection()
|
|
PerspectiveProjection(float fieldOfView,
float aspect)
|
|
| Method Summary | |
|---|---|
static float |
clampFieldOfView(float fieldOfView)
|
float |
getFieldOfView()
|
ManageableType |
getManageableType()
|
protected void |
getRayInViewCoordinates(float x,
float y,
Point3d origin,
Vector3d direction,
Matrix4d deviceToView,
Tuple2d densities)
|
float |
getScaleAt(float z)
|
protected void |
getTransformation(float near,
float far,
Matrix4d viewToClip,
Matrix4d deviceToView)
|
void |
setFieldOfView(float fieldOfView)
|
protected void |
update()
|
| Methods inherited from class de.grogra.imp3d.Projection |
|---|
completeRay, computeBSDF, generateRandomOrigins, generateRandomRays, 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 PerspectiveProjection.Type $TYPE
protected float fieldOfView
public static final SCOType.Field fieldOfView$FIELD
| Constructor Detail |
|---|
public PerspectiveProjection()
public PerspectiveProjection(float fieldOfView,
float aspect)
| Method Detail |
|---|
public static float clampFieldOfView(float fieldOfView)
public float getFieldOfView()
public ManageableType getManageableType()
protected void getRayInViewCoordinates(float x,
float y,
Point3d origin,
Vector3d direction,
Matrix4d deviceToView,
Tuple2d densities)
getRayInViewCoordinates in class Projectionpublic float getScaleAt(float z)
getScaleAt in class Projection
protected void getTransformation(float near,
float far,
Matrix4d viewToClip,
Matrix4d deviceToView)
getTransformation in class Projectionpublic void setFieldOfView(float fieldOfView)
protected void update()
update in class Projection
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||