| Modifier and Type | Field and Description |
|---|---|
| public final GenericStereoDeviceConfig | |
| public static final GenericStereoDeviceConfig | config01Mono01
A mono view configuration DK1, only one eye is supported |
| public static final GenericStereoDeviceConfig | config01Mono02
A mono view configuration DK2, only one eye is supported |
| public static final GenericStereoDeviceConfig | config02StereoSBS01
A default stereo SBS view configuration DK1 |
| public static final GenericStereoDeviceConfig | config02StereoSBS02
A default stereo SBS view configuration DK2 |
| public static final GenericStereoDeviceConfig | config03StereoSBSLense01
A default stereo SBS lense view configuration DK1, utilizing similar settings as OculusVR DK1 |
| public static final GenericStereoDeviceConfig | config03StereoSBSLense02
A default stereo SBS lense view configuration DK2, utilizing similar settings as OculusVR DK1 |
| private static final GenericStereoDeviceConfig[] | |
| private final FovHVHalves[] | |
| public final int | |
| private final StereoDeviceFactory | |
| private boolean | |
| public final Point | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | GenericStereoDevice(final StereoDeviceFactory factory, final int deviceIndex, final StereoDeviceConfig customConfig)
|
| config | back to summary |
|---|---|
| public final GenericStereoDeviceConfig config | |
| config01Mono01 | back to summary |
|---|---|
| public static final GenericStereoDeviceConfig config01Mono01 A mono view configuration DK1, only one eye is supported | |
| config01Mono02 | back to summary |
|---|---|
| public static final GenericStereoDeviceConfig config01Mono02 A mono view configuration DK2, only one eye is supported | |
| config02StereoSBS01 | back to summary |
|---|---|
| public static final GenericStereoDeviceConfig config02StereoSBS01 A default stereo SBS view configuration DK1 | |
| config02StereoSBS02 | back to summary |
|---|---|
| public static final GenericStereoDeviceConfig config02StereoSBS02 A default stereo SBS view configuration DK2 | |
| config03StereoSBSLense01 | back to summary |
|---|---|
| public static final GenericStereoDeviceConfig config03StereoSBSLense01 A default stereo SBS lense view configuration DK1, utilizing similar settings as OculusVR DK1 | |
| config03StereoSBSLense02 | back to summary |
|---|---|
| public static final GenericStereoDeviceConfig config03StereoSBSLense02 A default stereo SBS lense view configuration DK2, utilizing similar settings as OculusVR DK1 | |
| configs | back to summary |
|---|---|
| private static final GenericStereoDeviceConfig[] configs | |
| defaultEyeFov | back to summary |
|---|---|
| private final FovHVHalves[] defaultEyeFov | |
| deviceIndex | back to summary |
|---|---|
| public final int deviceIndex | |
| factory | back to summary |
|---|---|
| private final StereoDeviceFactory factory | |
| sensorsStarted | back to summary |
|---|---|
| private boolean sensorsStarted | |
| surfacePos | back to summary |
|---|---|
| public final Point surfacePos | |
| usedSensorBits | back to summary |
|---|---|
| private int usedSensorBits | |
| GenericStereoDevice | back to summary |
|---|---|
| public GenericStereoDevice(final StereoDeviceFactory factory, final int deviceIndex, final StereoDeviceConfig customConfig) | |
| createRenderer | back to summary |
|---|---|
| public final StereoDeviceRenderer createRenderer(final int distortionBits, final int textureCount, final float[] eyePositionOffset, final FovHVHalves[] eyeFov, final float pixelsPerDisplayPixel, final int textureUnit) Implements com. Doc from com. Create a new
| |
| dispose | back to summary |
|---|---|
| public final void dispose() Implements com. Doc from com. Disposes this
Implementation shall
| |
| getDefaultEyePositionOffset | back to summary |
|---|---|
| public float[] getDefaultEyePositionOffset() Implements com. Doc from com. Return the device default eye position offset for Result is an array of float values for
| |
| getDefaultFOV | back to summary |
|---|---|
| public final FovHVHalves[] getDefaultFOV() Implements com. Doc from com. Returns the device default Monoscopic devices return an array length of one, without the value for the right-eye!
| |
| getEnabledSensorBits | back to summary |
|---|---|
| public final int getEnabledSensorBits() Implements com. Doc from com. Returns the actual used sensor capability bits, e.g.
| |
| getEyeRenderOrder | back to summary |
|---|---|
| public int[] getEyeRenderOrder() Implements com. Doc from com. Returns an array of the preferred eye rendering order. The array length reflects the supported eye count. Monoscopic devices only support one eye, where stereoscopic device two eyes.
| |
| getFactory | back to summary |
|---|---|
| public final StereoDeviceFactory getFactory() Implements com. Doc from com. Return the factory used to create this device.
| |
| getLocationSensorParams | back to summary |
|---|---|
| public final LocationSensorParameter getLocationSensorParams() Implements com. Doc from com. Returns the
| |
| getMinimumDistortionBits | back to summary |
|---|---|
| public int getMinimumDistortionBits() Implements com. Doc from com. Returns the minimum distortion compensation bits as required by the
Minimum distortion compensation bits are being enforced by the
| |
| getPosition | back to summary |
|---|---|
| public final PointImmutable getPosition() Implements com. Doc from com. If operation within a device spanning virtual desktop, returns the device position. Otherwise simply 0/0.
| |
| getRecommendedDistortionBits | back to summary |
|---|---|
| public int getRecommendedDistortionBits() Implements com. Doc from com. Returns the recommended distortion compensation bits for the User shall use the recommended distortion compensation to achieve a distortion free view.
| |
| getRequiredRotation | back to summary |
|---|---|
| public int getRequiredRotation() Implements com. Doc from com. Returns the CCW rotation as required by this display device.
| |
| getSensorsStarted | back to summary |
|---|---|
| public boolean getSensorsStarted() Implements com. Doc from com. Return true if sensors have been started, false otherwise.
| |
| getSupportedDistortionBits | back to summary |
|---|---|
| public int getSupportedDistortionBits() Implements com. Doc from com. Returns the supported distortion compensation of the
| |
| getSupportedSensorBits | back to summary |
|---|---|
| public final int getSupportedSensorBits() Implements com. Doc from com. Returns the supported sensor capability bits, e.g.
| |
| getSurfaceSize | back to summary |
|---|---|
| public final DimensionImmutable getSurfaceSize() Implements com. Doc from com. Returns the required surface size in pixel in target space.
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements com. Doc from com. Returns
| |
| resetLocationSensorOrigin | back to summary |
|---|---|
| public final void resetLocationSensorOrigin() Implements com. Doc from com. Sets the location sensor's origin of this device to the current position.
In case
| |
| setSurfacePosition | back to summary |
|---|---|
| public void setSurfacePosition(final int x, final int y) | |
| startSensors | back to summary |
|---|---|
| public final boolean startSensors(final int desiredSensorBits, final int requiredSensorBits) Implements com. Doc from com. Start desired and required sensors. Returns true if action was successful, otherwise false.
Method fails if required sensors are not
| |
| startSensorsImpl | back to summary |
|---|---|
| protected boolean startSensorsImpl(final boolean start, final int desiredSensorBits, final int requiredSensorBits) | |
| stopSensors | back to summary |
|---|---|
| public final boolean stopSensors() Implements com. Doc from com. Stop sensors. Returns true if action was successful, otherwise false.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |