Open Inventor Reference
SoTextureCoordinateEnvironment Class Reference

Node that specifies texture coordinates by projection from a environment. More...

#include <Inventor/nodes/SoTextureCoordinateEnvironment.h>

Inheritance diagram for SoTextureCoordinateEnvironment:
SoTextureCoordinateFunction SoNode SoFieldContainer SoBase

List of all members.

Public Member Functions

 SoTextureCoordinateEnvironment ()
 Creates a texture function node with default settings.
void GLRender (SoGLRenderAction *action)
 These virtual functions implement all of the actions for nodes, Most of the default implementations do nothing.
void pick (SoPickAction *action)
void callback (SoCallbackAction *action)
void doAction (SoAction *action)
 This method performs the "typical" operation of a node for any action.

Static Public Member Functions

static void initClass ()
 Initializes base node class.

Protected Member Functions

virtual ~SoTextureCoordinateEnvironment ()

Detailed Description

This node creates texture coordinates by projecting points on an object's surface to the interior of a surrounding sphere, along the reflection across the surface normal of the vector from the camera point to the surface. If the current texture image represents a spherical reflection map of the current surrounding environment, subsequent shapes will appear to reflect that environment.

File Format/Default
TextureCoordinateEnvironment {
}
Action Behavior
SoGLRenderAction, SoCallbackAction, SoRayPickAction
Sets the current texture function in the state.
See Also
SoTexture2, SoTexture2Transform, SoTextureCoordinateDefault, SoTextureCoordinatePlane

Definition at line 94 of file SoTextureCoordinateEnvironment.h.


Constructor & Destructor Documentation

SoTextureCoordinateEnvironment::SoTextureCoordinateEnvironment ( )
virtual SoTextureCoordinateEnvironment::~SoTextureCoordinateEnvironment ( ) [protected, virtual]

Member Function Documentation

void SoTextureCoordinateEnvironment::callback ( SoCallbackAction action) [virtual]

Reimplemented from SoNode.

void SoTextureCoordinateEnvironment::doAction ( SoAction action) [virtual]

The default implementation does nothing.

Reimplemented from SoNode.

void SoTextureCoordinateEnvironment::GLRender ( SoGLRenderAction action) [virtual]

Reimplemented from SoNode.

static void SoTextureCoordinateEnvironment::initClass ( ) [static]

Reimplemented from SoTextureCoordinateFunction.

void SoTextureCoordinateEnvironment::pick ( SoPickAction action) [virtual]

Reimplemented from SoNode.


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