SoGraphicDevice Class Reference
[General]

VSG extension Abstract base class for graphics device classes. More...

#include <Inventor/components/SoGraphicDevice.h>

Inheritance diagram for SoGraphicDevice:
SoGLGraphicDevice

List of all members.

Public Member Functions

virtual ~SoGraphicDevice ()
virtual SoGraphicConfiggetBestGraphicConfig (const SoGraphicConfigTemplate &temp)=0
virtual size_t getNum ()=0
virtual SoGraphicConfiggetGraphicConfig (size_t n)=0
virtual size_t getNum (const SoGraphicConfigTemplate &temp)=0
virtual SoGraphicConfiggetGraphicConfig (const SoGraphicConfigTemplate &temp, size_t n)=0
virtual SoGraphicConfiggetDefaultGraphicConfig ()=0

Detailed Description

VSG extension Abstract base class for graphics device classes.

This class is an abstraction of a graphics device, e.g., a printer, a graphics window, or an offscreen buffer. It provides methods to query the supported graphics configurations and to sort them according to a graphics template.

SEE ALSO

SoGraphicConfigTemplate, SoGLGraphicConfigTemplate, SoGraphicConfigCompare, SoGLGraphicConfigCompare, SoGraphicConfig, SoGLGraphicConfig, SoGLGraphicDevice.


Constructor & Destructor Documentation

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

Destructor.


Member Function Documentation

virtual SoGraphicConfig* SoGraphicDevice::getBestGraphicConfig ( const SoGraphicConfigTemplate temp  )  [pure virtual]

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

The method used to choose the "best" graphics configuration is very simple: It selects a list of supported graphics configurations according to the user's specifications given by graphicConfigTemplate (see SoGraphicConfigTemplate::isGraphicsConfigSupported). The chosen graphics configuration is the graphics configuration of this list that has the maximum sum of the weight values of the PREFERRED available fields.

Implemented in SoGLGraphicDevice.

virtual SoGraphicConfig* SoGraphicDevice::getDefaultGraphicConfig (  )  [pure virtual]

Returns the default graphics configuration.

Implemented in SoGLGraphicDevice.

virtual SoGraphicConfig* SoGraphicDevice::getGraphicConfig ( const SoGraphicConfigTemplate temp,
size_t  n 
) [pure virtual]

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

Implemented in SoGLGraphicDevice.

virtual SoGraphicConfig* SoGraphicDevice::getGraphicConfig ( size_t  n  )  [pure virtual]

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

Implemented in SoGLGraphicDevice.

virtual size_t SoGraphicDevice::getNum ( const SoGraphicConfigTemplate temp  )  [pure virtual]

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

Implemented in SoGLGraphicDevice.

virtual size_t SoGraphicDevice::getNum (  )  [pure virtual]

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

Implemented in SoGLGraphicDevice.


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

Open Inventor Toolkit reference manual, generated on 12 Sep 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/