SoBackground Class Reference
[Backgrounds]

Abstract base class for background nodes. More...

#include <Inventor/nodes/SoBackground.h>

Inheritance diagram for SoBackground:
SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject SoGradientBackground SoImageBackground

List of all members.

Public Member Functions

virtual SoType getTypeId () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

Abstract base class for background nodes.

This is the abstract base class for all background nodes.

Note: Some background nodes can set Alpha values (as well as R, G and B values) in an RGBA framebuffer, but they cannot make Open Inventor’s rendering window transparent with respect to other windows on the desktop. This is a window system specific feature and can only be handled through the window system API. Thus, modifying the Alpha value of the background won't have any visible effect on the rendered image. However, setting an Alpha value can be useful when exporting to an image format that supports transparency (like PNG for example). In this case the Alpha value of the background will be exported and can be used to perform some kind of compositing inside an image manipulation program.

SEE ALSO

SoGradientBackground, SoImageBackground


Member Function Documentation

static SoType SoBackground::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoNode.

Reimplemented in SoGradientBackground, and SoImageBackground.

virtual SoType SoBackground::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from SoNode.

Reimplemented in SoGradientBackground, and SoImageBackground.


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

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