23#ifndef _SO_GL_GRAPHIC_DEVICE_H_
24#define _SO_GL_GRAPHIC_DEVICE_H_
31# include <Inventor/Win/SoWinDef.h>
34# include <Inventor/helpers/SbGlContextHelper.h>
36#include <Inventor/sys/port.h>
38#include <Inventor/components/SoGraphicDevice.h>
39#include <Inventor/components/SoGraphicConfig.h>
40#include <Inventor/components/SoGLGraphicConfig.h>
41#include <Inventor/components/SoGraphicConfigTemplate.h>
42#include <Inventor/components/SoGLGraphicConfigTemplate.h>
44class SoGLGraphicDevicePeer;
170 size_t getNumSamplesAvailable();
174 int getNumSamples(
size_t n);
175 int findSampleIndex(
int findInt);
179 SoGLGraphicDevicePeer *m_devicePeer;
180 void *m_sortedGraphicConfigs;
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Defines an OpenG...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Defines an OpenG...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Represents an Op...
SoGraphicConfig * getGraphicConfig(const SoGraphicConfigTemplate &temp, size_t n)
Returns the best nth of all the graphics configurations supported by this device and sorted according...
size_t getNum()
Returns the number of the graphics configurations supported by this device.
SbGlContextHelper::Display getDisplay()
Returns the Display corresponding to this graphics device.
SoGLGraphicDevice & operator()(SbGlContextHelper::Display display)
Allows you to cast Display to SoGLGraphicDevice.
virtual ~SoGLGraphicDevice()
Destructor.
SoGraphicConfig * getBestGraphicConfig(const SoGraphicConfigTemplate &temp)
Returns the best graphics configuration corresponding to the preferences in the specified template.
SoGLGraphicDevice(SbGlContextHelper::Display display, DeviceType dt=SoGLGraphicDevice::WINDOW)
Constructor.
size_t getNum(const SoGraphicConfigTemplate &temp)
Returns the number of the graphics configurations supported by this device and the given template.
SoGLGraphicConfigTemplate getGraphicConfigTemplate(SoGLGraphicConfig *graphicConfig)
Returns a template corresponding to the given graphics configuration.
SoGraphicConfig * getGraphicConfig(size_t n)
Returns the n-th of all the graphics configurations supported by this device.
SoGraphicConfig * getDefaultGraphicConfig()
Returns the best graphics configuration corresponding to a graphics template containing the default p...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...