GL Screen device class More...
#include <Inventor/devices/SoGLScreenDevice.h>
Public Member Functions | |
SbVec2f | getPhysicalSize () const |
Returns the device's physical size (in millimeters). | |
SbVec2i32 | getResolution () const |
Returns the device's resolution in pixels. | |
unsigned int | getColorDepth () const |
Returns the number of bits per pixel of the device. | |
SbString | getName () const |
Returns an user presentable string representing the device. | |
SoGLDevice * | getGLDevice () const |
Returns the SoGLDevice object on which the device is connected. | |
Friends | |
class | SoGLDevice |
std::ostream & | operator<< (std::ostream &os, const SoGLScreenDevice &dev) |
Prints information about this device. | |
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.
Definition at line 48 of file SoGLScreenDevice.h.
unsigned int SoGLScreenDevice::getColorDepth | ( | ) | const |
Returns the number of bits per pixel of the device.
SoGLDevice * SoGLScreenDevice::getGLDevice | ( | ) | const |
Returns the SoGLDevice object on which the device is connected.
SbString SoGLScreenDevice::getName | ( | ) | const |
Returns an user presentable string representing the device.
SbVec2f SoGLScreenDevice::getPhysicalSize | ( | ) | const |
Returns the device's physical size (in millimeters).
SbVec2i32 SoGLScreenDevice::getResolution | ( | ) | const |
Returns the device's resolution in pixels.
|
friend |
Prints information about this device.
Definition at line 84 of file SoGLScreenDevice.h.
|
friend |
Definition at line 50 of file SoGLScreenDevice.h.