SoTextureCoordinateCube.3coin2

Langue: en

Version: 380793 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoTextureCoordinateCube -

The SoTextureCoordinateCube class autogenerates cubemapped texture coordinated for shapes.

The cube used for reference when mapping is the boundingbox for the shape.

SYNOPSIS


#include <include/Inventor/nodes/SoTextureCoordinateCube.h>

Inherits SoNode.

Public Member Functions


SoTextureCoordinateCube (void)

virtual void doAction (SoAction *action)

virtual void GLRender (SoGLRenderAction *action)

virtual void callback (SoCallbackAction *action)

virtual void pick (SoPickAction *action)

Static Public Member Functions


static void initClass (void)

Protected Member Functions


virtual ~SoTextureCoordinateCube ()

Protected Attributes


class SoTextureCoordinateCubeP * pimpl

Friends


class SoTextureCoordinateCubeP

Detailed Description

The SoTextureCoordinateCube class autogenerates cubemapped texture coordinated for shapes.

The cube used for reference when mapping is the boundingbox for the shape.

FILE FORMAT/DEFAULTS:

     TextureCoordinateCube {
     }
 
 

Since:

Coin 2.3

Constructor & Destructor Documentation

SoTextureCoordinateCube::SoTextureCoordinateCube (void)Constructor.

SoTextureCoordinateCube::~SoTextureCoordinateCube () [protected, virtual]Destructor.

Member Function Documentation

void SoTextureCoordinateCube::initClass (void) [static]Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.

Reimplemented from SoNode.

void SoTextureCoordinateCube::doAction (SoAction * action) [virtual]This function performs the typical operation of a node for any action.

Reimplemented from SoNode.

Referenced by callback(), and pick().

void SoTextureCoordinateCube::GLRender (SoGLRenderAction * action) [virtual]Action method for the SoGLRenderAction.

This is called during rendering traversals. Nodes influencing the rendering state in any way or who wants to throw geometry primitives at OpenGL overrides this method.

Reimplemented from SoNode.

References SoFieldContainer::get(), and SoAction::getState().

void SoTextureCoordinateCube::callback (SoCallbackAction * action) [virtual]Action method for SoCallbackAction.

Simply updates the state according to how the node behaves for the render action, so the application programmer can use the SoCallbackAction for extracting information about the scene graph.

Reimplemented from SoNode.

References doAction().

void SoTextureCoordinateCube::pick (SoPickAction * action) [virtual]Action method for SoPickAction.

Does common processing for SoPickAction action instances.

Reimplemented from SoNode.

References doAction().

Author

Generated automatically by Doxygen for Coin from the source code.