Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
SoGLGraphicDevicePeer.h File Reference
#include <Inventor/components/SoGLGraphicDevice.h>
#include <Inventor/components/SoGraphicConfig.h>
#include <Inventor/components/SoGLGraphicConfigTemplate.h>
#include <Inventor/STL/algorithm>
#include <Inventor/STL/functional>
#include <Inventor/STL/set>
#include <Inventor/STL/vector>

Go to the source code of this file.

Typedefs

typedef std::vector< SoGraphicConfig * > SoGraphicConfigList
 
typedef std::set< int, std::less< int > > SoSamplesList
 

Functions

virtual SoGraphicConfigListgetGraphicConfigsList ()
  VSG extension Defines an OpenGL graphics device.
 
virtual SoSamplesListgetSamplesParseTab ()
 Returns the list of all the available number of samples supported by this OpenGL graphics device.
 
virtual SoGLGraphicConfigTemplate getDefaultGraphicConfigTemplate ()=0
 Returns the default template used by Open Inventor.
 
virtual SoGLGraphicConfigTemplate getGraphicConfigTemplate (SoGLGraphicConfig *graphicConfig)=0
 Returns a template according to the given graphics configuration.
 
virtual SbGlContextHelper::Display getDisplay ()=0
 Returns the Display corresponding to this graphics device.
 
virtual SoGLGraphicDevice::DeviceType getType ()=0
 Returns the type of device.
 

Typedef Documentation

◆ SoGraphicConfigList

typedef std::vector<SoGraphicConfig *> SoGraphicConfigList

Definition at line 40 of file SoGLGraphicDevicePeer.h.

◆ SoSamplesList

typedef std::set<int, std::less<int> > SoSamplesList

Definition at line 41 of file SoGLGraphicDevicePeer.h.

Function Documentation

◆ getDefaultGraphicConfigTemplate()

virtual SoGLGraphicConfigTemplate getDefaultGraphicConfigTemplate ( )
pure virtual

Returns the default template used by Open Inventor.

◆ getDisplay()

virtual SbGlContextHelper::Display getDisplay ( )
pure virtual

Returns the Display corresponding to this graphics device.

◆ getGraphicConfigsList()

virtual SoGraphicConfigList & getGraphicConfigsList ( )
virtual

VSG extension Defines an OpenGL graphics device.

This class is an abstraction of the internal part of a graphics device for OpenGL. It could be based on:

  • either an MS-Windows handler device context (HDC),
  • or X-windows graphics display (Display *),
  • or any other graphics device depending on the system (MacOS, etc.)

This class declares or implements all required methods used in the SoGLGraphicDevice class. This class is not inherited from SoGLGraphicDevice but it is viewed and used as a peer in the OpenGL graphics device class.

SEE ALSO

SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfigCompare, SoGLGraphicConfigCompare, SoGraphicConfig, SoGraphicDevice, SoGLGraphicDevice. Returns the list of all the graphics modes supported by this OpenGL graphics device.

◆ getGraphicConfigTemplate()

virtual SoGLGraphicConfigTemplate getGraphicConfigTemplate ( SoGLGraphicConfig graphicConfig)
pure virtual

Returns a template according to the given graphics configuration.

◆ getSamplesParseTab()

virtual SoSamplesList & getSamplesParseTab ( )
virtual

Returns the list of all the available number of samples supported by this OpenGL graphics device.

◆ getType()

virtual SoGLGraphicDevice::DeviceType getType ( )
pure virtual

Returns the type of device.

Definition at line 83 of file SoMacGLGraphicDevice.h.