Class SoGLScreenDevice
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.devices.SoGLScreenDevice
GL Screen device class.
This class is used to query screen properties. You can query, for example, the resolution in pixels of the device. The list of screens connected to a GPU can be retrieved from the function
SoGLDevice.getScreenDevice
. The main screen connected to a GPU can be retrieved from the function SoGLDevice.getMainScreenDevice
.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of bits per pixel of the device.Returns theSoGLDevice
object on which the device is connected.getName()
Returns an user presentable string representing the device.Returns the device's physical size (in millimeters).Returns the device's resolution in pixels.Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
getColorDepth
public int getColorDepth()Returns the number of bits per pixel of the device. -
getPhysicalSize
Returns the device's physical size (in millimeters). -
getResolution
Returns the device's resolution in pixels. -
getGLDevice
Returns theSoGLDevice
object on which the device is connected. -
getName
Returns an user presentable string representing the device.
-