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

public Class StereoDeviceUtil

extends Object
Class Inheritance
Imports
java.util.List, com.jogamp.nativewindow.util.Dimension, .DimensionImmutable, .PointImmutable, .Rectangle, .RectangleImmutable, com.jogamp.newt.Display, .MonitorDevice, .MonitorMode, .NewtFactory, .Screen, com.jogamp.newt.util.MonitorModeUtil, com.jogamp.opengl.util.stereo.StereoDevice

StereoDevice NEWT related utilities.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static MonitorDevice
getMonitorDevice(final StereoDevice stereoDevice, final boolean
if true rotate the MonitorDevice if required.
adjustRotation
)

Returns the StereoDevice's associated MonitorDevice or null, if none is attached.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

StereoDeviceUtilback to summary
public StereoDeviceUtil()

Method Detail

getMonitorDeviceback to summary
public static MonitorDevice getMonitorDevice(final StereoDevice stereoDevice, final boolean adjustRotation)

Returns the StereoDevice's associated MonitorDevice or null, if none is attached.

The returned MonitorDevice's Screen, retrieved via MonitorDevice#getScreen(), has been natively created via Screen#addReference() and caller shall ensure Screen#removeReference() will be called when no more in use.

If adjustRotation is true and the StereoDevice requires rotation, the MonitorDevice will be rotated.

Parameters
stereoDevice:StereoDevice

the StereoDevice

adjustRotation:boolean

if true rotate the MonitorDevice if required.