SoGraphicConfigTemplate Class Reference
[General]

VSG extension Abstract base class for graphics configuration template classes. More...

#include <Inventor/components/SoGraphicConfigTemplate.h>

Inheritance diagram for SoGraphicConfigTemplate:
SoGLGraphicConfigTemplate

List of all members.

Public Types

enum  Preference {
  REQUIRED = INT_MAX,
  PREFERRED = 16,
  FORBIDDEN = 0
}

Public Member Functions

 SoGraphicConfigTemplate ()
virtual ~SoGraphicConfigTemplate ()
virtual SbBool isGraphicsConfigSupported (SoGraphicConfig &graphicConfig) const =0

Detailed Description

VSG extension Abstract base class for graphics configuration template classes.

This abstract class allows you to specify a set of graphics preferences. It can be used to choose a particular configuration of a graphics device. A graphics configuration matches this template only if

SEE ALSO

SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfig, SoGLGraphicConfig, SoGLGraphicDevice.

See related examples:

GraphicConfig


Member Enumeration Documentation

Priority requirement.

Enumerator:
REQUIRED 

Means crucial and absolutely required.

PREFERRED 

Means "better if available" but not crucial.

Any other positive int value correspond to a priority level (the max priority correspond to REQUIRED).

FORBIDDEN 

Means absolutely forbidden.


Constructor & Destructor Documentation

SoGraphicConfigTemplate::SoGraphicConfigTemplate (  ) 

Constructor.

virtual SoGraphicConfigTemplate::~SoGraphicConfigTemplate (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual SbBool SoGraphicConfigTemplate::isGraphicsConfigSupported ( SoGraphicConfig graphicConfig  )  const [pure virtual]

Indicates if the graphics configuration graphicConfig fits this template.

Returns TRUE if all REQUIRED fields in the template are active in graphicConfig and if all FORBIDDEN fields in the template are inactive in graphicConfig.

Implemented in SoGLGraphicConfigTemplate.


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/