Class 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
      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.
      com.jogamp.math.FovHVHalves fovhv
      Field of view in both directions, may not be centered, either FovHVHalves.inTangents or radians.
      int number
      Eye number, 0 for the left eye and 1 for the right eye.
      com.jogamp.math.Vec3f positionOffset
      eye position vector used to define eye height in meter relative to actor.
    • Constructor Summary

      Constructors 
      Constructor Description
      EyeParameter​(int number, com.jogamp.math.Vec3f positionOffset, com.jogamp.math.FovHVHalves fovhv, float distNoseToPupil, float verticalDelta, float eyeRelief)  
    • Field Detail

      • number

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

        public final com.jogamp.math.Vec3f positionOffset
        eye position vector used to define eye height in meter relative to actor.
      • fovhv

        public final com.jogamp.math.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 Detail

      • EyeParameter

        public EyeParameter​(int number,
                            com.jogamp.math.Vec3f positionOffset,
                            com.jogamp.math.FovHVHalves fovhv,
                            float distNoseToPupil,
                            float verticalDelta,
                            float eyeRelief)