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 its ViewerPose.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final float
    Vertical distance from middle-line to pupil in meter.
    final float
    IPD related horizontal distance from nose to pupil in meter.
    final float
    Z-axis eye relief in meter.
    Field of view in both directions, may not be centered, either FovHVHalves.inTangents or radians.
    final int
    Eye number, 0 for the left eye and 1 for the right eye.
    final float[]
    float[3] eye position vector used to define eye height in meter relative to actor.
  • Constructor Summary

    Constructors
    Constructor
    Description
    EyeParameter(int number, float[] positionOffset, FovHVHalves fovhv, float distNoseToPupil, float verticalDelta, float eyeRelief)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final String
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • number

      public final int number
      Eye number, 0 for the left eye and 1 for the right eye.
    • positionOffset

      public final float[] positionOffset
      float[3] 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, either FovHVHalves.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 Details

    • EyeParameter

      public EyeParameter(int number, float[] positionOffset, FovHVHalves fovhv, float distNoseToPupil, float verticalDelta, float eyeRelief)
  • Method Details