Top Description Fields Constructors Methods
com.jogamp.opengl.util.stereo

public final Class EyeParameter

extends Object
Class Inheritance
Imports
com.jogamp.opengl.math.FovHVHalves

Constant single eye parameter of the viewer, relative to its ViewerPose.

Field Summary

Modifier and TypeField and Description
public final float
distMiddleToPupilY

Vertical distance from middle-line to pupil in meter.

public final float
distNoseToPupilX

IPD related horizontal distance from nose to pupil in meter.

public final float
eyeReliefZ

Z-axis eye relief in meter.

public final FovHVHalves
fovhv

Field of view in both directions, may not be centered, either FovHVHalves#inTangents or radians.

public final int
number

Eye number, 0 for the left eye and 1 for the right eye.

public final float[]
positionOffset

float[3] eye position vector used to define eye height in meter relative to actor.

Constructor Summary

AccessConstructor and Description
public
EyeParameter(final int number, final float[] positionOffset, final FovHVHalves fovhv, final float distNoseToPupil, final float verticalDelta, final float eyeRelief)

Method Summary

Modifier and TypeMethod and Description
public final String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

distMiddleToPupilYback to summary
public final float distMiddleToPupilY

Vertical distance from middle-line to pupil in meter.

distNoseToPupilXback to summary
public final float distNoseToPupilX

IPD related horizontal distance from nose to pupil in meter.

eyeReliefZback to summary
public final float eyeReliefZ

Z-axis eye relief in meter.

fovhvback to summary
public final FovHVHalves fovhv

Field of view in both directions, may not be centered, either FovHVHalves#inTangents or radians.

numberback to summary
public final int number

Eye number, 0 for the left eye and 1 for the right eye.

positionOffsetback to summary
public final float[] positionOffset

float[3] eye position vector used to define eye height in meter relative to actor.

Constructor Detail

EyeParameterback to summary
public EyeParameter(final int number, final float[] positionOffset, final FovHVHalves fovhv, final float distNoseToPupil, final float verticalDelta, final float eyeRelief)

Method Detail

toStringback to summary
public final String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object