Click or drag to resize
SoGLGraphicDevice Class

Represents an OpenGL graphics device.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.ComponentsSoGraphicDevice
      OIV.Inventor.ComponentsSoGLGraphicDevice

Namespace: OIV.Inventor.Components
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public class SoGLGraphicDevice : SoGraphicDevice

The SoGLGraphicDevice type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetBestGraphicConfig

Returns the best graphics configuration according to the user's specifications.

(Inherited from SoGraphicDevice.)
Public methodGetDefaultGraphicConfig

Returns the default graphics configuration.

(Inherited from SoGraphicDevice.)
Public methodGetGraphicConfig(UInt64)

Returns the n-th of all the graphics configurations supported by this device.

(Inherited from SoGraphicDevice.)
Public methodGetGraphicConfig(SoGraphicConfigTemplate, UInt64)

Returns the best nth of all the graphics configurations supported by this device and sorted according to the given template.

(Inherited from SoGraphicDevice.)
Public methodGetGraphicConfigTemplate

Returns a template corresponding to the given graphics configuration.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetNum

Returns the number of the graphics configurations supported by this device.

(Inherited from SoGraphicDevice.)
Public methodGetNum(SoGraphicConfigTemplate)

Returns the number of the graphics configurations supported by this device and the given template.

(Inherited from SoGraphicDevice.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This class is an encapsulation of a real graphics device for OpenGL. It could be:

  • a Microsoft Windows device context (HDC)

  • an X Windows graphics display (Display *)

This class provides convenience methods to get the system-dependent identifier, i.e., the HDC or the Display *. It provides methods to query the supported OpenGL graphics configurations and to sort them according to the preferences specified in a graphics template.

See Also