de.grogra.imp3d
public class ParallelProjection extends Projection
| Modifier and Type | Class and Description |
|---|---|
static class |
ParallelProjection.Type |
| Modifier and Type | Field and Description |
|---|---|
static ParallelProjection.Type |
$TYPE |
protected float |
width |
static SCOType.Field |
width$FIELD |
aspect, aspect$FIELD, sx, sy| Constructor and Description |
|---|
ParallelProjection() |
ParallelProjection(float width,
float aspect) |
| Modifier and Type | Method and Description |
|---|---|
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) |
float |
getWidth() |
protected void |
update() |
completeRay, computeBSDF, generateRandomOrigins, generateRandomRays, getAspect, getScaleX, getScaleYaddReference, appendReferencesTo, fieldModified, getProvider, getStamp, initProvider, manageableReadResolve, manageableWriteReplace, removeReferencepublic static final ParallelProjection.Type $TYPE
protected float width
public static final SCOType.Field width$FIELD
public ParallelProjection()
public ParallelProjection(float width,
float aspect)
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 Projectionprotected void getTransformation(float near,
float far,
Matrix4d viewToClip,
Matrix4d deviceToView)
getTransformation in class Projectionpublic float getWidth()
protected void update()
update in class Projection