24#ifndef _SO_IMAGE_BACKGROUND_H_
25#define _SO_IMAGE_BACKGROUND_H_
27#include <Inventor/fields/SoSFFilePathString.h>
28#include <Inventor/fields/SoSFEnum.h>
29#include <Inventor/fields/SoSFImage.h>
30#include <Inventor/SbString.h>
32#include <Inventor/nodes/SoBackground.h>
38#pragma warning( push )
39#pragma warning(disable:4251)
194 static void initClass();
195 static void exitClass();
198 virtual void notify( SoNotList *list );
213 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
216 void commonConstructor();
220#pragma warning( pop )
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Class encapsulat...
Abstract base class for background nodes.
Sensor class that can be attached to Open Inventor fields.
Renders a scene graph using Open Inventor's Render Engine.
Style
Image background style.
@ CENTER
Image is rendered actual size, centered in the window (image aspect ratio is preserved but image ma...
@ TILE
Image is tiled to fill window starting from lower left corner (image aspect ratio is preserved).
@ STRETCH
Image is stretched to exactly fill the viewport in both directions (image aspect ratio is not pres...
@ UPPER_RIGHT
Image is rendered actual size in upper right corner (image aspect ratio is preserved but image may ...
@ LOWER_RIGHT
Image is rendered actual size in lower right corner (image aspect ratio is preserved but image may ...
@ LOWER_LEFT
Image is rendered actual size in lower left corner (image aspect ratio is preserved but image may b...
@ UPPER_LEFT
Image is rendered actual size in upper left corner (image aspect ratio is preserved but image may b...
@ NONE
No image is rendered.
@ CROP
Image is centered and stretched to exactly fill the longer dimension of the viewport (width or height...
SoSFFilePathString filename
Names file from which to read texture image.
SoImageBackground()
Creates a background image node with default settings.
SoSFEnum style
Specifies how the image will be mapped onto the window.
SoSFImage image
Contains an in-memory representation of the texture map.
Field containing an enumerated value.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Field containing...
Field containing a 2D image.