| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| public static float[] | getHorizPupilCenterFromLeft(final float screenWidthInMeters, final float interpupillaryDistanceInMeters)
Return the horizontal pupil center from the left side for both eyes in the range [0..1]. |
| public static void | getSBSUpstreamPMV(final ViewerPose viewerPose, final StereoDeviceRenderer.
frustum near value zNear, final float frustum far value zFar, final float[] float[16] projection matrix result mat4Projection, final float[] float[16] modelview matrix result mat4Modelview)Calculates the Side By Side, SBS, projection- and modelview matrix for one eye. |
| public static float | getVertPupilCenterFromTop(final float screenHeightInMeters, final float pupilCenterFromScreenTopInMeters)
Return the vertical pupil center from the screen top in the range [0..1]. |
| public static String | sensorBitsToString(final int sensorBits)
See |
| public static boolean | |
| public static boolean | |
| public static boolean | usesOrientationSensor(final int sensorBits)
See |
| public static boolean | usesPositionSensor(final int sensorBits)
See |
| public static boolean | |
| public static boolean | |
| public static boolean | usesYawCorrectionSensor(final int sensorBits)
See |
| StereoUtil | back to summary |
|---|---|
| public StereoUtil() | |
| distortionBitsToString | back to summary |
|---|---|
| public static String distortionBitsToString(final int distortionBits) | |
| getHorizPupilCenterFromLeft | back to summary |
|---|---|
| public static float[] getHorizPupilCenterFromLeft(final float screenWidthInMeters, final float interpupillaryDistanceInMeters) Return the horizontal pupil center from the left side for both eyes in the range [0..1].
<-------------left eye------------->| |<-----------right eye-------------->
<------------------------------------screenSizeInMeters.Width----------------------------------->
<------interpupillaryDistanceInMeters------>
<--centerFromLeftInMeters->
^
center of pupil
| |
| getSBSUpstreamPMV | back to summary |
|---|---|
| public static void getSBSUpstreamPMV(final ViewerPose viewerPose, final StereoDeviceRenderer. Calculates the Side By Side, SBS, projection- and modelview matrix for one eye.
This method merely exist as an example implementation to compute the matrices,
which shall be adopted by the
| |
| getVertPupilCenterFromTop | back to summary |
|---|---|
| public static float getVertPupilCenterFromTop(final float screenHeightInMeters, final float pupilCenterFromScreenTopInMeters) Return the vertical pupil center from the screen top in the range [0..1]. | |
| sensorBitsToString | back to summary |
|---|---|
| public static String sensorBitsToString(final int sensorBits) See | |
| usesBarrelDistortion | back to summary |
|---|---|
| public static boolean usesBarrelDistortion(final int distortionBits) | |
| usesChromaticDistortion | back to summary |
|---|---|
| public static boolean usesChromaticDistortion(final int distortionBits) | |
| usesOrientationSensor | back to summary |
|---|---|
| public static boolean usesOrientationSensor(final int sensorBits) See | |
| usesPositionSensor | back to summary |
|---|---|
| public static boolean usesPositionSensor(final int sensorBits) See | |
| usesTimewarpDistortion | back to summary |
|---|---|
| public static boolean usesTimewarpDistortion(final int distortionBits) | |
| usesVignetteDistortion | back to summary |
|---|---|
| public static boolean usesVignetteDistortion(final int distortionBits) | |
| usesYawCorrectionSensor | back to summary |
|---|---|
| public static boolean usesYawCorrectionSensor(final int sensorBits) See | |