SoGLGraphicConfig Class Reference
[General]

VSG extension Defines an OpenGL graphics configuration. More...

#include <Inventor/components/SoGLGraphicConfig.h>

Inheritance diagram for SoGLGraphicConfig:
SoGraphicConfig SoWinGLGraphicConfig SoXtGLGraphicConfig

List of all members.

Public Member Functions

virtual SbBool isDoubleBuffer () const =0
virtual SbBool isStereoBuffer () const =0
virtual SbBool isAccelerated () const =0
virtual void getDepth (int &bits) const =0
virtual void getRGBAColor (int &redBits, int &greenBits, int &blueBits, int &alphaBits) const =0
virtual void getFloatRGBAColor (int &redBits, int &greenBits, int &blueBits, int &alphaBits) const =0
virtual void getAccum (int &redBits, int &greenBits, int &blueBits, int &alphaBits) const =0
virtual void getStencil (int &bits) const =0
virtual SbBool getFullSceneAntialiasing (int &bits) const =0

Detailed Description

VSG extension Defines an OpenGL graphics configuration.

This class is an abstraction of an OpenGL graphics configuration (analogous to a pixel format on Microsoft Windows or a visual on X). It provides methods to inquire what the OpenGL graphics configuration supports: double/single buffer, raw stereo, OpenGL acceleration, Z-buffer depth size, RGBA/indexed colors and size, accumulation buffer and size, stencil buffer and size, etc.

SEE ALSO

SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfig, SoGraphicDevice, SoGLGraphicDevice.


Member Function Documentation

virtual void SoGLGraphicConfig::getAccum ( int &  redBits,
int &  greenBits,
int &  blueBits,
int &  alphaBits 
) const [pure virtual]

Returns the accumulation buffer depth (red, green, blue, and alpha).

If (red/green/blue/alpha)Bits are equal to 0, then the OpenGL graphics configuration has no accumulation buffer.

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.

virtual void SoGLGraphicConfig::getDepth ( int &  bits  )  const [pure virtual]

Returns the Z-buffer depth.

If 0 is returned, then there is no Z-buffer.

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.

virtual void SoGLGraphicConfig::getFloatRGBAColor ( int &  redBits,
int &  greenBits,
int &  blueBits,
int &  alphaBits 
) const [pure virtual]

Returns the floating point color depth (red, green, blue, and alpha).

If (red/green/blue/alpha)Bits are equal to 0, then the OpenGL graphics configuration does not support floating point RGBA mode.

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.

virtual SbBool SoGLGraphicConfig::getFullSceneAntialiasing ( int &  bits  )  const [pure virtual]
virtual void SoGLGraphicConfig::getRGBAColor ( int &  redBits,
int &  greenBits,
int &  blueBits,
int &  alphaBits 
) const [pure virtual]

Returns the color depth (red, green, blue, and alpha).

If (red/green/blue/alpha)Bits are equal to 0, then the OpenGL graphics configuration does not support RGBA mode.

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.

virtual void SoGLGraphicConfig::getStencil ( int &  bits  )  const [pure virtual]

Returns the stencil buffer depth.

If 0 is returned, then the OpenGL graphics configuration has no stencil buffer.

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.

virtual SbBool SoGLGraphicConfig::isAccelerated (  )  const [pure virtual]

Returns TRUE if the OpenGL graphics configuration is accelerated.

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.

virtual SbBool SoGLGraphicConfig::isDoubleBuffer (  )  const [pure virtual]

Returns TRUE if double-buffer mode is enabled, else FALSE (single-buffer mode).

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.

virtual SbBool SoGLGraphicConfig::isStereoBuffer (  )  const [pure virtual]

Returns TRUE if stereo buffer mode is supported.

Implemented in SoWinGLGraphicConfig, and SoXtGLGraphicConfig.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/