SoTextureCoordinateObject Class Reference
[Textures]

VSG extension Node that specifies texture coordinates which are a linear combination of the object coordinates of the vertex. More...

#include <Inventor/nodes/SoTextureCoordinateObject.h>

Inheritance diagram for SoTextureCoordinateObject:
SoTextureCoordinateFunction SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoTextureCoordinateObject ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFVec4f factorS
SoSFVec4f factorT
SoSFVec4f factorR
SoSFVec4f factorQ

Detailed Description

VSG extension Node that specifies texture coordinates which are a linear combination of the object coordinates of the vertex.

This node creates texture coordinates which are a linear combination of the object coordinates of the vertex (xo, yo, zo, wo). A factor can be defined for each component of the texture coordinate (S, T, R, and Q). The generated texture coordinate (S, R, T) at each vertex is:

S = factorS[0] * xo + factorS[1]* yo + factorS[2] * zo + factorS[3] * wo
R = factorR[0] * xo + factorR[1]* yo + factorR[2] * zo + factorR[3] * wo
T = factorT[0] * xo + factorT[1]* yo + factorT[2] * zo + factorT[3] * wo

wo usually equals 1.

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

SEE ALSO

SoTexture2, SoTexture2Transform, SoTextureCoordinateDefault, SoTextureCoordinatePlane, SoTextureCoordinateEnvironment.

See related examples:

MultiTexture


Constructor & Destructor Documentation

SoTextureCoordinateObject::SoTextureCoordinateObject (  ) 

Creates a texture function node with default settings.


Member Function Documentation

static SoType SoTextureCoordinateObject::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoTextureCoordinateFunction.

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

Returns the type identifier for this specific instance.

Reimplemented from SoTextureCoordinateFunction.


Member Data Documentation

Factor applied to generate the coordinate Q.

Factor applied to generate the coordinate R.

Factor applied to generate the coordinate S.

Factor applied to generate the coordinate T.


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/