Package com.jogamp.opengl.util.stereo
Class EyeParameter
- java.lang.Object
-
- com.jogamp.opengl.util.stereo.EyeParameter
-
public final class EyeParameter extends Object
Constant single eye parameter of the viewer, relative to itsViewerPose
.
-
-
Field Summary
Fields Modifier and Type Field Description float
distMiddleToPupilY
Vertical distance from middle-line to pupil in meter.float
distNoseToPupilX
IPD related horizontal distance from nose to pupil in meter.float
eyeReliefZ
Z-axis eye relief in meter.FovHVHalves
fovhv
Field of view in both directions, may not be centered, eitherFovHVHalves.inTangents
or radians.int
number
Eye number,0
for the left eye and1
for the right eye.Vec3f
positionOffset
eye position vector used to define eye height in meter relative to actor.
-
Constructor Summary
Constructors Constructor Description EyeParameter(int number, Vec3f positionOffset, FovHVHalves fovhv, float distNoseToPupil, float verticalDelta, float eyeRelief)
-
-
-
Field Detail
-
number
public final int number
Eye number,0
for the left eye and1
for the right eye.
-
positionOffset
public final Vec3f positionOffset
eye position vector used to define eye height in meter relative to actor.
-
fovhv
public final FovHVHalves fovhv
Field of view in both directions, may not be centered, eitherFovHVHalves.inTangents
or radians.
-
distNoseToPupilX
public final float distNoseToPupilX
IPD related horizontal distance from nose to pupil in meter.
-
distMiddleToPupilY
public final float distMiddleToPupilY
Vertical distance from middle-line to pupil in meter.
-
eyeReliefZ
public final float eyeReliefZ
Z-axis eye relief in meter.
-
-
Constructor Detail
-
EyeParameter
public EyeParameter(int number, Vec3f positionOffset, FovHVHalves fovhv, float distNoseToPupil, float verticalDelta, float eyeRelief)
-
-