SoGLScreenDevice Class Reference

VSG extension GL Screen device class More...

#include <Inventor/devices/SoGLScreenDevice.h>

List of all members.

Public Member Functions

SbVec2f getPhysicalSize () const
SbVec2i32 getResolution () const
unsigned int getColorDepth () const
SbString getName () const
SoGLDevicegetGLDevice () const

Friends

class SoGLDevice
std::ostream & operator<< (std::ostream &os, const SoGLScreenDevice &dev)

Detailed Description

VSG extension 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

SoGLDevice


Member Function Documentation

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.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const SoGLScreenDevice dev 
) [friend]

Prints information about this device.

friend class SoGLDevice [friend]

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 28 Jun 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/