Class SoGLScreenDevice
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.devices.SoGLScreenDevice
-
public class SoGLScreenDevice extends Inventor
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 functionSoGLDevice.getScreenDevice
. The main screen connected to a GPU can be retrieved from the functionSoGLDevice.getMainScreenDevice
.- See Also:
SoGLDevice
-
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColorDepth()
Returns the number of bits per pixel of the device.SoGLDevice
getGLDevice()
Returns theSoGLDevice
object on which the device is connected.java.lang.String
getName()
Returns an user presentable string representing the device.SbVec2f
getPhysicalSize()
Returns the device's physical size (in millimeters).SbVec2i32
getResolution()
Returns the device's resolution in pixels.-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getColorDepth
public int getColorDepth()
Returns the number of bits per pixel of the device.
-
getPhysicalSize
public SbVec2f getPhysicalSize()
Returns the device's physical size (in millimeters).
-
getResolution
public SbVec2i32 getResolution()
Returns the device's resolution in pixels.
-
getGLDevice
public SoGLDevice getGLDevice()
Returns theSoGLDevice
object on which the device is connected.
-
getName
public java.lang.String getName()
Returns an user presentable string representing the device.
-
-